You can group specific rules in custom templates to reuse them across Kubernetes hardening policies. Custom templates are a combination of built-in rules and custom rules. They are applicable when you create a policy.
Note: You configure the
Alert or
Block action in the policy, but not in the template. Thus, you can have the same rule in different policies with different applied actions.