Custom rules
You can write any custom rule you wish, and then run them against your Kubernetes configurations to check for rule violations. The custom rule engine is based on JSON Schema.
Get started with custom rules by reading the following resources:
Also, for easily checking your custom rule logic, We have created an online YAML Schema validator.