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

Revise the positioning of IDS security policies

This is used to set a precedence of a security policy w.r.t others.
This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX-T.

Request:

Method:
POST
URI Path(s):
/policy/api/v1/infra/domains/<domain-id>/intrusion-service-policies/<policy-id>?action=revise
Request Headers:
n/a
Query Parameters:
SecurityPolicyInsertParameters+
Request Body:
IdsSecurityPolicy+

Example Request:

POST https://<policy-mgr>/policy/api/v1/infra/domains/default/intrusion-service-policies/sp12?action=revise&anchor_path=/infra/domains/default/intrusion-service-policies/sp14&operation=insert_before { "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": 5100, "internal_sequence_number": 5100, "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": 1582713848556, "_protection": "NOT_PROTECTED", "_revision": 12 }

Successful Response:

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

Example Response:

{ "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 }

Required Permissions:

crud

Feature:

policy_dfw_ids_mps

Additional Errors: