`prefer-some-in-iteration` no longer reporting violation as expected
anderseknert opened this issue · comments
Anders Eknert commented
Taking the example from the prefer-some-in-iteration rule doesn't seem to report the violation:
package policy
import rego.v1
engineering_roles := {"engineer", "dba", "developer"}
engineers contains employee if {
employee := data.employees[_]
employee.role in engineering_roles
}
❯ regal lint p.rego
1 file linted. No violations found.