Skip to content

Can a single rule chain multiple conditions in its when condition? #222

Answered by niallnsec
nagarajtrivedi asked this question in Q&A
Discussion options

You must be logged in to vote

You can use the local OR operator || to validate multiple different conditions in the when condition of a single rule. For example:

when D1 == "value1" || D1 == "value2" || D1 == "value3" ....

Replies: 1 comment 1 reply

Comment options

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

Answer selected by niallnsec
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