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

Patch IDS security policy

Patch intrusion detection system security policy for a domain. This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX-T.

Request:

Method:
PATCH
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:
IdsSecurityPolicy+

Example Request:

PATCH https://<policy-mgr>/policy/api/v1/infra/domains/default/intrusion-service-policies/policy-test { "resource_type": "IdsSecurityPolicy", "description": "test-ids-security-policy", "display_name": "test-ids-security-policy", "sequence_number": 200, "rules":[ { "action": "DETECT", "ids_profiles": ["/infra/settings/firewall/security/intrusion-services/profiles/DefaultIDSProfile"], "disabled": true, "display_name": "Test-Rule", "logged": true, "direction": "OUT", "sequence_number": 100, "source_groups": ["/infra/domains/default/groups/Empty_Group"], "destination_groups": ["/infra/domains/default/groups/Empty_Group"], "scope": ["/infra/domains/default/groups/Empty_Group"] } ] }

Successful Response:

Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a

Required Permissions:

crud

Feature:

policy_dfw_ids_mps

Additional Errors: