You can enable or disable one or more than one attack type using ABS attackstatus REST API with the PUT method.
The AI engine keeps updating the thresholds in the background, even when you disable an attack ID. Calculating the thresholds in the background allows ABS to report attacks if you enable an attack ID in the future.
If you have disabled an attack while the AI engine is processing the log data, ABS may still report attacks for a few minutes. The attack IDs would be disabled when the next batch of access log files are processed. When you enable an attack from the disabled state, ABS takes a few minutes to report the API attacks.
URL: /v4/abs/attackstatus
Method: PUT
The following attack IDs cannot be disabled from ABS as these are real-time attacks reported by ASE:
- Attack ID 13: API DDoS Attack Type 2
- Attack ID 100: Decoy Attack. This attack ID can be disabled from ASE.
- Attack ID 101: Invalid API Activity. This attack ID can be disabled from ASE.
To enable or disable an attack ID:
-
Use the attackstatus REST API with the
GET method to fetch the current status of an attack
ID.
-
Use the attackstatus REST API with PUT
method to enable or disable the attack IDs.