k8wiz
Kyverno
Medium
Validation

What is the purpose of the 'audit' value for 'validationFailureAction' in a Kyverno policy?

Select your answer:

Show answer and explanation

Answer: To allow resources that violate the policy but report the violations

Explanation

When 'validationFailureAction' is set to 'audit', resources that violate the policy are still admitted to the cluster, but the violations are reported. This is useful for monitoring compliance without blocking operations.

Read more about Kyverno