Create custom policies in RHACS

Solution Verified - Updated -

Issue

  • How to create custom policy in RHACS for better enforcement similar to follows:
    • Reject if liveness/readiness probe is not configured.
    • Reject if replicaset is less than and equal to two and not on the exception list.
    • Enforce naming conventions for images.
    • Ensure that images are from specific registries.
    • Blocking deployments whose image end in a number or do not meet a specified pattern etc.

Environment

  • Red Hat Advanced Cluster Security 4

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