Every Kubernetes manifest that is scanned by Datree is also validated before the policy check is preform. If the manifest is not valid, the policy check will not be calculated.
This step verifies that the file is a valid YAML file
This step verifies that the file is a valid Kubernetes file
This step verifies that the file is following your Kubernetes policy
A. Rule name - rules can be disabled from the centralized policy dashboard
B. Number of occurrences - how many times the rule failed on this specific file
C. Detailed failure occurrences - which configuration within your file prompted the failure
D. Message on fail - text can be changed from the centralized policy dashboard
A summary of all the validations and policy checks that ran on this execution.
If when of the validations (YAML and Kubernetes schema) OR the policy check fails - the CLI will return exit code 1, else (all validations and policy check is passing) - exit code 0.