tencentcloud-sdk-waf 3.0.1063 → 3.0.1064

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180125/models.rb +40 -17
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b900fbba37212acebbcffd3cce3c92e8503eb07f
4
- data.tar.gz: e6c7d147cef77c5abda6b425794ceaaeb4f61d8c
3
+ metadata.gz: b4625e65d263fa711f3b0d93d45ebc2ac0c5e62e
4
+ data.tar.gz: eb13941d1a6330be84da2cd5eb3f8c4248aac78b
5
5
  SHA512:
6
- metadata.gz: 5fda1d133131d251f59fbb74c8769d453a7041ad925f2f241cfd47eadd205ee3974c80cd283723ded5f0bb1e91aa59c56ef1ba0e867550ba3218ac604941b232
7
- data.tar.gz: 2e5efc355f878e8c0e46b9ecf0c54950e8224bc3c10349bf6b17b21e12523aa6b502381b496255734e77d6e436bc3be73d971ccd39ab34fc9d4c3de8066db768
6
+ metadata.gz: 43517dd8a9fec1df2069e0d60cb68e267408e0107ca36b7dd22126c7f0f8f94e5066226727f50fb4220bf0918882f7599f573f6d1b75cc54368d7c4cf0fb6990
7
+ data.tar.gz: 6884876b44c3702646d764aad28cf5fa86f8820d9b4722ad4b9aa4ccf5171e2318ff990a5d313070d9e1bfca81d378f6852da4ab663605a3cdf6db3d72a9d1b2
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1063
1
+ 3.0.1064
@@ -694,10 +694,12 @@ module TencentCloud
694
694
  # @type JobType: String
695
695
  # @param JobDateTime: 定时任务配置
696
696
  # @type JobDateTime: :class:`Tencentcloud::Waf.v20180125.models.JobDateTime`
697
+ # @param LogicalOp: 匹配条件的逻辑关系,支持and、or,分别表示多个逻辑匹配条件是与、或的关系
698
+ # @type LogicalOp: String
697
699
 
698
- attr_accessor :Name, :SortId, :Strategies, :Domain, :Bypass, :ExpireTime, :JobType, :JobDateTime
700
+ attr_accessor :Name, :SortId, :Strategies, :Domain, :Bypass, :ExpireTime, :JobType, :JobDateTime, :LogicalOp
699
701
 
700
- def initialize(name=nil, sortid=nil, strategies=nil, domain=nil, bypass=nil, expiretime=nil, jobtype=nil, jobdatetime=nil)
702
+ def initialize(name=nil, sortid=nil, strategies=nil, domain=nil, bypass=nil, expiretime=nil, jobtype=nil, jobdatetime=nil, logicalop=nil)
701
703
  @Name = name
702
704
  @SortId = sortid
703
705
  @Strategies = strategies
@@ -706,6 +708,7 @@ module TencentCloud
706
708
  @ExpireTime = expiretime
707
709
  @JobType = jobtype
708
710
  @JobDateTime = jobdatetime
711
+ @LogicalOp = logicalop
709
712
  end
710
713
 
711
714
  def deserialize(params)
@@ -727,6 +730,7 @@ module TencentCloud
727
730
  @JobDateTime = JobDateTime.new
728
731
  @JobDateTime.deserialize(params['JobDateTime'])
729
732
  end
733
+ @LogicalOp = params['LogicalOp']
730
734
  end
731
735
  end
732
736
 
@@ -2288,10 +2292,14 @@ module TencentCloud
2288
2292
  # @type CreateTime: Integer
2289
2293
  # @param LimitMethod: 限频方式
2290
2294
  # @type LimitMethod: String
2295
+ # @param CelRule: cel表达式
2296
+ # @type CelRule: String
2297
+ # @param LogicalOp: 逻辑操作符
2298
+ # @type LogicalOp: String
2291
2299
 
2292
- attr_accessor :Name, :Status, :Advance, :Limit, :Interval, :Url, :MatchFunc, :ActionType, :Priority, :ValidTime, :TsVersion, :Options, :RuleId, :EventId, :SessionApplied, :CreateTime, :LimitMethod
2300
+ attr_accessor :Name, :Status, :Advance, :Limit, :Interval, :Url, :MatchFunc, :ActionType, :Priority, :ValidTime, :TsVersion, :Options, :RuleId, :EventId, :SessionApplied, :CreateTime, :LimitMethod, :CelRule, :LogicalOp
2293
2301
 
2294
- def initialize(name=nil, status=nil, advance=nil, limit=nil, interval=nil, url=nil, matchfunc=nil, actiontype=nil, priority=nil, validtime=nil, tsversion=nil, options=nil, ruleid=nil, eventid=nil, sessionapplied=nil, createtime=nil, limitmethod=nil)
2302
+ def initialize(name=nil, status=nil, advance=nil, limit=nil, interval=nil, url=nil, matchfunc=nil, actiontype=nil, priority=nil, validtime=nil, tsversion=nil, options=nil, ruleid=nil, eventid=nil, sessionapplied=nil, createtime=nil, limitmethod=nil, celrule=nil, logicalop=nil)
2295
2303
  @Name = name
2296
2304
  @Status = status
2297
2305
  @Advance = advance
@@ -2309,6 +2317,8 @@ module TencentCloud
2309
2317
  @SessionApplied = sessionapplied
2310
2318
  @CreateTime = createtime
2311
2319
  @LimitMethod = limitmethod
2320
+ @CelRule = celrule
2321
+ @LogicalOp = logicalop
2312
2322
  end
2313
2323
 
2314
2324
  def deserialize(params)
@@ -2329,6 +2339,8 @@ module TencentCloud
2329
2339
  @SessionApplied = params['SessionApplied']
2330
2340
  @CreateTime = params['CreateTime']
2331
2341
  @LimitMethod = params['LimitMethod']
2342
+ @CelRule = params['CelRule']
2343
+ @LogicalOp = params['LogicalOp']
2332
2344
  end
2333
2345
  end
2334
2346
 
@@ -3504,7 +3516,6 @@ module TencentCloud
3504
3516
  # DeleteBotSceneUCBRule返回参数结构体
3505
3517
  class DeleteBotSceneUCBRuleResponse < TencentCloud::Common::AbstractModel
3506
3518
  # @param Data: 正常情况下为null
3507
- # 注意:此字段可能返回 null,表示取不到有效值。
3508
3519
  # @type Data: String
3509
3520
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3510
3521
  # @type RequestId: String
@@ -12111,10 +12122,12 @@ module TencentCloud
12111
12122
  # @type JobType: String
12112
12123
  # @param JobDateTime: 定时任务配置
12113
12124
  # @type JobDateTime: :class:`Tencentcloud::Waf.v20180125.models.JobDateTime`
12125
+ # @param LogicalOp: 匹配条件的逻辑关系,支持and、or,分别表示多个逻辑匹配条件是与、或的关系
12126
+ # @type LogicalOp: String
12114
12127
 
12115
- attr_accessor :Domain, :RuleId, :RuleName, :Bypass, :SortId, :ExpireTime, :Strategies, :JobType, :JobDateTime
12128
+ attr_accessor :Domain, :RuleId, :RuleName, :Bypass, :SortId, :ExpireTime, :Strategies, :JobType, :JobDateTime, :LogicalOp
12116
12129
 
12117
- def initialize(domain=nil, ruleid=nil, rulename=nil, bypass=nil, sortid=nil, expiretime=nil, strategies=nil, jobtype=nil, jobdatetime=nil)
12130
+ def initialize(domain=nil, ruleid=nil, rulename=nil, bypass=nil, sortid=nil, expiretime=nil, strategies=nil, jobtype=nil, jobdatetime=nil, logicalop=nil)
12118
12131
  @Domain = domain
12119
12132
  @RuleId = ruleid
12120
12133
  @RuleName = rulename
@@ -12124,6 +12137,7 @@ module TencentCloud
12124
12137
  @Strategies = strategies
12125
12138
  @JobType = jobtype
12126
12139
  @JobDateTime = jobdatetime
12140
+ @LogicalOp = logicalop
12127
12141
  end
12128
12142
 
12129
12143
  def deserialize(params)
@@ -12146,6 +12160,7 @@ module TencentCloud
12146
12160
  @JobDateTime = JobDateTime.new
12147
12161
  @JobDateTime.deserialize(params['JobDateTime'])
12148
12162
  end
12163
+ @LogicalOp = params['LogicalOp']
12149
12164
  end
12150
12165
  end
12151
12166
 
@@ -15176,16 +15191,16 @@ module TencentCloud
15176
15191
  # @type Limit: String
15177
15192
  # @param Interval: CC检测周期
15178
15193
  # @type Interval: String
15179
- # @param Url: 检测Url
15180
- # @type Url: String
15181
- # @param MatchFunc: 匹配方法,0表示等于,1表示前缀匹配,2表示包含,3表示不等于,6表示后缀匹配,7表示不包含
15182
- # @type MatchFunc: Integer
15183
15194
  # @param ActionType: 动作,20表示观察,21表示人机识别,22表示拦截,23表示精准拦截,26表示精准人机识别,27表示JS校验
15184
15195
  # @type ActionType: String
15185
15196
  # @param Priority: 优先级
15186
15197
  # @type Priority: Integer
15187
15198
  # @param ValidTime: 动作有效时间
15188
15199
  # @type ValidTime: Integer
15200
+ # @param Url: 检测Url
15201
+ # @type Url: String
15202
+ # @param MatchFunc: 匹配方法,0表示等于,1表示前缀匹配,2表示包含,3表示不等于,6表示后缀匹配,7表示不包含
15203
+ # @type MatchFunc: Integer
15189
15204
  # @param OptionsArr: CC的匹配条件JSON序列化的字符串,示例:[{\"key\":\"Method\",\"args\":[\"=R0VU\"],\"match\":\"0\",\"encodeflag\":true}] Key可选值为 Method、Post、Referer、Cookie、User-Agent、CustomHeader match可选值为,当Key为Method的时候可选值为0(等于)、3(不等于)。 Key为Post的时候可选值为0(等于)、3(不等于),Key为Cookie的时候可选值为0(等于)、2(包含),3(不等于)、7(不包含)、 当Key为Referer的时候可选值为0(等于)、3(不等于)、1(前缀匹配)、6(后缀匹配)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为Cookie的时候可选值为0(等于)、3(不等于)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为User-Agent的时候可选值为0(等于)、3(不等于)、1(前缀匹配)、6(后缀匹配)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为CustomHeader的时候可选值为0(等于)、3(不等于)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空)。 Key为IPLocation时,可选值为13(属于)、14(不属于)。args用来表示匹配内容,需要设置encodeflag为true,当Key为Post、Cookie、CustomHeader时,用等号=来分别串接Key和Value,并分别用Base64编码,类似YWJj=YWJj。当Key为Referer、User-Agent时,用等号=来串接Value,类似=YWJj。
15190
15205
  # @type OptionsArr: String
15191
15206
  # @param Edition: waf版本,sparta-waf或者clb-waf
@@ -15204,21 +15219,25 @@ module TencentCloud
15204
15219
  # @type Length: Integer
15205
15220
  # @param LimitMethod: 限频方式
15206
15221
  # @type LimitMethod: String
15222
+ # @param CelRule: cel表达式
15223
+ # @type CelRule: String
15224
+ # @param LogicalOp: 配置方式的逻辑操作符,and或者or
15225
+ # @type LogicalOp: String
15207
15226
 
15208
- attr_accessor :Domain, :Name, :Status, :Advance, :Limit, :Interval, :Url, :MatchFunc, :ActionType, :Priority, :ValidTime, :OptionsArr, :Edition, :Type, :EventId, :SessionApplied, :RuleId, :CreateTime, :Length, :LimitMethod
15227
+ attr_accessor :Domain, :Name, :Status, :Advance, :Limit, :Interval, :ActionType, :Priority, :ValidTime, :Url, :MatchFunc, :OptionsArr, :Edition, :Type, :EventId, :SessionApplied, :RuleId, :CreateTime, :Length, :LimitMethod, :CelRule, :LogicalOp
15209
15228
 
15210
- def initialize(domain=nil, name=nil, status=nil, advance=nil, limit=nil, interval=nil, url=nil, matchfunc=nil, actiontype=nil, priority=nil, validtime=nil, optionsarr=nil, edition=nil, type=nil, eventid=nil, sessionapplied=nil, ruleid=nil, createtime=nil, length=nil, limitmethod=nil)
15229
+ def initialize(domain=nil, name=nil, status=nil, advance=nil, limit=nil, interval=nil, actiontype=nil, priority=nil, validtime=nil, url=nil, matchfunc=nil, optionsarr=nil, edition=nil, type=nil, eventid=nil, sessionapplied=nil, ruleid=nil, createtime=nil, length=nil, limitmethod=nil, celrule=nil, logicalop=nil)
15211
15230
  @Domain = domain
15212
15231
  @Name = name
15213
15232
  @Status = status
15214
15233
  @Advance = advance
15215
15234
  @Limit = limit
15216
15235
  @Interval = interval
15217
- @Url = url
15218
- @MatchFunc = matchfunc
15219
15236
  @ActionType = actiontype
15220
15237
  @Priority = priority
15221
15238
  @ValidTime = validtime
15239
+ @Url = url
15240
+ @MatchFunc = matchfunc
15222
15241
  @OptionsArr = optionsarr
15223
15242
  @Edition = edition
15224
15243
  @Type = type
@@ -15228,6 +15247,8 @@ module TencentCloud
15228
15247
  @CreateTime = createtime
15229
15248
  @Length = length
15230
15249
  @LimitMethod = limitmethod
15250
+ @CelRule = celrule
15251
+ @LogicalOp = logicalop
15231
15252
  end
15232
15253
 
15233
15254
  def deserialize(params)
@@ -15237,11 +15258,11 @@ module TencentCloud
15237
15258
  @Advance = params['Advance']
15238
15259
  @Limit = params['Limit']
15239
15260
  @Interval = params['Interval']
15240
- @Url = params['Url']
15241
- @MatchFunc = params['MatchFunc']
15242
15261
  @ActionType = params['ActionType']
15243
15262
  @Priority = params['Priority']
15244
15263
  @ValidTime = params['ValidTime']
15264
+ @Url = params['Url']
15265
+ @MatchFunc = params['MatchFunc']
15245
15266
  @OptionsArr = params['OptionsArr']
15246
15267
  @Edition = params['Edition']
15247
15268
  @Type = params['Type']
@@ -15251,6 +15272,8 @@ module TencentCloud
15251
15272
  @CreateTime = params['CreateTime']
15252
15273
  @Length = params['Length']
15253
15274
  @LimitMethod = params['LimitMethod']
15275
+ @CelRule = params['CelRule']
15276
+ @LogicalOp = params['LogicalOp']
15254
15277
  end
15255
15278
  end
15256
15279
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-waf
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1063
4
+ version: 3.0.1064
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-05-19 00:00:00.000000000 Z
11
+ date: 2025-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common