show/selinux/status

Displays the current SE Linux configuration for this SLX-OS device.

Usage

<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1">
    <action xmlns="http://tail-f.com/ns/netconf/actions/1.0">
        <data>
            <show xmlns="urn:brocade.com:mgmt:brocade-common-def">
                <selinux xmlns="urn:brocade.com:mgmt:brocade-sec-services">
                    <status/>
                </selinux>
            </show>
        </data>
        </action>
</rpc>
]]>]]> 

Parameters

status
Displays the SE Linux status for this SLX-OS device.

Response

The response received for this RPC call is

 <rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1">
    <data>
        <show xmlns='urn:brocade.com:mgmt:brocade-common-def'>
            <selinux xmlns='urn:brocade.com:mgmt:brocade-sec-services'>
                <status>
                    <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>
                </status>
            </selinux>
        </show>
    </data>
</rpc-reply>
]]>]]>