Policy > Security > East West Security > Distributed IDS > Rules

Get IDS rule.

Read intrusion detection rule
This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX-T.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/domains/<domain-id>/intrusion-service-policies/<policy-id>/rules/<rule-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/domains/default/intrusion-service-policies/sp12/rules/Test-Rule14

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
IdsRule+

Example Response:

{ "action": "DETECT", "ids_profiles": [ "/infra/settings/firewall/security/intrusion-services/profiles/DefaultIDSProfile" ], "resource_type": "IdsRule", "id": "Test-Rule14", "display_name": "Test-Rule12", "path": "/infra/domains/default/intrusion-service-policies/sp12/rules/Test-Rule14", "relative_path": "Test-Rule14", "parent_path": "/infra/domains/default/intrusion-service-policies/sp12", "unique_id": "3054", "marked_for_delete": false, "overridden": false, "rule_id": 3054, "sequence_number": 150, "sources_excluded": false, "destinations_excluded": false, "source_groups": [ "ANY" ], "destination_groups": [ "ANY" ], "services": [ "ANY" ], "logged": true, "scope": [ "ANY" ], "disabled": true, "direction": "IN", "ip_protocol": "IPV4_IPV6", "is_default": false, "_system_owned": false, "_create_user": "admin", "_create_time": 1582798600676, "_last_modified_user": "admin", "_last_modified_time": 1582799077647, "_protection": "NOT_PROTECTED", "_revision": 5 }

Required Permissions:

read

Feature:

policy_dfw_ids_mps

Additional Errors: