Create custom policies in RHACS
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.