Get Security Policy Rule
data class GetSecurityPolicyRule(val action: String, val description: String, val headerActions: List<GetSecurityPolicyRuleHeaderAction>, val matches: List<GetSecurityPolicyRuleMatch>, val preconfiguredWafConfigs: List<GetSecurityPolicyRulePreconfiguredWafConfig>, val preview: Boolean, val priority: Int, val rateLimitOptions: List<GetSecurityPolicyRuleRateLimitOption>, val redirectOptions: List<GetSecurityPolicyRuleRedirectOption>)
Constructors
Link copied to clipboard
constructor(action: String, description: String, headerActions: List<GetSecurityPolicyRuleHeaderAction>, matches: List<GetSecurityPolicyRuleMatch>, preconfiguredWafConfigs: List<GetSecurityPolicyRulePreconfiguredWafConfig>, preview: Boolean, priority: Int, rateLimitOptions: List<GetSecurityPolicyRuleRateLimitOption>, redirectOptions: List<GetSecurityPolicyRuleRedirectOption>)
Properties
Link copied to clipboard
An optional description of this rule. Max size is 64.
Link copied to clipboard
Additional actions that are performed on headers.
Link copied to clipboard
A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding action is enforced.
Link copied to clipboard
Preconfigured WAF configuration to be applied for the rule. If the rule does not evaluate preconfigured WAF rules, i.e., if evaluatePreconfiguredWaf() is not used, this field will have no effect.
Link copied to clipboard
Rate limit threshold for this security policy. Must be specified if the action is "rate_based_ban" or "throttle". Cannot be specified for any other actions.
Link copied to clipboard
Parameters defining the redirect action. Cannot be specified for any other actions.