Example: Blocking a CIDR Range
You may have a set of IP ranges (IPv4 or IPv6) that you want to exclude from your environment. You can build a rule to block a CIDR range as follows:
-
Click (+) on the Rules page to create a new rule set.
-
Name the rule set and click Rules.
-
In the Expression box, add the
identifiers.ip.isInRange
identifier and enter the values that should be restricted. Choose the Outcome and Reason if the conditions of the rule are met. -
Click Evaluate, to verify the range. Enter a value inside and outside of the range to test the rule.
-
Save the rule set.
Updated 2 months ago