System Administration >
Configuration
>
Fabric
>
Nodes
>
Hardening
>
Mandatory Access Control
Gets the enable status for Mandatory Access Control
Request:
Method:
GET
URI Path(s):
/api/v1/transport-nodes/{transport-node-id}/node/hardening-policy/mandatory-access-control
/api/v1/cluster/{cluster-node-id}/node/hardening-policy/mandatory-access-control
/api/v1/node/hardening-policy/mandatory-access-control
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a
Example Request:
GET https://<nsx-mgr>/api/v1/node/hardening-policy/mandatory-access-control
Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
MandatoryAccessControlProperties
+
MandatoryAccessControlProperties
(
schema
)
Name
Description
Type
Notes
_links
References related to this resource
The server will populate this field when returing the resource. Ignored on PUT and POST.
array of
ResourceLink
Readonly
_schema
Schema for this resource
string
Readonly
_self
Link to this resource
SelfResourceLink
Readonly
enabled
Enabled can be True/False
boolean
status
current status of Mandatory Access Control
string
Readonly
Enum: ENABLED, DISABLED, ENABLED_PENDING_REBOOT
Example Response:
{ "status": "ENABLED" }
Required Permissions:
read
Feature:
system_administration
Additional Errors:
301 Moved Permanently
307 Temporary Redirect
400 Bad Request
403 Forbidden
409 Conflict
412 Precondition Failed
500 Internal Server Error
503 Service Unavailable