List Recommended Rules
Get recommended firewall rules based on the flow data gathered by Operations for Networks. This API provides service to retrieve recommended rules based on flow traffic that is observed between two groups OR for a single group based on all the inbound and outboud traffic for that group. In case two groups are provided, both the groups should be of same type. Currently supported groups are Application, Tier, NSXSecurityGroup, EC2SecurityGroup.
Recommended Rules Request
{
"group_1": {
"entity": {
"entity_id": "string",
"entity_type": "VirtualMachine",
"entity_name": "string"
}
},
"group_2": {
"entity": {
"entity_id": "string",
"entity_type": "VirtualMachine",
"entity_name": "string"
}
},
"time_range": {
"start_time": 1597247025,
"end_time": 1597247999
},
"include_external": false
}
group_1
group_2
time_range
When True, includes ungrouped endpoints outside defined scope
Success
"RecommendedRules Object"
results
time_range
Bad Request
"ApiError Object"
code
message
details
Unauthorized
Internal Error
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/api/ni/micro-seg/recommended-rules