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

Get IDS security policy.

Read intrusion detection system security policy.
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>
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/sp13

Successful Response:

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

Example Response:

{ "rules": [ { "action": "DETECT", "ids_profiles": [ "/infra/settings/firewall/security/intrusion-services/profiles/DefaultIDSProfile" ], "resource_type": "IdsRule", "id": "Test-Rule12", "display_name": "Test-Rule12", "path": "/infra/domains/default/intrusion-service-policies/sp13/rules/Test-Rule12", "relative_path": "Test-Rule12", "parent_path": "/infra/domains/default/intrusion-service-policies/sp13", "unique_id": "3051", "marked_for_delete": false, "overridden": false, "rule_id": 3051, "sequence_number": 100, "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": 1582797895387, "_last_modified_user": "admin", "_last_modified_time": 1582797895389, "_protection": "NOT_PROTECTED", "_revision": 0 } ], "resource_type": "IdsSecurityPolicy", "id": "sp13", "display_name": "test-ids-security-policy", "description": "test-ids-security-policy", "path": "/infra/domains/default/intrusion-service-policies/sp13", "relative_path": "sp13", "parent_path": "/infra/domains/default", "unique_id": "8b040bb8-1ea2-4eea-a53c-6485531350f8", "marked_for_delete": false, "overridden": false, "sequence_number": 15000, "internal_sequence_number": 15000, "stateful": true, "locked": false, "lock_modified_time": 0, "rule_count": 1, "is_default": false, "_system_owned": false, "_create_user": "admin", "_create_time": 1582797895381, "_last_modified_user": "admin", "_last_modified_time": 1582798506080, "_protection": "NOT_PROTECTED", "_revision": 8 }

Required Permissions:

read

Feature:

policy_dfw_ids_mps

Additional Errors: