Add in the Regal Linter for OPA Rego #69
Labels
enhancement
epic
A high-level objective issue encompassing multiple issues instead of a specific unit of work
Milestone
One of the OPA maintainers came back on the M365 side and did all of the work in a PR needed to make the OPA linter work for us. This epic is to make updates to our Rego code for all products to adhere to those OPA linter rules.
See Common Controls Rego for an example
contains
(https://www.openpolicyagent.org/docs/latest/policy-language/#generating-sets)some
iteration (https://docs.styra.com/regal/rules/style/prefer-some-in-iteration)or
list comprehensions totrue in Conditions
(Deprecation of any and all affects gatekeeper-library policies open-policy-agent/gatekeeper-library#225 (comment))(false in Conditions) == false
The text was updated successfully, but these errors were encountered: