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": "nulla culpa minim",
"sourceNetwork": "ad non amet Ut",
"destinationNetwork": "in"
},
"conflictType": "id aliquip ad amet",
"conflictingRule": {
"id": "deserunt adipisicing",
"sourceNetwork": "elit ut cupidatat",
"destinationNetwork": "adipisicing deserunt cupidatat dolore aute"
}
},
{
"rule": {
"id": "in",
"sourceNetwork": "nisi ad commodo Lorem",
"destinationNetwork": "reprehenderit sit quis exercitation"
},
"conflictType": "dolore aute consectetur nisi",
"conflictingRule": {
"id": "tempor",
"sourceNetwork": "laborum commodo",
"destinationNetwork": "ipsum"
}
},
{
"rule": {
"id": "do adipisicing",
"sourceNetwork": "deserunt mollit velit sint",
"destinationNetwork": "tempor exercitation reprehenderit"
},
"conflictType": "velit anim fugiat",
"conflictingRule": {
"id": "veniam",
"sourceNetwork": "eu ex esse",
"destinationNetwork": "ea aute"
}
},
{
"rule": {
"id": "sunt",
"sourceNetwork": "laboris",
"destinationNetwork": "aliquip"
},
"conflictType": "enim mollit id exercitation sunt",
"conflictingRule": {
"id": "ipsum aute",
"sourceNetwork": "culpa aute exercitation pariatur",
"destinationNetwork": "enim nisi sed amet"
}
}
]
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"
}
}
}
}
}
}