Modify attack payload log settings for a configuration

All products Enable, disable, or update attack payload log settings for a configuration. When set to NONE, the request body and response body show as redacted in the log. For example, JSON_PAIRS:redacted. When set to RESPONSE_BODY or REQUEST_BODY the log shows only the string flagged as a possible attack, and not the entire request or response body. This operation applies at the configuration level, and therefore applies to all policies within a configuration. If you want to override these settings for a specific policy, run Modify attack payload log settings for a policy.

Path Params
int64
required

A unique identifier for each configuration.

integer
required

A unique identifier for each version of a configuration.

Query Params
string

For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Body Params

The PUT Request JSON for attack payload logging.

boolean
required

Whether attack payload logging is enabled.

requestBody
object
required

Settings for request body.

responseBody
object
required

Settings for response body.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
URL
LoadingLoading…
Response
Choose an example:
application/json
application/problem+json