class Aws::WAFV2::Types::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.
@note When making an API call, you may pass LoggingFilter
data as a hash: { filters: [ # required { behavior: "KEEP", # required, accepts KEEP, DROP requirement: "MEETS_ALL", # required, accepts MEETS_ALL, MEETS_ANY conditions: [ # required { action_condition: { action: "ALLOW", # required, accepts ALLOW, BLOCK, COUNT }, label_name_condition: { label_name: "LabelName", # required }, }, ], }, ], default_behavior: "KEEP", # required, accepts KEEP, DROP }
@!attribute [rw] filters
The filters that you want to apply to the logs. @return [Array<Types::Filter>]
@!attribute [rw] default_behavior
Default handling for logs that don't match any of the specified filtering conditions. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/LoggingFilter AWS API Documentation
Constants
- SENSITIVE