Follow

Info: How to successfully combine ANDS & ORS in the same notification rule

Applies To:

All versions of Director/Trust Protection Platform.

Summary:

Some users are having difficulties combining a "AND" plus a "OR" in the same notification rule. Director's (Venafi Trust Protection Platform) existing behavior is consistent with established order precedence rules—"Logical AND" is evaluated before "Logical OR". http://en.wikipedia.org/wiki/Order_of_operations#Programming_languages .

 

More Information:

Example: You want to be notified whenever a certificate in Team 1's or Team 2's policy is deleted and you received unexpected notifications because it would fire from any event logged for any object within Team 2's policy.

Incorrect way:

If [Event ID] matches [Admin UI - Object Deleted]
And [Component] contains [\VED\Policy\Team 1]
Or [Component] matches [\VED\Policy\Team 2]

Image_4.png

 

Correct way:

If [Event ID] matches [Admin UI - Object Deleted]
And [Component] contains [\VED\Policy\Team 1]
Or [Event ID] matches [Admin UI - Object Deleted]
And [Component] matches [\VED\Policy\Team 2]

Image_5.png

 

 

 

 

 

 

 

Was this article helpful?
1 out of 1 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk