show_blocks_on_attack – display a list of IP addresses blocked by scrubbing facilities during an attack
17 April 2024
ID 249395
show_blocks_on_attack(Auth, client_id, locale_id, attack_id)
Description: the method displays a list of IP addresses blocked by scrubbing facilities during an attack.
Input parameters:
client_id (int) – customer ID (integer from 1 to 4 294 967 295).
locale_id (int) – locale ID (10 for English, 77 for Russian).
attack_id (int) – attack ID (integer from 1 to 4 294 967 295).
Result:
A JSON notation string of the following structure:
{ client_id (int) – client ID (integer, from 1 to 4 294 967 295). resource_id (int) – resource ID. attack_id (int) – identifier of the attack. ips (list) – list of blocked IP addresses: [ { ip (str) – IP address country (str) – country name city (str) – city name asn (str) – AS number isp (str) – ISP name org (str) – organization name }, ... ] country_distribution (list) – distribution by country: [ { name (str) – country name value (int) – number of blocked IP addresses }, ... ] city_distribution (list) – distribution by city: [ { name (str) – city name value (int) – number of blocked IP addresses }, ... ] asn_distribution (list) – distribution by ASN: [ { name (str) – AS number value (int) – number of blocked IP addresses }, ... ] isp_distribution (list) – distribution by ISP: [ { name (str) – ISP name value (int) – number of blocked IP addresses }, ... ] org_distribution (list) – distribution by organization: [ { name (str) – organization name value (int) – number of blocked IP addresses }, ... ] } |