The "missing-metadata" rule seems to be an aggregate rule that is only triggered if there is more than one policy file to lint.
As we are currently looking into onboarding applications providing their own rego policies, we'd like to trigger this rule even if there is only one policy file to lint, so that we can establish "proper annotations" right from the start.
We therefore kindly ask to either change this rule to allow for "single rego policy files", or advice on how to achieve checking for missing-metadata without having to rely on the aggregate rule.
Thanks!
The "missing-metadata" rule seems to be an aggregate rule that is only triggered if there is more than one policy file to lint.
As we are currently looking into onboarding applications providing their own rego policies, we'd like to trigger this rule even if there is only one policy file to lint, so that we can establish "proper annotations" right from the start.
We therefore kindly ask to either change this rule to allow for "single rego policy files", or advice on how to achieve checking for missing-metadata without having to rely on the aggregate rule.
Thanks!