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": "mollit et Duis dolor",
"sourceNetwork": "exercitation aliqua",
"destinationNetwork": "adipisicing ut laborum"
},
"conflictType": "ut aute cupidatat",
"conflictingRule": {
"id": "laboris nostrud",
"sourceNetwork": "laboris enim ea",
"destinationNetwork": "ipsum consequat consectetur enim nisi"
}
},
{
"rule": {
"id": "eiusmod qui ex non",
"sourceNetwork": "culpa qui eiusmod sit",
"destinationNetwork": "labore nulla"
},
"conflictType": "laboris ut",
"conflictingRule": {
"id": "tempor velit proident",
"sourceNetwork": "veniam sed ad exercitation",
"destinationNetwork": "tempor Excepteur"
}
},
{
"rule": {
"id": "culpa",
"sourceNetwork": "elit incididunt voluptate deserunt aliqua",
"destinationNetwork": "aute ut fugiat tempor ut"
},
"conflictType": "culpa reprehenderit aliquip eu ut",
"conflictingRule": {
"id": "qui Excepteur non",
"sourceNetwork": "aute adipisicing pariatur",
"destinationNetwork": "in eiusmod consectetur dolore"
}
}
]
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"
}
}
}
}
}
}