RulesetRuleArgs

data class RulesetRuleArgs(val action: Output<String>? = null, val actionParameters: Output<RulesetRuleActionParametersArgs>? = null, val categories: Output<List<String>>? = null, val description: Output<String>? = null, val enabled: Output<Boolean>? = null, val exposedCredentialCheck: Output<RulesetRuleExposedCredentialCheckArgs>? = null, val expression: Output<String>? = null, val id: Output<String>? = null, val logging: Output<RulesetRuleLoggingArgs>? = null, val ratelimit: Output<RulesetRuleRatelimitArgs>? = null, val ref: Output<String>? = null) : ConvertibleToJava<RulesetRuleArgs>

Constructors

Link copied to clipboard
constructor(action: Output<String>? = null, actionParameters: Output<RulesetRuleActionParametersArgs>? = null, categories: Output<List<String>>? = null, description: Output<String>? = null, enabled: Output<Boolean>? = null, exposedCredentialCheck: Output<RulesetRuleExposedCredentialCheckArgs>? = null, expression: Output<String>? = null, id: Output<String>? = null, logging: Output<RulesetRuleLoggingArgs>? = null, ratelimit: Output<RulesetRuleRatelimitArgs>? = null, ref: Output<String>? = null)

Properties

Link copied to clipboard
val action: Output<String>? = null

The action to perform when the rule matches. Available values: "block".

Link copied to clipboard

The parameters configuring the rule's action.

Link copied to clipboard
val categories: Output<List<String>>? = null

The categories of the rule.

Link copied to clipboard
val description: Output<String>? = null

An informative description of the rule.

Link copied to clipboard
val enabled: Output<Boolean>? = null

Whether the rule should be executed.

Link copied to clipboard

Configure checks for exposed credentials.

Link copied to clipboard
val expression: Output<String>? = null

The expression defining which traffic will match the rule.

Link copied to clipboard
val id: Output<String>? = null

The unique ID of the rule.

Link copied to clipboard
val logging: Output<RulesetRuleLoggingArgs>? = null

An object configuring the rule's logging behavior.

Link copied to clipboard
val ratelimit: Output<RulesetRuleRatelimitArgs>? = null

An object configuring the rule's ratelimit behavior.

Link copied to clipboard
val ref: Output<String>? = null

The reference of the rule (the rule ID by default).

Functions

Link copied to clipboard
open override fun toJava(): RulesetRuleArgs