Wanguard icon

Wanguard

Interact with Wanguard DDoS Detection and Mitigation API

Actions160

Packet Filter → CreateWhitelistRule

AI-generated

Summary

Create a new whitelist rule for a specified packet filter in Wanguard.

Inputs

  • Packet Filter ID (required) — The unique identifier of the packet filter to which the whitelist rule will be added.

Output shape

a single JSON object representing the created whitelist rule

Returns the created whitelist rule details as a JSON object. If multiple items are processed, results are aggregated into an array.

Examples

Example 1: Add a whitelist rule to a given packet filter ID

Set the Packet Filter ID parameter to the target packet filter's ID and execute this operation to create the whitelist rule.

Discussion