Policy > Security > East West Security > Distributed Firewall > Communication Maps

Revise the positioning of communication entry (Deprecated)

This is used to re-order a communictation entry within a communication map.
This API is deprecated. Please use the following API instead.
POST /infra/domains/domain-id/security-policies/security-policy-id/rules/rule-id?action=revise
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>/communication-maps/<communication-map-id>/communication-entries/<communication-entry-id>?action=revise
Request Headers:
n/a
Query Parameters:
CommunicationEntryInsertParameters+
Request Body:
CommunicationEntry+

Example Request:

POST https://<policy-mgr>/policy/api/v1/infra/domains/vmc/communication-maps/emergency-section/communication-entries/ce-1?action=revise&anchor_path=/infra/domains/vmc/communication-maps/emergency-section/communication-entries/ce-2&operation=insert_after { "description": " comm entry", "display_name": "ce-1", "path": "/infra/domains/vmc_domain/communication-maps/emergency-section/communication-entries/ce-1", "parent_path": "/infra/domains/vmc_domain/communication-maps/emergency-section", "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": [ "ANY" ], "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:
CommunicationEntry+

Example Response:

{ "resource_type": "CommunicationEntry", "description": " comm entry", "id": "ce-1", "display_name": "ce-1", "path": "/infra/domains/vmc/communication-maps/application-section-1/communication-entries/ce-1", "parent_path": "/infra/domains/vmc/communication-maps/application-section-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": [ "ANY" ], "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_dfw

Additional Errors: