lib/v20220901/models.rb in tencentcloud-sdk-teo-3.0.444 vs lib/v20220901/models.rb in tencentcloud-sdk-teo-3.0.445
- old
+ new
@@ -12713,37 +12713,46 @@
# @type RequestNum: Integer
# @param Description: 规则描述。
# @type Description: String
# @param Domain: 子域名。
# @type Domain: String
+ # @param BotLabel: Bot标签,取值有:
+ # <li>evil_bot:恶意Bot;</li>
+ # <li>suspect_bot:疑似Bot;</li>
+ # <li>good_bot:正常Bot;</li>
+ # <li>normal:正常请求;</li>
+ # <li>none:未分类。</li>
+ # @type BotLabel: String
- attr_accessor :RuleId, :RuleTypeName, :Action, :HitTime, :RequestNum, :Description, :Domain
+ attr_accessor :RuleId, :RuleTypeName, :Action, :HitTime, :RequestNum, :Description, :Domain, :BotLabel
- def initialize(ruleid=nil, ruletypename=nil, action=nil, hittime=nil, requestnum=nil, description=nil, domain=nil)
+ def initialize(ruleid=nil, ruletypename=nil, action=nil, hittime=nil, requestnum=nil, description=nil, domain=nil, botlabel=nil)
@RuleId = ruleid
@RuleTypeName = ruletypename
@Action = action
@HitTime = hittime
@RequestNum = requestnum
@Description = description
@Domain = domain
+ @BotLabel = botlabel
end
def deserialize(params)
@RuleId = params['RuleId']
@RuleTypeName = params['RuleTypeName']
@Action = params['Action']
@HitTime = params['HitTime']
@RequestNum = params['RequestNum']
@Description = params['Description']
@Domain = params['Domain']
+ @BotLabel = params['BotLabel']
end
end
# 安全规则(cc/waf/bot)相关信息
class SecRuleRelatedInfo < TencentCloud::Common::AbstractModel
- # @param RuleId: 规则ID列表(99999为无效id)。
+ # @param RuleId: 规则ID。
# @type RuleId: Integer
# @param Action: 执行动作(处置方式),取值有:
# <li>trans :通过 ;</li>
# <li>alg :算法挑战 ;</li>
# <li>drop :丢弃 ;</li>
@@ -12763,28 +12772,33 @@
# @type RuleLevel: String
# @param Description: 规则描述。
# @type Description: String
# @param RuleTypeName: 规则类型名称。
# @type RuleTypeName: String
+ # @param AttackContent: 攻击内容。
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type AttackContent: String
- attr_accessor :RuleId, :Action, :RiskLevel, :RuleLevel, :Description, :RuleTypeName
+ attr_accessor :RuleId, :Action, :RiskLevel, :RuleLevel, :Description, :RuleTypeName, :AttackContent
- def initialize(ruleid=nil, action=nil, risklevel=nil, rulelevel=nil, description=nil, ruletypename=nil)
+ def initialize(ruleid=nil, action=nil, risklevel=nil, rulelevel=nil, description=nil, ruletypename=nil, attackcontent=nil)
@RuleId = ruleid
@Action = action
@RiskLevel = risklevel
@RuleLevel = rulelevel
@Description = description
@RuleTypeName = ruletypename
+ @AttackContent = attackcontent
end
def deserialize(params)
@RuleId = params['RuleId']
@Action = params['Action']
@RiskLevel = params['RiskLevel']
@RuleLevel = params['RuleLevel']
@Description = params['Description']
@RuleTypeName = params['RuleTypeName']
+ @AttackContent = params['AttackContent']
end
end
# 安全配置
class SecurityConfig < TencentCloud::Common::AbstractModel