Policy > Security > North South Security > Distributed IDS > Rules

Revise the positioning of IDS gateway rule (Experimental)

This is used to re-order a IDS gateway rule within a IDS gateway policy.

Request:

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

Example Request:

POST https://<policy-mgr>/policy/api/v1/infra/domains/vmc/intrusion-service-gateway-policies/cgw-1/rules/ce-1?action=revise&anchor_path=/infra/domains/vmc/intrusion-service-gateway-policies/cgw-1/rules/ce-2&operation=insert_after { "description": " ids rule", "display_name": "ce-1", "path": "/infra/domains/vmc_domain/intrusion-service-gateway-policies/cgw-1/rules/ce-1", "parent_path": "/infra/domains/vmc_domain/intrusion-service-gateway-policies/cgw-1", "relative_path": "ce-1", "sequence_number": 1, "source_groups": [ "/infra/domains/vmc_domain/groups/webgroup" ], "logged": false, "destination_groups": [ "/infra/domains/vmc_domain/groups/appgroup" ], "scope": [ "/infra/tier-1s/cgw" ], "action": "ALLOW", "services": [ "/infra/services/AD_Server", "/infra/services/HTTP", "/infra/services/CIM-HTTP" ], "_revision": 1 }

Successful Response:

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

Example Response:

{ "resource_type": "IdsRule", "description": " ids rule", "id": "ce-1", "display_name": "ce-1", "path": "/infra/domains/vmc/intrusion-service-gateway-policies/cgw-1/rules/ce-1", "parent_path": "/infra/domains/vmc/intrusion-service-gateway-policies/cgw-1", "relative_path": "ce-1", "sequence_number": 1, "source_groups": [ "/infra/domains/vmc/groups/dbgroup" ], "logged": false, "destination_groups": [ "/infra/domains/vmc/groups/appgroup" ], "scope": [ "/infra/tier-1s/cgw" ], "action": "ALLOW", "services": [ "/infra/services/HTTP", "/infra/services/CIM-HTTP" ], "_create_user": "admin", "_create_time": 1517317382942, "_last_modified_user": "admin", "_last_modified_time": 1517317382962, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 1 }

Required Permissions:

crud

Feature:

policy_gfw_ids_mps

Additional Errors: