Skip to main content

IpContext

The IP context specifies allowed or denied IP address ranges or lists. Risk is applied to the authentication if the current IP address does not match an allowed IP address range/list or does match a denied IP address range/list.

Properties

NameTypeDescriptionNotes
allowed_ip_liststrThe UUID of an existing IP List that defines IPs that can access the resource. Risk applies if the given IP address is not found in the IP List. If specified, the allowed IP List takes precedence over the denied IP List.[optional]
allowed_ip_rangesList[str]List of IP Address ranges (in CIDR notation) that are allowed access the resource. Risk applies if the given IP address is not in one of the allowed IP ranges. If specified, the allowed IP values take precedence over the denied IP values.[optional]
denied_ip_liststrThe UUID of an existing IP List that defines IPs that cannot access the resource. Risk applies if the given IP address is found in the IP List. The denied IP List is ignored if an allowed IP List is specified.[optional]
denied_ip_rangesList[str]List of IP Address ranges (in CIDR notation) that cannot access the resource. Risk applies if the given IP address is in one of the denied IP ranges. The denied IP values are ignored if allowed IP ranges are specified.[optional]
deny_accessboolIf true, the resource rule evaluating the context will return Access Denied.
risk_pointintThe number of risk points that apply if this context applies.
typestrThe type of IpContext. If not specified, this value defaults to CUSTOM.[optional]

Example