Policy API request constraints
Set-AppSecPolicyAPIRequestConstraints
Synopsis
Modify an API request constraint's action.
Syntax
Set-AppSecPolicyAPIRequestConstraints [-ConfigName] <String> [-VersionNumber] <String> [-PolicyName] <String> [-APIID <String>] -Action <String> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Set-AppSecPolicyAPIRequestConstraints [-ConfigName] <String> [-VersionNumber] <String> -PolicyID <String> [-APIID <String>] -Action <String> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Set-AppSecPolicyAPIRequestConstraints -ConfigID <Int32> [-VersionNumber] <String> -PolicyID <String> [-APIID <String>] -Action <String> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Set-AppSecPolicyAPIRequestConstraints -ConfigID <Int32> [-VersionNumber] <String> [-PolicyName] <String> [-APIID <String>] -Action <String> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
Updates what action to take when the API request constraint triggers.
Parameters
‑APIID |
Your API's ID. |
‑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. |
‑ActionRequired |
Specifies the action that the rule should trigger. Possible actions are:
|
‑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 |
‑PolicyIDConditionally required |
Your security policy's ID. |
‑PolicyNameConditionally required |
The name of your security policy. |
‑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 7 days ago
