Policy > Security > Endpoint Protection > Rules

Read Endpoint rule

Read Endpoint rule This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX-T.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/domains/<domain-id>/endpoint-policies/<endpoint-policy-id>/endpoint-rules/<endpoint-rule-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/domains/gi_domain/endpoint-policies/map1/endpoint-rules/gi-entry-1

Successful Response:

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

Example Response:

{ "sequence_number": 10, "groups": [ "/infra/domains/gi_domain/groups/test_group" ], "service_profiles": [ "/infra/service-references/SR_1/service-profiles/SP_1" ], "resource_type": "EndpointRule", "id": "gi-entry-1", "display_name": "gi-entry-1", "path": "/infra/domains/gi_domain/endpoint-policies/map1/endpoint-rules/gi-entry-1", "relative_path": "gi-entry-1", "parent_path": "/infra/domains/gi_domain/endpoint-policies/map1", "marked_for_delete": false, "_create_user": "admin", "_create_time": 1542326971854, "_last_modified_user": "admin", "_last_modified_time": 1542829025115, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 2 }

Required Permissions:

read

Feature:

policy_gi

Additional Errors: