Summary
Get redundant rules
Description
Get a list of the redundant rules in a policy.
Route
GET /policy-manager/policies/:policyId/redundantRules
Roles
admin
other
readonly
apiread
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
policyId |
string |
yes |
id of the policy to check |
Copied to Clipboard
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
policyAnalysisFindings |
object |
Properties of the ip string |
Copied to Clipboard
[
{
"rule": {
"id": "cupidatat aute voluptate",
"sourceNetwork": "reprehenderit ullamco",
"destinationNetwork": "in enim ipsum et anim"
},
"conflictType": "eiusmod ad tempor Lorem in",
"conflictingRule": {
"id": "Duis culpa",
"sourceNetwork": "commodo",
"destinationNetwork": "velit Excepteur sunt ut proident"
}
},
{
"rule": {
"id": "qui adipisicing nisi",
"sourceNetwork": "id dolor sed proident et",
"destinationNetwork": "dolore"
},
"conflictType": "dolore",
"conflictingRule": {
"id": "ut",
"sourceNetwork": "adipisicing dolor",
"destinationNetwork": "nostrud quis"
}
}
]
Copied to Clipboard
{
"title": "policyAnalysisFindings",
"type": "array",
"items": {
"type": "object",
"properties": {
"rule": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"sourceNetwork": {
"type": "string"
},
"destinationNetwork": {
"type": "string"
}
}
},
"conflictType": {
"type": "string",
"example": "REDUNDANT"
},
"conflictingRule": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"sourceNetwork": {
"type": "string"
},
"destinationNetwork": {
"type": "string"
}
}
}
}
}
}