# In a kyverno-test.yaml results entry, which field marks the result as coming from a CEL-based ValidatingPolicy?

Kyverno, Medium (Advanced), Testing. https://k8wiz.com/uquiz/in-a-kyverno-testyaml-results-entry-which-field-marks-the-result-as-coming-from-a-cel-based-validatingpolicy

- A. kind: ValidatingPolicy
- B. policyType: ValidatingPolicy
- C. isValidatingPolicy: true
- D. engine: cel

**Answer:** isValidatingPolicy: true

**Explanation:** Results default to classic Kyverno policies, which also need a rule name. For the newer policy types you set a flag such as isValidatingPolicy, isMutatingPolicy or isImageValidatingPolicy. The kind field in a result is the kind of the tested resource, such as Deployment, not the policy type.
