Rules are the primary components of Kubernetes policies. Rules are applied on Kubernetes resources. You can use predefined rules or create custom ones.

  • Built-in rules are based on the Kubernetes security configuration. They are divided into categories and used in predefined templates.
  • Custom rules are user-defined rules for Kubernetes workloads or container images. If you update a custom rule, the change impacts all policies in which the rule is applied.