GetRulesetRule

data class GetRulesetRule(val action: String, val actionParameters: GetRulesetRuleActionParameters, val categories: List<String>, val description: String, val enabled: Boolean, val exposedCredentialCheck: GetRulesetRuleExposedCredentialCheck, val expression: String, val id: String, val lastUpdated: String, val logging: GetRulesetRuleLogging, val ratelimit: GetRulesetRuleRatelimit, val ref: String, val version: String)

Constructors

Link copied to clipboard
constructor(action: String, actionParameters: GetRulesetRuleActionParameters, categories: List<String>, description: String, enabled: Boolean, exposedCredentialCheck: GetRulesetRuleExposedCredentialCheck, expression: String, id: String, lastUpdated: String, logging: GetRulesetRuleLogging, ratelimit: GetRulesetRuleRatelimit, ref: String, version: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

The categories of the rule.

Link copied to clipboard

An informative description of the rule.

Link copied to clipboard

Whether the rule should be executed.

Link copied to clipboard

Configure checks for exposed credentials.

Link copied to clipboard

The expression defining which traffic will match the rule.

Link copied to clipboard
val id: String

The unique ID of the rule.

Link copied to clipboard

The timestamp of when the rule was last modified.

Link copied to clipboard

An object configuring the rule's logging behavior.

Link copied to clipboard

An object configuring the rule's ratelimit behavior.

Link copied to clipboard
val ref: String

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

Link copied to clipboard

The version of the rule.