RulesetRuleArgs

data class RulesetRuleArgs(val action: Output<String>? = null, val actionParameters: Output<RulesetRuleActionParametersArgs>? = null, val description: Output<String>? = null, val enabled: Output<Boolean>? = null, val exposedCredentialCheck: Output<RulesetRuleExposedCredentialCheckArgs>? = null, val expression: Output<String>, 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, description: Output<String>? = null, enabled: Output<Boolean>? = null, exposedCredentialCheck: Output<RulesetRuleExposedCredentialCheckArgs>? = null, expression: Output<String>, 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

Action to perform in the ruleset rule. Available values: block, challenge, compress_response, ddos_dynamic, ddos_mitigation, execute, force_connection_close, js_challenge, log, log_custom_field, managed_challenge, redirect, rewrite, route, score, serve_error, set_cache_settings, set_config, skip.

Link copied to clipboard

List of parameters that configure the behavior of the ruleset rule action.

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

Brief summary of the ruleset rule and its intended use.

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

Whether the rule is active.

Link copied to clipboard

List of parameters that configure exposed credential checks.

Link copied to clipboard
val expression: Output<String>

Criteria for an HTTP request to trigger the ruleset rule action. Uses the Firewall Rules expression language based on Wireshark display filters. Refer to the Firewall Rules language documentation for all available fields, operators, and functions.

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

Unique rule identifier.

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

List parameters to configure how the rule generates logs. Only valid for skip action.

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

List of parameters that configure HTTP rate limiting behaviour.

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

Rule reference.

Functions

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