show_resource_ip_status – get the status of the IP address on the specific Protected resource at the current time.

April 17, 2024

ID 206510

show_resource_ip_status(Auth, client_id, resource_id, ip)

Description: the method displays the status of the IP address on the specific Protected resource at the current time.

Input parameters:

client_id (int) – customer ID (integer from 1 to 4 294 967 295).

resource_id (int) – Protected resource ID (integer from 1 to 4 294 967 295).

ip (str) – IP address (from 0.0.0.0 to 255.255.255.255).

Output parameters:

ip_status (int) – IP address status (0 – normal, 1 – in white list, 2 – in black list, 3 – blocked).

Note:

The status is determined at the moment when the method is called.

The following statuses are possible:

normal – no special processing is required for the IP address.

in allowlist – IP address is on the static allowlist.

in denylist – IP address is on the static denylist.

blocked – IP address is blocked by the System based on statistical or behavioral criteria.

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.