How to exclude all the namespaces from configure-network-policies-namespaces rule without disabling it?

Solution Verified - Updated -

Issue

  • Is it possible to exclude all the namespaces from the ocp4-cis-configure-network-policies-namespaces rule without disabling the rule itself?
  • Is it possible to pass ocp4-cis-configure-network-policies-namespaces rule without whitelisting the namespaces?

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4
  • Compliance Operator

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content