show/selinux/status

Resource URIs

URI Description
<base_URI>/operations/show/selinux/status Retrieves the current SE Linux status.

Usage Guidelines

Only POST operation is supported.

Examples

Example

Rest URL - curl command
curl -v -X POST -u admin:password http://10.20.61.172/rest/operations/show/selinux/status
Example:
bash-4.2$ curl -v -X POST -u admin:password http://10.20.61.172/rest/operations/show/selinux/status

URI

http://host:80/rest/operations/show/selinux/status

<sestatus></sestatus>
 <output xmlns='urn:brocade.com:mgmt:brocade-sec-services'>
    <sestatus-output>
        SELinux status:             enabled
        SELinuxfs mount:            /sys/fs/selinux
        SELinux root directory:     /etc/selinux
        Loaded policy name:         mls
        Current mode:               permissive
        Mode from config file:      enforcing
        Policy MLS status:          enabled
        Policy deny_unknown status: allowed
        Memory protection checking: actual (secure)
        Max kernel policy version:  31
    </sestatus-output> 
</output>