Use Case 1: Use of Variables
Let us see an example, you want to identify the Security Groups that permit IPs other than the allowed IPs defined by your organization. You can define a new global variable named Exception that can have an Exception security group from your inventory consisting of specific IPs. So once you have defined that Exception variable, you do not have to add or delete IPs from the group at the node level.
1. Click to insert a new variable, and select Auto.
2. Provide a name (Exception) to the variable and add the group (Exception security group).
You have created a new global variable as an Exception.
If you want to make an exception for this specific group, you can use a filter node to include the new global variable Exception.
3. Click the pencil icon from Custom Node.
4. Click Insert node before and select Filter node from General Nodes.
5. Click the pencil icon from the Filter node.
6. Select Key as $GroupName from the list, the Operator as != and write Value as $wf.variable.Exception.
You are using the global variable defined in step 2.
Now the filter allows the assets defined in the Exception security group. Continue the rest of the procedure using the template.