GetWafRulesWafRule

data class GetWafRulesWafRule(val action: String, val ccStatus: String, val cnRegionList: String, val conditions: List<GetWafRulesWafRuleCondition>, val defenseScene: String, val effect: String, val gmtModified: String, val id: String, val otherRegionList: String, val policyId: String, val rateLimits: List<GetWafRulesWafRuleRateLimit>, val regularRules: List<String>, val regularTypes: List<String>, val remoteAddrs: List<String>, val ruleName: String, val scenes: List<String>, val status: String, val wafGroupIds: String, val wafRuleId: String)

Constructors

Link copied to clipboard
constructor(action: String, ccStatus: String, cnRegionList: String, conditions: List<GetWafRulesWafRuleCondition>, defenseScene: String, effect: String, gmtModified: String, id: String, otherRegionList: String, policyId: String, rateLimits: List<GetWafRulesWafRuleRateLimit>, regularRules: List<String>, regularTypes: List<String>, remoteAddrs: List<String>, ruleName: String, scenes: List<String>, status: String, wafGroupIds: String, wafRuleId: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Specifies the action of the rule.

Link copied to clipboard

Whether to turn on Frequency Control, on/off

Link copied to clipboard

The blocked regions in the Chinese mainland, separated by commas (,).

Link copied to clipboard

The trigger condition of the rule.

Link copied to clipboard

The type of protection policy. The following scenarios are supported:-waf_group:Web basic protection-custom_acl: Custom protection policy-whitelist: whitelist

Link copied to clipboard

The effective range of the frequency control blacklist.

Link copied to clipboard

Revised the time. The date format is based on ISO8601 notation and uses UTC +0 time in the format of yyyy-MM-ddTHH:mm:ssZ.

Link copied to clipboard
val id: String

The ID of the Waf Rule.

Link copied to clipboard

The effective range of the frequency control blacklist.

Link copied to clipboard

The protection policy ID.

Link copied to clipboard

The rules of rate limiting.

Link copied to clipboard

The regular expression.

Link copied to clipboard

The type of the regular expression. If the value of the tags field contains waf_group, you can specify this field.

Link copied to clipboard

Filter by IP address.

Link copied to clipboard

The name of the protection rule.

Link copied to clipboard

List of protection scenarios

Link copied to clipboard

The information about the HTTP status code.

Link copied to clipboard

The id of the waf rule group.

Link copied to clipboard

The first ID of the resource