View security context constraints in a namespace

You can view and check the security context constraints (SCC) permissions in a given namespace using the OpenShift CLI (oc).

Prerequisites
  • You have installed the OpenShift CLI (oc).

Procedure
  • To view the security context constraints in your namespace, run the following command:

    $ oc get --show-labels namespace <namespace>