Get Compute Related Ids Rules
Returns IDS (Intrusion Detection Service) rules organized by parent IDS security policies for the specified VM. Each result entry is an IDS security policy containing its list of associated rules.
Notes:
start_timeis required. Eithersite_idorsite_idsmust also be provided.filtersaccepts up to 300 filter entries. Supported filter keys:IDS_RELATED_RULE_RULE_ID,IDS_RELATED_RULE_RULE_NAME.- Obtain
compute-idfrom the topology graph returned byPOST /visualization/topology/compute-flow-topology, where each node represents a compute. - To see the DFW rules associated with this VM, use
POST /visualization/security-analysis/computes/{compute-id}/related-dfw-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 ComputeIdIdsRules with restricted filter keys
{
"start_time": 0,
"site_id": "17f7c7e5-7f8c-490a-97e9-b9c9193c45e1",
"page_size": 10000,
"filters": []
}
success
{
"offset": 0,
"number_of_results": 2,
"total_result_count": 2,
"total_pages": 1,
"time_interval": {
"start_time": 0,
"end_time": 1782177875051
},
"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_9f8399af-bd68-35f0-8f77-5fcff3c281b7",
"related_rules": [
{
"policy_path": "/infra/domains/default/intrusion-service-policies/SSP_Env_IDPS_9f8399af-bd68-35f0-8f77-5fcff3c281b7/rules/SSP_Env_IDPS_Egress_Rule"
},
{
"policy_path": "/infra/domains/default/intrusion-service-policies/SSP_Env_IDPS_9f8399af-bd68-35f0-8f77-5fcff3c281b7/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/computes/{compute-id}/related-ids-rules