Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
Documentation
data ActionCondition Source #
A single action condition for a Condition in a logging filter.
See: newActionCondition
smart constructor.
ActionCondition' | |
|
Instances
Create a value of ActionCondition
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:action:ActionCondition'
, actionCondition_action
- The action setting that a log record must contain in order to meet the
condition. This is the action that WAF applied to the web request.
For rule groups, this is either the configured rule action setting, or
if you've applied a rule action override to the rule, it's the
override action. The value EXCLUDED_AS_COUNT
matches on excluded rules
and also on rules that have a rule action override of Count.
actionCondition_action :: Lens' ActionCondition ActionValue Source #
The action setting that a log record must contain in order to meet the condition. This is the action that WAF applied to the web request.
For rule groups, this is either the configured rule action setting, or
if you've applied a rule action override to the rule, it's the
override action. The value EXCLUDED_AS_COUNT
matches on excluded rules
and also on rules that have a rule action override of Count.