SecurityPolicyRuleRateLimitOptions class
Properties
-
banDurationSec
↔ int?
-
Can only be specified if the action for the rule is
"rate_based_ban".
getter/setter pair
-
banThreshold
↔ SecurityPolicyRuleRateLimitOptionsThreshold?
-
Can only be specified if the action for the rule is
"rate_based_ban".
getter/setter pair
-
conformAction
↔ String?
-
Action to take for requests that are under the configured rate limit
threshold.
getter/setter pair
-
enforceOnKey
↔ String?
-
Determines the key to enforce the rate_limit_threshold on.
getter/setter pair
-
enforceOnKeyConfigs
↔ List<SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig>?
-
If specified, any combination of values of
enforce_on_key_type/enforce_on_key_name is treated as the key on which
ratelimit threshold/action is enforced.
getter/setter pair
-
enforceOnKeyName
↔ String?
-
Rate limit key name applicable only for the following key types:
HTTP_HEADER -- Name of the HTTP header whose value is taken as the key
value.
HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key
value.
getter/setter pair
-
exceedAction
↔ String?
-
Action to take for requests that are above the configured rate limit
threshold, to either deny with a specified HTTP response code, or
redirect to a different endpoint.
Valid options are
deny(STATUS), where valid values for
STATUS are 403, 404, 429, and 502, and
redirect, where the redirect parameters come from
exceedRedirectOptions below.
The redirect action is only supported in Global Security Policies of
type CLOUD_ARMOR.
getter/setter pair
-
exceedRedirectOptions
↔ SecurityPolicyRuleRedirectOptions?
-
Parameters defining the redirect action that is used as the exceed
action.
getter/setter pair
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
rateLimitThreshold
↔ SecurityPolicyRuleRateLimitOptionsThreshold?
-
Threshold at which to begin ratelimiting.
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited