Skip to content

Commit

Permalink
e2e: add violation for new rule in most_violations.rego
Browse files Browse the repository at this point in the history
Signed-off-by: Charlie Egan <[email protected]>
  • Loading branch information
charlieegan3 authored and anderseknert committed Feb 6, 2025
1 parent 546ae91 commit 17c58e3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions e2e/testdata/violations/most_violations.rego
Original file line number Diff line number Diff line change
Expand Up @@ -302,3 +302,9 @@ walk_no_path if {
walk(input, [path, value])
value == "violation"
}

non_loop_expression if {
some role in input.roles
endswith(user.email, "example.com")
role == "admin"
}

0 comments on commit 17c58e3

Please sign in to comment.