Get Compute Related Rules
Returns Distributed Firewall (DFW) rules organized by parent security policies for the specified VM. Each result entry is a security policy containing its list of related DFW rules.
Notes:
start_timeis required. Eithersite_idorsite_idsmust also be provided.- The system resolves all groups the VM belongs to, then returns all rules whose applied-to, source, or destination scope intersects with those groups, filtered by rule direction so that the VM appears on the expected side (source for outbound rules, destination for inbound rules).
filtersaccepts up to 300 filter entries.- Obtain
compute-idfrom the topology graph returned byPOST /visualization/topology/compute-flow-topology, where each node represents a compute. - To see the IDS rules associated with this VM, use
POST /visualization/threat-analysis/computes/{compute-id}/related-ids-rules. - To see the flow records for this VM, use
POST /visualization/flow-analysis/computes/{compute-id}/flow-details.
External ID of the target VM.
Wrapper request for ComputeIdRelatedDfwRules with restricted filter keys
{
"start_time": 0,
"site_id": "17f7c7e5-7f8c-490a-97e9-b9c9193c45e1",
"page_size": 10000
}
success
{
"offset": 0,
"number_of_results": 7,
"total_result_count": 7,
"total_pages": 1,
"time_interval": {
"start_time": 0,
"end_time": 1782864356692
},
"results": [
{
"site_id": "17f7c7e5-7f8c-490a-97e9-b9c9193c45e1",
"policy_path": "/infra/domains/default/security-policies/default-layer2-section",
"related_rules": [
{
"policy_path": "/infra/domains/default/security-policies/default-layer2-section/rules/default-layer2-rule"
}
]
},
{
"site_id": "17f7c7e5-7f8c-490a-97e9-b9c9193c45e1",
"policy_path": "/infra/domains/default/security-policies/default-malicious-ip-block-rules",
"related_rules": [
{
"policy_path": "/infra/domains/default/security-policies/default-malicious-ip-block-rules/rules/malicious-ip-at-destination-rule"
},
{
"policy_path": "/infra/domains/default/security-policies/default-malicious-ip-block-rules/rules/malicious-ip-at-source-rule"
}
]
},
{
"site_id": "17f7c7e5-7f8c-490a-97e9-b9c9193c45e1",
"policy_path": "/infra/domains/default/security-policies/SSP_Infra_Policy",
"related_rules": [
{
"policy_path": "/infra/domains/default/security-policies/SSP_Infra_Policy/rules/SSP_Infra_ICMP_Rule"
}
]
},
{
"site_id": "17f7c7e5-7f8c-490a-97e9-b9c9193c45e1",
"policy_path": "/infra/domains/default/security-policies/6ad09d2f-e53c-3d56-9bfe-06603ef466ea",
"related_rules": [
{
"policy_path": "/infra/domains/default/security-policies/6ad09d2f-e53c-3d56-9bfe-06603ef466ea/rules/ssp_env_intra_rule"
}
]
},
{
"site_id": "17f7c7e5-7f8c-490a-97e9-b9c9193c45e1",
"policy_path": "/infra/domains/default/security-policies/SSP_Env_Default_Policy",
"related_rules": [
{
"policy_path": "/infra/domains/default/security-policies/SSP_Env_Default_Policy/rules/ssp_env_default_rule"
}
]
},
{
"site_id": "17f7c7e5-7f8c-490a-97e9-b9c9193c45e1",
"policy_path": "/infra/domains/default/security-policies/New_Policy-hIz1tfPRwG",
"related_rules": [
{
"policy_path": "/infra/domains/default/security-policies/New_Policy-hIz1tfPRwG/rules/New_Rule"
}
]
},
{
"site_id": "17f7c7e5-7f8c-490a-97e9-b9c9193c45e1",
"policy_path": "/infra/domains/default/security-policies/default-layer3-section",
"related_rules": [
{
"policy_path": "/infra/domains/default/security-policies/default-layer3-section/rules/default_rule_NDP"
},
{
"policy_path": "/infra/domains/default/security-policies/default-layer3-section/rules/default_rule_DHCP"
},
{
"policy_path": "/infra/domains/default/security-policies/default-layer3-section/rules/default-layer3-rule"
}
]
}
]
}
Bad Request
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Unauthorized
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Forbidden
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Failed
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Required
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Too Many Requests
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Error
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/intelligence/visualization/security-analysis/computes/{compute-id}/related-dfw-rules