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

Patch IDS rule

Patch intrusion detection system rule. 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>/rules/<rule-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
IdsRule+

Example Request:

PATCH https://<policy-mgr>/policy/api/v1/infra/domains/default/intrusion-service-policies/sp1/rules/rule2 { "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: