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.
More medium Kyverno questions
- What is the purpose of the 'synchronize' field in a Kyverno generate rule?
- Which of the following is NOT a valid operation in a Kyverno mutate rule?
- What is the purpose of the 'policyReport' resource in Kyverno?
- Which of the following is a valid way to exclude system namespaces in a Kyverno policy?
- What is the purpose of the 'match.resources.selector' field in a Kyverno policy?
- What is the purpose of the 'kyverno.io/ignore' annotation?