Modify attack payload logging settings for a policy

All products Update attack payload logging settings for a specific policy. This operation applies at the security policy level, and overrides the attack payload logging settings at the configuration level on a per-policy basis. When set to NONE, the request body and response body appear as redacted in the log. For example, JSON_PAIRS:redacted.

Path Params
int64
required

A unique identifier for each configuration.

integer
required

A unique identifier for each version of a configuration.

string
required

A unique identifier for a security policy.

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
boolean
required

When enabled, log attack payloads in requests and responses.

boolean
required

When true, use the security policy's attack payload logging settings instead of the settings at the configuration level. Note that when type is NONE, the request body and response body show as redacted in the log. For example, JSON_PAIRS:redacted.

requestBody
object
required

The settings for how Akamai's network logs attack payloads in request bodies.

responseBody
object
required

The settings for how Akamai's network logs attack payloads in response bodies.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

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