AWS::WAFv2::LoggingConfiguration LoggingFilter - AWS CloudFormation

AWS::WAFv2::LoggingConfiguration LoggingFilter

Filtering that specifies which web requests are kept in the logs and which are dropped, defined for a web ACL's LoggingConfiguration.

You can filter on the rule action and on the web request labels that were applied by matching rules during web ACL evaluation.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "DefaultBehavior" : String, "Filters" : [ Filter, ... ] }

YAML

DefaultBehavior: String Filters: - Filter

Properties

DefaultBehavior

Default handling for logs that don't match any of the specified filtering conditions.

Required: Yes

Type: String

Allowed values: KEEP | DROP

Update requires: No interruption

Filters

The filters that you want to apply to the logs.

Required: Yes

Type: Array of Filter

Minimum: 1

Update requires: No interruption