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": "qui",
"sourceNetwork": "sed Ut",
"destinationNetwork": "mollit adipisicing irure"
},
"conflictType": "tempor ullamco officia anim amet",
"conflictingRule": {
"id": "ex exercitation sunt esse",
"sourceNetwork": "non minim",
"destinationNetwork": "enim eiusmod id Excepteur"
}
},
{
"rule": {
"id": "cupidatat",
"sourceNetwork": "dolore",
"destinationNetwork": "eu"
},
"conflictType": "non aliquip dolor minim",
"conflictingRule": {
"id": "enim culpa Excepteur dolor",
"sourceNetwork": "ullamco ea eu dolore",
"destinationNetwork": "ad laborum ut quis reprehenderit"
}
},
{
"rule": {
"id": "qui sed consequat veniam",
"sourceNetwork": "cupidatat quis",
"destinationNetwork": "sunt"
},
"conflictType": "Duis laboris ullamco laborum commodo",
"conflictingRule": {
"id": "labore sunt ad",
"sourceNetwork": "Excepteur reprehenderit Ut labore",
"destinationNetwork": "eu"
}
},
{
"rule": {
"id": "consectetur aute",
"sourceNetwork": "tempor dolor culpa",
"destinationNetwork": "reprehenderit officia ea commodo ut"
},
"conflictType": "enim amet",
"conflictingRule": {
"id": "ea dolor exercitation ut",
"sourceNetwork": "do est dolor",
"destinationNetwork": "labore anim"
}
}
]
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"
}
}
}
}
}
}