Wanguard icon

Wanguard

Interact with Wanguard DDoS Detection and Mitigation API

Actions160

Anomaly → Expire

AI-generated

Summary

Set the status of a specified anomaly to either 'Expired' or 'Finished'.

Inputs

  • Anomaly ID (required) — The ID of the anomaly to update.
  • Status (required) — The new status to set for the anomaly; must be either 'Expired' or 'Finished'.

Output shape

a single record reflecting the updated anomaly status or operation result.

The output contains the JSON response from the Wanguard API after setting the anomaly's status. Errors will be thrown unless 'Continue On Fail' is enabled, in which case error messages are included in the output.

Examples

Example 1: Expire an anomaly by ID

Provide the anomaly ID and set the status to 'Expired'. The node updates the anomaly status accordingly.

Discussion