Skip to content

How does policy ordering work ? #9358

Answered by aureateflux
paulchabanon asked this question in Q&A
Discussion options

You must be logged in to vote

You've probably figured this out by now, but I wanted to reply to this because I found your post while I was trying to figure out a similar problem.

Your assumptions aren't that far off-- the two Policy Engine options change the behavior of the policy check. "Any" should execute the stage if any single bound, enabled policy matches, while "All" should execute the stage only if every bound, enabled policy matches.

The problem is that they're .. mislabeled. Currently (June 12, 2024), if you want the "any" behavior, you have to select "all," and vice versa.

Hope this helps!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@paulchabanon
Comment options

Answer selected by paulchabanon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants