CustomRuleResponse

data class CustomRuleResponse(val action: String, val enabledState: String? = null, val matchConditions: List<MatchConditionResponse>, val name: String, val priority: Int)

Defines the common attributes for a custom rule that can be included in a waf policy

Constructors

Link copied to clipboard
constructor(action: String, enabledState: String? = null, matchConditions: List<MatchConditionResponse>, name: String, priority: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Describes what action to be applied when rule matches

Link copied to clipboard
val enabledState: String? = null

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

Link copied to clipboard

List of match conditions.

Link copied to clipboard

Defines the name of the custom rule

Link copied to clipboard

Defines in what order this rule be evaluated in the overall list of custom rules