Get Group Related Ids Rules
Returns IDS (Intrusion Detection Service) rules organized by parent IDS security policies for the specified NSX group. Each result entry is an IDS security policy containing its list of associated rules.
Notes:
start_timeis required. Eithersite_idorsite_idsmust also be provided.relationship_type: CONTAINS(default) returns IDS rules whose applied-to scope directly references the group.relationship_type: EFFECTIVE_MEMBERSreturns IDS rules affecting individual VMs within the group rather than the group directly.filtersaccepts up to 300 filter entries. Supported filter keys:IDS_RELATED_RULE_RULE_ID,IDS_RELATED_RULE_RULE_NAME.- Obtain
group-idfrom the group topology graph returned byPOST /visualization/topology/groups-flow-topology, where each node represents a group. - The
group-idis the NSX realization UUID of the group, not its policy path or display name. - To see DFW rules for this group, use
POST /visualization/security-analysis/groups/{group-id}/related-dfw-rules. - To see flow records for this group, use
POST /visualization/flow-analysis/groups/{group-id}/flow-details.
ID of the target group.
Wrapper request for GroupIdRelatedIdsRules with restricted filter keys
{
"start_time": 0,
"page_size": 10000,
"site_id": "17f7c7e5-7f8c-490a-97e9-b9c9193c45e1",
"filters": []
}
success
{
"offset": 0,
"number_of_results": 2,
"total_result_count": 2,
"total_pages": 1,
"time_interval": {
"start_time": 0,
"end_time": 1782178529589
},
"results": [
{
"site_id": "17f7c7e5-7f8c-490a-97e9-b9c9193c45e1",
"policy_path": "/infra/domains/default/intrusion-service-policies/mps",
"related_rules": [
{
"policy_path": "/infra/domains/default/intrusion-service-policies/mps/rules/New_Rule"
}
]
},
{
"site_id": "17f7c7e5-7f8c-490a-97e9-b9c9193c45e1",
"policy_path": "/infra/domains/default/intrusion-service-policies/SSP_Env_IDPS_0dad89c7-0401-335e-9f46-1d6a9465e578",
"related_rules": [
{
"policy_path": "/infra/domains/default/intrusion-service-policies/SSP_Env_IDPS_0dad89c7-0401-335e-9f46-1d6a9465e578/rules/SSP_Env_IDPS_Egress_Rule"
},
{
"policy_path": "/infra/domains/default/intrusion-service-policies/SSP_Env_IDPS_0dad89c7-0401-335e-9f46-1d6a9465e578/rules/SSP_Env_IDPS_Ingress_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/threat-analysis/groups/{group-id}/related-ids-rules