List Recommended Rules
Get recommended firewall rules based on the flow data gathered by vRealize Network Insight. 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_type": "Tier",
"entity_id": "10000:562:1904698621"
}
},
"group_2": {
"entity": {
"entity_type": "Tier",
"entity_id": "10000:562:1780351215"
}
}
}
When True, includes ungrouped endpoints outside defined scope
Success
{
"results": [
{
"sources": [
{
"entity_id": "string",
"entity_type": "string"
}
],
"destinations": [
{
"entity_id": "string",
"entity_type": "string"
}
],
"protocols": [
"string"
],
"port_ranges": [
{
"start": 0,
"end": 0
}
],
"action": "string"
}
],
"time_range": {
"start_time": 0,
"end_time": 0
}
}
Bad Request
{
"code": 0,
"message": "string",
"details": [
{
"code": 0,
"message": "string",
"target": [
"string"
]
}
]
}
code
message
Unauthorized
Internal Error