Description: The GET method in Threshold API fetches the threshold values for attack types.

Method: GET

URL for an API: /v4/abs/attack/threshold?api=<api_name>

URL for across API: /v4/abs/attack/threshold?id=<type_id> . The API name is not specified in the URL for fetching the threshold value. Type ID is the attack ID

Header Value
Access Key x-abs-ak <string>
Secret Key x-abs-sk <string>

Sample Response for an API

{
    "company": "ping identity",
    "name": "api_threshold",
    "description": "This report contains threshold settings for all the across API Attack IDs",
    "thresholds": [
         {
            "id": 1,
            "type": "data_exfiltration_attack",
            "user": {
                "A": {
                    "tn": "18",
                    "tx": "20"
                },
                "B": {
                    "tn": "18",
                    "tx": "20"
                }
            },
            "system": {
                "A": {
                    "tn": "22",
                    "tx": "24"
                },
                "B": {
                    "tn": "4",
                    "tx": "6"
                },
                "C": {
                    "tn": "2",
                    "tx": "4"
                }
            }
        },
        {
            "id": 2,
            "type": "single_client_login_attack",
            "system": {
                "A": {
                    "tn": "5",
                    "tx": "7"
                },
                "B": {
                    "tn": "5",
                    "tx": "7"
                }
            }
        },
}

Sample Response for across API

{
    "company": "ping identity",
    "name": "api_threshold",
    "description": "This report contains threshold settings for the specified API",
    "api_name": "access_token",
    "threshold": [
        {
            "type": "extended_stolen_access_token",
            "system": {
                "A": {
                    "tn": "2",
                    "tx": "na"
                },
                "B": {
                    "tn": "1",
                    "tx": "na"
                },
                "C": {
                    "tn": "1",
                    "tx": "na"
                }
            }
        }
    ]
}