ALBWafPSMRule (schema)

WafPSMRule

Advanced load balancer WafPSMRule object
Name Description Type Notes
description Description

Free-text comment about this rule.
string
enable Enable

Enable or disable this rule.
Default value when not specified in API or module is
interpreted by ALB Controller as true.
boolean Default: "True"
index Index

Rule index, this is used to determine the order of the
rules.
integer Required
match_case Match case

The field match_value_pattern regular expression is case
sensitive.
Enum options - SENSITIVE, INSENSITIVE.
Default value when not specified in API or module is
interpreted by ALB Controller as INSENSITIVE.
ALBMatchCase Default: "INSENSITIVE"
match_elements Match elements

The match elements, for example ARGS id or ARGS|!ARGS
password.
Maximum of 64 items allowed.
array of ALBWafPSMMatchElement
match_value_max_length Match value max length

The maximum allowed length of the match_value.
If this is not set, the length will not be checked.
integer
match_value_pattern Match value pattern

A regular expression which describes the expected value.
string
mode Mode

WAF Rule mode.
This can be detection or enforcement.
If this is not set, the Policy mode is used.
This only takes effect if the policy allows delegation.
Enum options - WAF_MODE_DETECTION_ONLY,
WAF_MODE_ENFORCEMENT.
ALBWafMode
name Name

Name of the rule.
string Required
paranoia_level Paranoia level

WAF Ruleset paranoia mode.
This is used to select Rules based on the paranoia-level.
Enum options - WAF_PARANOIA_LEVEL_LOW,
WAF_PARANOIA_LEVEL_MEDIUM, WAF_PARANOIA_LEVEL_HIGH,
WAF_PARANOIA_LEVEL_EXTREME.
Default value when not specified in API or module is
interpreted by ALB Controller as WAF_PARANOIA_LEVEL_LOW.
ALBWafParanoiaLevel Default: "WAF_PARANOIA_LEVEL_LOW"
rule_id Rule id

Id field which is used for log and metric generation.
This id must be unique for all rules in this group.
string Required