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

List IDS security policies

List intrusion detection system security policies.
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
Request Headers:
n/a
Query Parameters:
IdsSecurityPolicyListRequestParameters+
Request Body:
n/a

Example Request:

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

Successful Response:

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

Example Response:

{ "results": [ { "resource_type": "IdsSecurityPolicy", "id": "sp12", "display_name": "test-ids-security-policy", "description": "test-ids-security-policy", "path": "/infra/domains/default/intrusion-service-policies/sp12", "relative_path": "sp12", "parent_path": "/infra/domains/default", "unique_id": "a3aaa996-2c03-482a-af44-06b2c7ec4937", "marked_for_delete": false, "overridden": false, "sequence_number": 2500, "internal_sequence_number": 2500, "stateful": true, "locked": false, "lock_modified_time": 0, "is_default": false, "_system_owned": false, "_create_user": "admin", "_create_time": 1582711475948, "_last_modified_user": "admin", "_last_modified_time": 1582714047068, "_protection": "NOT_PROTECTED", "_revision": 14 }, { "resource_type": "IdsSecurityPolicy", "id": "sp16", "display_name": "test-ids-security-policy", "description": "test-ids-security-policy", "path": "/infra/domains/default/intrusion-service-policies/sp16", "relative_path": "sp16", "parent_path": "/infra/domains/default", "unique_id": "445aaefb-6d0a-4e19-bd62-f56c1e0870e1", "marked_for_delete": false, "overridden": false, "sequence_number": 5000, "internal_sequence_number": 5000, "stateful": true, "locked": false, "lock_modified_time": 0, "is_default": false, "_system_owned": false, "_create_user": "admin", "_create_time": 1582713996647, "_last_modified_user": "admin", "_last_modified_time": 1582714046874, "_protection": "NOT_PROTECTED", "_revision": 1 }, { "resource_type": "IdsSecurityPolicy", "id": "sp17", "display_name": "test-ids-security-policy", "description": "test-ids-security-policy", "path": "/infra/domains/default/intrusion-service-policies/sp17", "relative_path": "sp17", "parent_path": "/infra/domains/default", "unique_id": "adf57370-853e-4db8-b248-393d7fb4e88e", "marked_for_delete": false, "overridden": false, "sequence_number": 10000, "internal_sequence_number": 10000, "stateful": true, "locked": false, "lock_modified_time": 0, "is_default": false, "_system_owned": false, "_create_user": "admin", "_create_time": 1582714000481, "_last_modified_user": "admin", "_last_modified_time": 1582714046893, "_protection": "NOT_PROTECTED", "_revision": 1 }, { "resource_type": "IdsSecurityPolicy", "id": "sp15", "display_name": "test-ids-security-policy", "description": "test-ids-security-policy", "path": "/infra/domains/default/intrusion-service-policies/sp15", "relative_path": "sp15", "parent_path": "/infra/domains/default", "unique_id": "c83df674-3879-4ef7-8b79-d562f14ff2ef", "marked_for_delete": false, "overridden": false, "sequence_number": 15000, "internal_sequence_number": 15000, "stateful": true, "locked": false, "lock_modified_time": 0, "is_default": false, "_system_owned": false, "_create_user": "admin", "_create_time": 1582713987733, "_last_modified_user": "admin", "_last_modified_time": 1582714046919, "_protection": "NOT_PROTECTED", "_revision": 1 }, { "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": "85816222-5cee-4135-b524-377bd00f4e70", "marked_for_delete": false, "overridden": false, "sequence_number": 20000, "internal_sequence_number": 20000, "stateful": true, "locked": false, "lock_modified_time": 0, "is_default": false, "_system_owned": false, "_create_user": "admin", "_create_time": 1582711483215, "_last_modified_user": "admin", "_last_modified_time": 1582714046963, "_protection": "NOT_PROTECTED", "_revision": 14 }, { "resource_type": "IdsSecurityPolicy", "id": "sp14", "display_name": "test-ids-security-policy", "description": "test-ids-security-policy", "path": "/infra/domains/default/intrusion-service-policies/sp14", "relative_path": "sp14", "parent_path": "/infra/domains/default", "unique_id": "17d3909c-d8cd-4809-94e8-1f6215496dd7", "marked_for_delete": false, "overridden": false, "sequence_number": 25000, "internal_sequence_number": 25000, "stateful": true, "locked": false, "lock_modified_time": 0, "is_default": false, "_system_owned": false, "_create_user": "admin", "_create_time": 1582711487000, "_last_modified_user": "admin", "_last_modified_time": 1582714046987, "_protection": "NOT_PROTECTED", "_revision": 10 } ], "result_count": 6, "sort_by": "sequence_number", "sort_ascending": true }

Required Permissions:

read

Feature:

policy_dfw_ids_mps

Additional Errors: