Policy rate policy actions
Set-AppSecPolicyRatePolicy
Synopsis
Modify a rate policy action.
Syntax
Set-AppSecPolicyRatePolicy [-ConfigName] <String> [-VersionNumber] <String> [-PolicyName] <String> -RatePolicyID <Int32> -IPv4Action <String> -IPv6Action <String> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]Set-AppSecPolicyRatePolicy [-ConfigName] <String> [-VersionNumber] <String> -PolicyID <String> -RatePolicyID <Int32> -IPv4Action <String> -IPv6Action <String> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]Set-AppSecPolicyRatePolicy -ConfigID <Int32> [-VersionNumber] <String> -PolicyID <String> -RatePolicyID <Int32> -IPv4Action <String> -IPv6Action <String> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]Set-AppSecPolicyRatePolicy -ConfigID <Int32> [-VersionNumber] <String> [-PolicyName] <String> -RatePolicyID <Int32> -IPv4Action <String> -IPv6Action <String> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]Description
Updates the actions in a rate policy.
When making a request, you can specify a configuration with the -ConfigName or -ConfigID parameter.
The -VersionNumber parameter is an integer or the word latest.
To specify a policy, use the -PolicyName or -PolicyID parameter.
Parameters
‑AccountSwitchKey | An account credential key that lets you move between accounts when using an API client enabled for multiple accounts. To find account switch keys, use Get-AccountSwitchKey. |
‑ConfigIDConditionally required | Your configuration's ID. |
‑ConfigNameConditionally required | The name of your security configuration. |
‑EdgeRCFile | Your EdgeGrid resource file to authenticate your command. Defaults to |
‑IPv4ActionRequired | The IPv4 action to assign to this rate policy. Possible values are:
|
‑IPv6ActionRequired | The IPv4 action to assign to this rate policy. Bot Manager policy actions: monitor. Reports the request and halts further evaluation.delay. Waits 1-3 seconds before responding.slow. Waits 8-10 seconds before responding.deny. Blocks the request.tarpit. Keeps the connection open but does not respond.none. No action taken.deny_custom_{id}. Applies your custom deny action.cond_action. Acts based on customized criteria like client attributes, schedule, percent of traffic.serve_alt. Serves different content from an alternate origin, cached pages, or fake content.challenge. Inserts a CAPTCHA, cryptographic, or behavioral challenge.Web Application Firewall policy actions:
|
‑PolicyIDConditionally required | Your security policy's ID. |
‑PolicyNameConditionally required | The name of your security policy. |
‑RatePolicyIDRequired | Your rate policy's ID. |
‑Section | The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to |
‑VersionNumberRequired | A configuration's version. Can be an integer or the word |
Related Links
Updated 2 months ago
