WebApplicationFirewallCustomRuleResponse

data class WebApplicationFirewallCustomRuleResponse(val action: String, val etag: String, val groupByUserSession: List<GroupByUserSessionResponse>? = null, val matchConditions: List<MatchConditionResponse>, val name: String? = null, val priority: Int, val rateLimitDuration: String? = null, val rateLimitThreshold: Int? = null, val ruleType: String, val state: String? = null)

Defines contents of a web application rule.

Constructors

Link copied to clipboard
constructor(action: String, etag: String, groupByUserSession: List<GroupByUserSessionResponse>? = null, matchConditions: List<MatchConditionResponse>, name: String? = null, priority: Int, rateLimitDuration: String? = null, rateLimitThreshold: Int? = null, ruleType: String, state: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Type of Actions.

Link copied to clipboard

A unique read-only string that changes whenever the resource is updated.

Link copied to clipboard

List of user session identifier group by clauses.

Link copied to clipboard

List of match conditions.

Link copied to clipboard
val name: String? = null

The name of the resource that is unique within a policy. This name can be used to access the resource.

Link copied to clipboard

Priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.

Link copied to clipboard

Duration over which Rate Limit policy will be applied. Applies only when ruleType is RateLimitRule.

Link copied to clipboard
val rateLimitThreshold: Int? = null

Rate Limit threshold to apply in case ruleType is RateLimitRule. Must be greater than or equal to 1

Link copied to clipboard

The rule type.

Link copied to clipboard
val state: String? = null

Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.