Configuration attack payload logging
Set-AppSecAttackPayloadSettings
Synopsis
Modify attack payload log settings for a configuration.
Syntax
Set-AppSecAttackPayloadSettings [-ConfigName] <String> [-VersionNumber] <String> -Body <Object> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Set-AppSecAttackPayloadSettings -ConfigID <Int32> [-VersionNumber] <String> -Body <Object> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
Enables, disables, or updates the attack payload log settings for a configuration. When set to NONE, the request body and response body show as redacted in the log. To override these settings for a specific policy, run the Set-AppSecPolicyAttackPayload operation.
When making a request, you can specify a configuration by its name or ID. The -VersionNumber parameter is an integer or the word latest.
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. | 
| ‑BodyRequired | The request body, either as a  | 
| ‑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  | 
| ‑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 4 months ago
