tencentcloud-sdk-waf 3.0.868 → 3.0.870

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180125/models.rb +218 -32
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 27eecaff529697f7c463c158f45535b5c4609622
4
- data.tar.gz: dc8430856a7144b97a5da5b986af81e6000a3dfe
3
+ metadata.gz: 7e2ff5409b77495678715467e5a62e6ab735588b
4
+ data.tar.gz: 6c24ea73af67332da5b53cc9d665ac1fcd7885c8
5
5
  SHA512:
6
- metadata.gz: b153132d1415837b0088f398e33a68c581e03e917640c59c60320a92a52934f86c6752d25cdad1c972f9760293d1997f90908a933135719c45b8834928d8197d
7
- data.tar.gz: 4004c262a16b3bd8ede83427969b10dea88cf6330c41270a31059400376698e03053b7c13125a21de97b1413a096d55693767ba5d88a3a7b15560ead1c8264e2
6
+ metadata.gz: a4742f58ede84359d90161cce8d29ae55f82b79cb5b2b46c8a2b9c0e10d288370886426cc6a908149ae1872035ccf51cfa126d59e439bc2c2fa6bf59bbb2b2f9
7
+ data.tar.gz: 8da15e8ea0e2f094fe3976f2d17f7334fb2912686af5f4ea8abda31f5ff95bde3c78544ca5d7b796d9bcce714ab0a59c39f9b5ac413bfa8df68399188f5b5ff9
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.868
1
+ 3.0.870
@@ -522,16 +522,25 @@ module TencentCloud
522
522
  # @type SignatureId: String
523
523
  # @param SignatureIds: 加白的规则ID列表
524
524
  # @type SignatureIds: Array
525
+ # @param TypeIds: 加白的大类规则ID
526
+ # @type TypeIds: Array
527
+ # @param Mode: 0:按照特定规则ID加白, 1:按照规则类型加白
528
+ # @type Mode: Integer
529
+ # @param Name: 规则名
530
+ # @type Name: String
525
531
 
526
- attr_accessor :Domain, :Status, :Rules, :RuleId, :SignatureId, :SignatureIds
532
+ attr_accessor :Domain, :Status, :Rules, :RuleId, :SignatureId, :SignatureIds, :TypeIds, :Mode, :Name
527
533
 
528
- def initialize(domain=nil, status=nil, rules=nil, ruleid=nil, signatureid=nil, signatureids=nil)
534
+ def initialize(domain=nil, status=nil, rules=nil, ruleid=nil, signatureid=nil, signatureids=nil, typeids=nil, mode=nil, name=nil)
529
535
  @Domain = domain
530
536
  @Status = status
531
537
  @Rules = rules
532
538
  @RuleId = ruleid
533
539
  @SignatureId = signatureid
534
540
  @SignatureIds = signatureids
541
+ @TypeIds = typeids
542
+ @Mode = mode
543
+ @Name = name
535
544
  end
536
545
 
537
546
  def deserialize(params)
@@ -548,6 +557,9 @@ module TencentCloud
548
557
  @RuleId = params['RuleId']
549
558
  @SignatureId = params['SignatureId']
550
559
  @SignatureIds = params['SignatureIds']
560
+ @TypeIds = params['TypeIds']
561
+ @Mode = params['Mode']
562
+ @Name = params['Name']
551
563
  end
552
564
  end
553
565
 
@@ -1253,10 +1265,22 @@ module TencentCloud
1253
1265
  # @param CreateTime: 创建时间
1254
1266
  # 注意:此字段可能返回 null,表示取不到有效值。
1255
1267
  # @type CreateTime: Integer
1268
+ # @param JobType: 定时任务类型
1269
+ # 注意:此字段可能返回 null,表示取不到有效值。
1270
+ # @type JobType: String
1271
+ # @param CronType: 周期任务类型
1272
+ # 注意:此字段可能返回 null,表示取不到有效值。
1273
+ # @type CronType: String
1274
+ # @param JobDateTime: 定时任务配置详情
1275
+ # 注意:此字段可能返回 null,表示取不到有效值。
1276
+ # @type JobDateTime: :class:`Tencentcloud::Waf.v20180125.models.JobDateTime`
1277
+ # @param ValidStatus: 生效状态
1278
+ # 注意:此字段可能返回 null,表示取不到有效值。
1279
+ # @type ValidStatus: Integer
1256
1280
 
1257
- attr_accessor :Id, :ActionType, :Ip, :Note, :Source, :TsVersion, :ValidTs, :Hosts, :RuleId, :IpList, :CreateTime
1281
+ attr_accessor :Id, :ActionType, :Ip, :Note, :Source, :TsVersion, :ValidTs, :Hosts, :RuleId, :IpList, :CreateTime, :JobType, :CronType, :JobDateTime, :ValidStatus
1258
1282
 
1259
- def initialize(id=nil, actiontype=nil, ip=nil, note=nil, source=nil, tsversion=nil, validts=nil, hosts=nil, ruleid=nil, iplist=nil, createtime=nil)
1283
+ def initialize(id=nil, actiontype=nil, ip=nil, note=nil, source=nil, tsversion=nil, validts=nil, hosts=nil, ruleid=nil, iplist=nil, createtime=nil, jobtype=nil, crontype=nil, jobdatetime=nil, validstatus=nil)
1260
1284
  @Id = id
1261
1285
  @ActionType = actiontype
1262
1286
  @Ip = ip
@@ -1268,6 +1292,10 @@ module TencentCloud
1268
1292
  @RuleId = ruleid
1269
1293
  @IpList = iplist
1270
1294
  @CreateTime = createtime
1295
+ @JobType = jobtype
1296
+ @CronType = crontype
1297
+ @JobDateTime = jobdatetime
1298
+ @ValidStatus = validstatus
1271
1299
  end
1272
1300
 
1273
1301
  def deserialize(params)
@@ -1282,6 +1310,13 @@ module TencentCloud
1282
1310
  @RuleId = params['RuleId']
1283
1311
  @IpList = params['IpList']
1284
1312
  @CreateTime = params['CreateTime']
1313
+ @JobType = params['JobType']
1314
+ @CronType = params['CronType']
1315
+ unless params['JobDateTime'].nil?
1316
+ @JobDateTime = JobDateTime.new
1317
+ @JobDateTime.deserialize(params['JobDateTime'])
1318
+ end
1319
+ @ValidStatus = params['ValidStatus']
1285
1320
  end
1286
1321
  end
1287
1322
 
@@ -1476,10 +1511,25 @@ module TencentCloud
1476
1511
  # @param OptionsArr: 高级参数
1477
1512
  # 注意:此字段可能返回 null,表示取不到有效值。
1478
1513
  # @type OptionsArr: String
1514
+ # @param Length: url长度
1515
+ # 注意:此字段可能返回 null,表示取不到有效值。
1516
+ # @type Length: Integer
1517
+ # @param RuleId: 规则ID
1518
+ # 注意:此字段可能返回 null,表示取不到有效值。
1519
+ # @type RuleId: Integer
1520
+ # @param EventId: 事件id
1521
+ # 注意:此字段可能返回 null,表示取不到有效值。
1522
+ # @type EventId: String
1523
+ # @param SessionApplied: 关联的Session规则
1524
+ # 注意:此字段可能返回 null,表示取不到有效值。
1525
+ # @type SessionApplied: Array
1526
+ # @param CreateTime: 创建时间
1527
+ # 注意:此字段可能返回 null,表示取不到有效值。
1528
+ # @type CreateTime: Integer
1479
1529
 
1480
- attr_accessor :ActionType, :Advance, :Interval, :Limit, :MatchFunc, :Name, :Priority, :Status, :TsVersion, :Url, :ValidTime, :OptionsArr
1530
+ attr_accessor :ActionType, :Advance, :Interval, :Limit, :MatchFunc, :Name, :Priority, :Status, :TsVersion, :Url, :ValidTime, :OptionsArr, :Length, :RuleId, :EventId, :SessionApplied, :CreateTime
1481
1531
 
1482
- def initialize(actiontype=nil, advance=nil, interval=nil, limit=nil, matchfunc=nil, name=nil, priority=nil, status=nil, tsversion=nil, url=nil, validtime=nil, optionsarr=nil)
1532
+ def initialize(actiontype=nil, advance=nil, interval=nil, limit=nil, matchfunc=nil, name=nil, priority=nil, status=nil, tsversion=nil, url=nil, validtime=nil, optionsarr=nil, length=nil, ruleid=nil, eventid=nil, sessionapplied=nil, createtime=nil)
1483
1533
  @ActionType = actiontype
1484
1534
  @Advance = advance
1485
1535
  @Interval = interval
@@ -1492,6 +1542,11 @@ module TencentCloud
1492
1542
  @Url = url
1493
1543
  @ValidTime = validtime
1494
1544
  @OptionsArr = optionsarr
1545
+ @Length = length
1546
+ @RuleId = ruleid
1547
+ @EventId = eventid
1548
+ @SessionApplied = sessionapplied
1549
+ @CreateTime = createtime
1495
1550
  end
1496
1551
 
1497
1552
  def deserialize(params)
@@ -1507,6 +1562,11 @@ module TencentCloud
1507
1562
  @Url = params['Url']
1508
1563
  @ValidTime = params['ValidTime']
1509
1564
  @OptionsArr = params['OptionsArr']
1565
+ @Length = params['Length']
1566
+ @RuleId = params['RuleId']
1567
+ @EventId = params['EventId']
1568
+ @SessionApplied = params['SessionApplied']
1569
+ @CreateTime = params['CreateTime']
1510
1570
  end
1511
1571
  end
1512
1572
 
@@ -2303,14 +2363,18 @@ module TencentCloud
2303
2363
  # @type InstanceId: String
2304
2364
  # @param Edition: WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAF
2305
2365
  # @type Edition: String
2306
- # @param SourceType: 可选值为:batch(批量添加)、botcccustom(非批量添加时的默认值)
2366
+ # @param SourceType: 可选值为:batch(批量添加)、bot(BOT流量分析中的BOT详情列表中添加时)、cc(在攻击日志列表中对攻击类型为CC的IP添加时)、custom(非批量添加时的默认值)
2307
2367
  # @type SourceType: String
2308
2368
  # @param Note: 备注
2309
2369
  # @type Note: String
2370
+ # @param JobType: 定时配置类型
2371
+ # @type JobType: String
2372
+ # @param JobDateTime: 定时配置详情
2373
+ # @type JobDateTime: :class:`Tencentcloud::Waf.v20180125.models.JobDateTime`
2310
2374
 
2311
- attr_accessor :Domain, :IpList, :ActionType, :ValidTS, :InstanceId, :Edition, :SourceType, :Note
2375
+ attr_accessor :Domain, :IpList, :ActionType, :ValidTS, :InstanceId, :Edition, :SourceType, :Note, :JobType, :JobDateTime
2312
2376
 
2313
- def initialize(domain=nil, iplist=nil, actiontype=nil, validts=nil, instanceid=nil, edition=nil, sourcetype=nil, note=nil)
2377
+ def initialize(domain=nil, iplist=nil, actiontype=nil, validts=nil, instanceid=nil, edition=nil, sourcetype=nil, note=nil, jobtype=nil, jobdatetime=nil)
2314
2378
  @Domain = domain
2315
2379
  @IpList = iplist
2316
2380
  @ActionType = actiontype
@@ -2319,6 +2383,8 @@ module TencentCloud
2319
2383
  @Edition = edition
2320
2384
  @SourceType = sourcetype
2321
2385
  @Note = note
2386
+ @JobType = jobtype
2387
+ @JobDateTime = jobdatetime
2322
2388
  end
2323
2389
 
2324
2390
  def deserialize(params)
@@ -2330,6 +2396,11 @@ module TencentCloud
2330
2396
  @Edition = params['Edition']
2331
2397
  @SourceType = params['SourceType']
2332
2398
  @Note = params['Note']
2399
+ @JobType = params['JobType']
2400
+ unless params['JobDateTime'].nil?
2401
+ @JobDateTime = JobDateTime.new
2402
+ @JobDateTime.deserialize(params['JobDateTime'])
2403
+ end
2333
2404
  end
2334
2405
  end
2335
2406
 
@@ -3967,7 +4038,7 @@ module TencentCloud
3967
4038
  # @type Offset: Integer
3968
4039
  # @param Limit: 每页容量
3969
4040
  # @type Limit: Integer
3970
- # @param By: 排序字段,支持user_id, signature_id, modify_time
4041
+ # @param By: 排序的字段,支持user_id, signature_id, modify_time
3971
4042
  # @type By: String
3972
4043
  # @param Order: 排序方式
3973
4044
  # @type Order: String
@@ -5423,13 +5494,16 @@ module TencentCloud
5423
5494
  # @type Limit: Integer
5424
5495
  # @param Filters: 过滤数组
5425
5496
  # @type Filters: Array
5497
+ # @param FreeDelayFlag: 释放延期标识
5498
+ # @type FreeDelayFlag: Integer
5426
5499
 
5427
- attr_accessor :Offset, :Limit, :Filters
5500
+ attr_accessor :Offset, :Limit, :Filters, :FreeDelayFlag
5428
5501
 
5429
- def initialize(offset=nil, limit=nil, filters=nil)
5502
+ def initialize(offset=nil, limit=nil, filters=nil, freedelayflag=nil)
5430
5503
  @Offset = offset
5431
5504
  @Limit = limit
5432
5505
  @Filters = filters
5506
+ @FreeDelayFlag = freedelayflag
5433
5507
  end
5434
5508
 
5435
5509
  def deserialize(params)
@@ -5443,6 +5517,7 @@ module TencentCloud
5443
5517
  @Filters << filtersitemnew_tmp
5444
5518
  end
5445
5519
  end
5520
+ @FreeDelayFlag = params['FreeDelayFlag']
5446
5521
  end
5447
5522
  end
5448
5523
 
@@ -5495,7 +5570,7 @@ module TencentCloud
5495
5570
  # @type CtsMax: Integer
5496
5571
  # @param OffSet: 分页偏移量,取Limit整数倍。最小值为0,最大值= Total/Limit向上取整
5497
5572
  # @type OffSet: Integer
5498
- # @param Limit: 每页返回的数量
5573
+ # @param Limit: 每页返回的数量,默认为20
5499
5574
  # @type Limit: Integer
5500
5575
  # @param Source: 来源
5501
5576
  # @type Source: String
@@ -5511,15 +5586,17 @@ module TencentCloud
5511
5586
  # @type ValidTimeStampMax: String
5512
5587
  # @param RuleId: 规则ID
5513
5588
  # @type RuleId: Integer
5589
+ # @param TimerType: 定时任务类型筛选0 1 2 3 4
5590
+ # @type TimerType: Integer
5514
5591
 
5515
- attr_accessor :Domain, :Count, :ActionType, :VtsMin, :VtsMax, :CtsMin, :CtsMax, :OffSet, :Limit, :Source, :Sort, :Ip, :ValidStatus, :ValidTimeStampMin, :ValidTimeStampMax, :RuleId
5592
+ attr_accessor :Domain, :Count, :ActionType, :VtsMin, :VtsMax, :CtsMin, :CtsMax, :OffSet, :Limit, :Source, :Sort, :Ip, :ValidStatus, :ValidTimeStampMin, :ValidTimeStampMax, :RuleId, :TimerType
5516
5593
  extend Gem::Deprecate
5517
5594
  deprecate :VtsMin, :none, 2024, 7
5518
5595
  deprecate :VtsMin=, :none, 2024, 7
5519
5596
  deprecate :VtsMax, :none, 2024, 7
5520
5597
  deprecate :VtsMax=, :none, 2024, 7
5521
5598
 
5522
- def initialize(domain=nil, count=nil, actiontype=nil, vtsmin=nil, vtsmax=nil, ctsmin=nil, ctsmax=nil, offset=nil, limit=nil, source=nil, sort=nil, ip=nil, validstatus=nil, validtimestampmin=nil, validtimestampmax=nil, ruleid=nil)
5599
+ def initialize(domain=nil, count=nil, actiontype=nil, vtsmin=nil, vtsmax=nil, ctsmin=nil, ctsmax=nil, offset=nil, limit=nil, source=nil, sort=nil, ip=nil, validstatus=nil, validtimestampmin=nil, validtimestampmax=nil, ruleid=nil, timertype=nil)
5523
5600
  @Domain = domain
5524
5601
  @Count = count
5525
5602
  @ActionType = actiontype
@@ -5536,6 +5613,7 @@ module TencentCloud
5536
5613
  @ValidTimeStampMin = validtimestampmin
5537
5614
  @ValidTimeStampMax = validtimestampmax
5538
5615
  @RuleId = ruleid
5616
+ @TimerType = timertype
5539
5617
  end
5540
5618
 
5541
5619
  def deserialize(params)
@@ -5555,6 +5633,7 @@ module TencentCloud
5555
5633
  @ValidTimeStampMin = params['ValidTimeStampMin']
5556
5634
  @ValidTimeStampMax = params['ValidTimeStampMax']
5557
5635
  @RuleId = params['RuleId']
5636
+ @TimerType = params['TimerType']
5558
5637
  end
5559
5638
  end
5560
5639
 
@@ -5593,7 +5672,7 @@ module TencentCloud
5593
5672
  # @type Domain: String
5594
5673
  # @param Count: 计数标识
5595
5674
  # @type Count: Integer
5596
- # @param Category: 类别
5675
+ # @param Category: 类别,ip封禁传值auto_deny
5597
5676
  # @type Category: String
5598
5677
  # @param VtsMin: 有效时间最小时间戳
5599
5678
  # @type VtsMin: Integer
@@ -8657,10 +8736,13 @@ module TencentCloud
8657
8736
  # @param BillingItem: 计费项
8658
8737
  # 注意:此字段可能返回 null,表示取不到有效值。
8659
8738
  # @type BillingItem: String
8739
+ # @param FreeDelayFlag: 实例延期释放标识
8740
+ # 注意:此字段可能返回 null,表示取不到有效值。
8741
+ # @type FreeDelayFlag: Integer
8660
8742
 
8661
- attr_accessor :InstanceId, :InstanceName, :ResourceIds, :Region, :PayMode, :RenewFlag, :Mode, :Level, :ValidTime, :BeginTime, :DomainCount, :SubDomainLimit, :MainDomainCount, :MainDomainLimit, :MaxQPS, :QPS, :DomainPkg, :AppId, :Edition, :FraudPkg, :BotPkg, :BotQPS, :ElasticBilling, :AttackLogPost, :MaxBandwidth, :APISecurity, :QpsStandard, :BandwidthStandard, :Status, :SandboxQps, :IsAPISecurityTrial, :MajorEventsPkg, :HybridPkg, :ApiPkg, :MiniPkg, :MiniQpsStandard, :MiniMaxQPS, :LastQpsExceedTime, :MiniExtendPkg, :BillingItem
8743
+ attr_accessor :InstanceId, :InstanceName, :ResourceIds, :Region, :PayMode, :RenewFlag, :Mode, :Level, :ValidTime, :BeginTime, :DomainCount, :SubDomainLimit, :MainDomainCount, :MainDomainLimit, :MaxQPS, :QPS, :DomainPkg, :AppId, :Edition, :FraudPkg, :BotPkg, :BotQPS, :ElasticBilling, :AttackLogPost, :MaxBandwidth, :APISecurity, :QpsStandard, :BandwidthStandard, :Status, :SandboxQps, :IsAPISecurityTrial, :MajorEventsPkg, :HybridPkg, :ApiPkg, :MiniPkg, :MiniQpsStandard, :MiniMaxQPS, :LastQpsExceedTime, :MiniExtendPkg, :BillingItem, :FreeDelayFlag
8662
8744
 
8663
- def initialize(instanceid=nil, instancename=nil, resourceids=nil, region=nil, paymode=nil, renewflag=nil, mode=nil, level=nil, validtime=nil, begintime=nil, domaincount=nil, subdomainlimit=nil, maindomaincount=nil, maindomainlimit=nil, maxqps=nil, qps=nil, domainpkg=nil, appid=nil, edition=nil, fraudpkg=nil, botpkg=nil, botqps=nil, elasticbilling=nil, attacklogpost=nil, maxbandwidth=nil, apisecurity=nil, qpsstandard=nil, bandwidthstandard=nil, status=nil, sandboxqps=nil, isapisecuritytrial=nil, majoreventspkg=nil, hybridpkg=nil, apipkg=nil, minipkg=nil, miniqpsstandard=nil, minimaxqps=nil, lastqpsexceedtime=nil, miniextendpkg=nil, billingitem=nil)
8745
+ def initialize(instanceid=nil, instancename=nil, resourceids=nil, region=nil, paymode=nil, renewflag=nil, mode=nil, level=nil, validtime=nil, begintime=nil, domaincount=nil, subdomainlimit=nil, maindomaincount=nil, maindomainlimit=nil, maxqps=nil, qps=nil, domainpkg=nil, appid=nil, edition=nil, fraudpkg=nil, botpkg=nil, botqps=nil, elasticbilling=nil, attacklogpost=nil, maxbandwidth=nil, apisecurity=nil, qpsstandard=nil, bandwidthstandard=nil, status=nil, sandboxqps=nil, isapisecuritytrial=nil, majoreventspkg=nil, hybridpkg=nil, apipkg=nil, minipkg=nil, miniqpsstandard=nil, minimaxqps=nil, lastqpsexceedtime=nil, miniextendpkg=nil, billingitem=nil, freedelayflag=nil)
8664
8746
  @InstanceId = instanceid
8665
8747
  @InstanceName = instancename
8666
8748
  @ResourceIds = resourceids
@@ -8701,6 +8783,7 @@ module TencentCloud
8701
8783
  @LastQpsExceedTime = lastqpsexceedtime
8702
8784
  @MiniExtendPkg = miniextendpkg
8703
8785
  @BillingItem = billingitem
8786
+ @FreeDelayFlag = freedelayflag
8704
8787
  end
8705
8788
 
8706
8789
  def deserialize(params)
@@ -8774,6 +8857,7 @@ module TencentCloud
8774
8857
  @MiniExtendPkg.deserialize(params['MiniExtendPkg'])
8775
8858
  end
8776
8859
  @BillingItem = params['BillingItem']
8860
+ @FreeDelayFlag = params['FreeDelayFlag']
8777
8861
  end
8778
8862
  end
8779
8863
 
@@ -8835,10 +8919,19 @@ module TencentCloud
8835
8919
  # @param CreateTime: 规则创建时间
8836
8920
  # 注意:此字段可能返回 null,表示取不到有效值。
8837
8921
  # @type CreateTime: Integer
8922
+ # @param JobType: 定时任务类型
8923
+ # 注意:此字段可能返回 null,表示取不到有效值。
8924
+ # @type JobType: String
8925
+ # @param CronType: 周期任务类型
8926
+ # 注意:此字段可能返回 null,表示取不到有效值。
8927
+ # @type CronType: String
8928
+ # @param JobDateTime: 定时任务配置详情
8929
+ # 注意:此字段可能返回 null,表示取不到有效值。
8930
+ # @type JobDateTime: :class:`Tencentcloud::Waf.v20180125.models.JobDateTime`
8838
8931
 
8839
- attr_accessor :Id, :ActionType, :Ip, :Note, :Source, :TsVersion, :ValidTs, :ValidStatus, :RuleId, :IpList, :CreateTime
8932
+ attr_accessor :Id, :ActionType, :Ip, :Note, :Source, :TsVersion, :ValidTs, :ValidStatus, :RuleId, :IpList, :CreateTime, :JobType, :CronType, :JobDateTime
8840
8933
 
8841
- def initialize(id=nil, actiontype=nil, ip=nil, note=nil, source=nil, tsversion=nil, validts=nil, validstatus=nil, ruleid=nil, iplist=nil, createtime=nil)
8934
+ def initialize(id=nil, actiontype=nil, ip=nil, note=nil, source=nil, tsversion=nil, validts=nil, validstatus=nil, ruleid=nil, iplist=nil, createtime=nil, jobtype=nil, crontype=nil, jobdatetime=nil)
8842
8935
  @Id = id
8843
8936
  @ActionType = actiontype
8844
8937
  @Ip = ip
@@ -8850,6 +8943,9 @@ module TencentCloud
8850
8943
  @RuleId = ruleid
8851
8944
  @IpList = iplist
8852
8945
  @CreateTime = createtime
8946
+ @JobType = jobtype
8947
+ @CronType = crontype
8948
+ @JobDateTime = jobdatetime
8853
8949
  end
8854
8950
 
8855
8951
  def deserialize(params)
@@ -8864,6 +8960,12 @@ module TencentCloud
8864
8960
  @RuleId = params['RuleId']
8865
8961
  @IpList = params['IpList']
8866
8962
  @CreateTime = params['CreateTime']
8963
+ @JobType = params['JobType']
8964
+ @CronType = params['CronType']
8965
+ unless params['JobDateTime'].nil?
8966
+ @JobDateTime = JobDateTime.new
8967
+ @JobDateTime.deserialize(params['JobDateTime'])
8968
+ end
8867
8969
  end
8868
8970
  end
8869
8971
 
@@ -9777,16 +9879,25 @@ module TencentCloud
9777
9879
  # @type SignatureId: String
9778
9880
  # @param SignatureIds: 编辑的加白的规则ID列表
9779
9881
  # @type SignatureIds: Array
9882
+ # @param TypeIds: 加白的大类规则ID
9883
+ # @type TypeIds: Array
9884
+ # @param Mode: 0表示按照特定规则ID加白, 1表示按照规则类型加白
9885
+ # @type Mode: Integer
9886
+ # @param Name: 规则名
9887
+ # @type Name: String
9780
9888
 
9781
- attr_accessor :RuleId, :Domain, :Status, :Rules, :SignatureId, :SignatureIds
9889
+ attr_accessor :RuleId, :Domain, :Status, :Rules, :SignatureId, :SignatureIds, :TypeIds, :Mode, :Name
9782
9890
 
9783
- def initialize(ruleid=nil, domain=nil, status=nil, rules=nil, signatureid=nil, signatureids=nil)
9891
+ def initialize(ruleid=nil, domain=nil, status=nil, rules=nil, signatureid=nil, signatureids=nil, typeids=nil, mode=nil, name=nil)
9784
9892
  @RuleId = ruleid
9785
9893
  @Domain = domain
9786
9894
  @Status = status
9787
9895
  @Rules = rules
9788
9896
  @SignatureId = signatureid
9789
9897
  @SignatureIds = signatureids
9898
+ @TypeIds = typeids
9899
+ @Mode = mode
9900
+ @Name = name
9790
9901
  end
9791
9902
 
9792
9903
  def deserialize(params)
@@ -9803,6 +9914,9 @@ module TencentCloud
9803
9914
  end
9804
9915
  @SignatureId = params['SignatureId']
9805
9916
  @SignatureIds = params['SignatureIds']
9917
+ @TypeIds = params['TypeIds']
9918
+ @Mode = params['Mode']
9919
+ @Name = params['Name']
9806
9920
  end
9807
9921
  end
9808
9922
 
@@ -10815,10 +10929,14 @@ module TencentCloud
10815
10929
  # @type SourceType: String
10816
10930
  # @param Note: 备注
10817
10931
  # @type Note: String
10932
+ # @param JobType: 定时配置类型
10933
+ # @type JobType: String
10934
+ # @param JobDateTime: 定时配置详情
10935
+ # @type JobDateTime: :class:`Tencentcloud::Waf.v20180125.models.JobDateTime`
10818
10936
 
10819
- attr_accessor :Domain, :IpList, :ActionType, :ValidTS, :RuleId, :InstanceId, :Edition, :SourceType, :Note
10937
+ attr_accessor :Domain, :IpList, :ActionType, :ValidTS, :RuleId, :InstanceId, :Edition, :SourceType, :Note, :JobType, :JobDateTime
10820
10938
 
10821
- def initialize(domain=nil, iplist=nil, actiontype=nil, validts=nil, ruleid=nil, instanceid=nil, edition=nil, sourcetype=nil, note=nil)
10939
+ def initialize(domain=nil, iplist=nil, actiontype=nil, validts=nil, ruleid=nil, instanceid=nil, edition=nil, sourcetype=nil, note=nil, jobtype=nil, jobdatetime=nil)
10822
10940
  @Domain = domain
10823
10941
  @IpList = iplist
10824
10942
  @ActionType = actiontype
@@ -10828,6 +10946,8 @@ module TencentCloud
10828
10946
  @Edition = edition
10829
10947
  @SourceType = sourcetype
10830
10948
  @Note = note
10949
+ @JobType = jobtype
10950
+ @JobDateTime = jobdatetime
10831
10951
  end
10832
10952
 
10833
10953
  def deserialize(params)
@@ -10840,6 +10960,11 @@ module TencentCloud
10840
10960
  @Edition = params['Edition']
10841
10961
  @SourceType = params['SourceType']
10842
10962
  @Note = params['Note']
10963
+ @JobType = params['JobType']
10964
+ unless params['JobDateTime'].nil?
10965
+ @JobDateTime = JobDateTime.new
10966
+ @JobDateTime.deserialize(params['JobDateTime'])
10967
+ end
10843
10968
  end
10844
10969
  end
10845
10970
 
@@ -12739,10 +12864,12 @@ module TencentCloud
12739
12864
  # @type RuleId: Integer
12740
12865
  # @param CreateTime: 规则创建时间
12741
12866
  # @type CreateTime: Integer
12867
+ # @param Length: url长度
12868
+ # @type Length: Integer
12742
12869
 
12743
- attr_accessor :Domain, :Name, :Status, :Advance, :Limit, :Interval, :Url, :MatchFunc, :ActionType, :Priority, :ValidTime, :OptionsArr, :Edition, :Type, :EventId, :SessionApplied, :RuleId, :CreateTime
12870
+ attr_accessor :Domain, :Name, :Status, :Advance, :Limit, :Interval, :Url, :MatchFunc, :ActionType, :Priority, :ValidTime, :OptionsArr, :Edition, :Type, :EventId, :SessionApplied, :RuleId, :CreateTime, :Length
12744
12871
 
12745
- 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)
12872
+ 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)
12746
12873
  @Domain = domain
12747
12874
  @Name = name
12748
12875
  @Status = status
@@ -12761,6 +12888,7 @@ module TencentCloud
12761
12888
  @SessionApplied = sessionapplied
12762
12889
  @RuleId = ruleid
12763
12890
  @CreateTime = createtime
12891
+ @Length = length
12764
12892
  end
12765
12893
 
12766
12894
  def deserialize(params)
@@ -12782,6 +12910,7 @@ module TencentCloud
12782
12910
  @SessionApplied = params['SessionApplied']
12783
12911
  @RuleId = params['RuleId']
12784
12912
  @CreateTime = params['CreateTime']
12913
+ @Length = params['Length']
12785
12914
  end
12786
12915
  end
12787
12916
 
@@ -13047,10 +13176,13 @@ module TencentCloud
13047
13176
  # @type Description: String
13048
13177
  # @param Reason: 0/1
13049
13178
  # @type Reason: Integer
13179
+ # @param RiskLevel: 1: 高危 2:中危 3:低危
13180
+ # 注意:此字段可能返回 null,表示取不到有效值。
13181
+ # @type RiskLevel: Integer
13050
13182
 
13051
- attr_accessor :ID, :Status, :MainClassID, :SubClassID, :CveID, :CreateTime, :ModifyTime, :MainClassName, :SubClassName, :Description, :Reason
13183
+ attr_accessor :ID, :Status, :MainClassID, :SubClassID, :CveID, :CreateTime, :ModifyTime, :MainClassName, :SubClassName, :Description, :Reason, :RiskLevel
13052
13184
 
13053
- def initialize(id=nil, status=nil, mainclassid=nil, subclassid=nil, cveid=nil, createtime=nil, modifytime=nil, mainclassname=nil, subclassname=nil, description=nil, reason=nil)
13185
+ def initialize(id=nil, status=nil, mainclassid=nil, subclassid=nil, cveid=nil, createtime=nil, modifytime=nil, mainclassname=nil, subclassname=nil, description=nil, reason=nil, risklevel=nil)
13054
13186
  @ID = id
13055
13187
  @Status = status
13056
13188
  @MainClassID = mainclassid
@@ -13062,6 +13194,7 @@ module TencentCloud
13062
13194
  @SubClassName = subclassname
13063
13195
  @Description = description
13064
13196
  @Reason = reason
13197
+ @RiskLevel = risklevel
13065
13198
  end
13066
13199
 
13067
13200
  def deserialize(params)
@@ -13076,6 +13209,7 @@ module TencentCloud
13076
13209
  @SubClassName = params['SubClassName']
13077
13210
  @Description = params['Description']
13078
13211
  @Reason = params['Reason']
13212
+ @RiskLevel = params['RiskLevel']
13079
13213
  end
13080
13214
  end
13081
13215
 
@@ -13089,6 +13223,9 @@ module TencentCloud
13089
13223
  # @type Status: Integer
13090
13224
  # @param MatchField: 匹配域
13091
13225
  # @type MatchField: String
13226
+ # @param MatchParams: 匹配参数
13227
+ # 注意:此字段可能返回 null,表示取不到有效值。
13228
+ # @type MatchParams: String
13092
13229
  # @param MatchMethod: 匹配方法
13093
13230
  # @type MatchMethod: String
13094
13231
  # @param MatchContent: 匹配内容
@@ -13097,18 +13234,47 @@ module TencentCloud
13097
13234
  # @type CreateTime: String
13098
13235
  # @param ModifyTime: 修改时间
13099
13236
  # @type ModifyTime: String
13237
+ # @param SignatureIds: 规则ID列表
13238
+ # 注意:此字段可能返回 null,表示取不到有效值。
13239
+ # @type SignatureIds: Array
13240
+ # @param TypeIds: 大类规则ID列表
13241
+ # 注意:此字段可能返回 null,表示取不到有效值。
13242
+ # @type TypeIds: Array
13243
+ # @param TypeId: 大类规则ID
13244
+ # 注意:此字段可能返回 null,表示取不到有效值。
13245
+ # @type TypeId: String
13246
+ # @param Mode: 0:按照特定规则ID加白, 1:按照规则类型加白
13247
+ # 注意:此字段可能返回 null,表示取不到有效值。
13248
+ # @type Mode: Integer
13249
+ # @param Name: 规则名
13250
+ # 注意:此字段可能返回 null,表示取不到有效值。
13251
+ # @type Name: String
13252
+ # @param MatchInfo: 匹配规则列表
13253
+ # 注意:此字段可能返回 null,表示取不到有效值。
13254
+ # @type MatchInfo: Array
13255
+ # @param MatchInfoStr: MatchInfo字符串
13256
+ # 注意:此字段可能返回 null,表示取不到有效值。
13257
+ # @type MatchInfoStr: String
13100
13258
 
13101
- attr_accessor :WhiteRuleId, :SignatureId, :Status, :MatchField, :MatchMethod, :MatchContent, :CreateTime, :ModifyTime
13259
+ attr_accessor :WhiteRuleId, :SignatureId, :Status, :MatchField, :MatchParams, :MatchMethod, :MatchContent, :CreateTime, :ModifyTime, :SignatureIds, :TypeIds, :TypeId, :Mode, :Name, :MatchInfo, :MatchInfoStr
13102
13260
 
13103
- def initialize(whiteruleid=nil, signatureid=nil, status=nil, matchfield=nil, matchmethod=nil, matchcontent=nil, createtime=nil, modifytime=nil)
13261
+ def initialize(whiteruleid=nil, signatureid=nil, status=nil, matchfield=nil, matchparams=nil, matchmethod=nil, matchcontent=nil, createtime=nil, modifytime=nil, signatureids=nil, typeids=nil, typeid=nil, mode=nil, name=nil, matchinfo=nil, matchinfostr=nil)
13104
13262
  @WhiteRuleId = whiteruleid
13105
13263
  @SignatureId = signatureid
13106
13264
  @Status = status
13107
13265
  @MatchField = matchfield
13266
+ @MatchParams = matchparams
13108
13267
  @MatchMethod = matchmethod
13109
13268
  @MatchContent = matchcontent
13110
13269
  @CreateTime = createtime
13111
13270
  @ModifyTime = modifytime
13271
+ @SignatureIds = signatureids
13272
+ @TypeIds = typeids
13273
+ @TypeId = typeid
13274
+ @Mode = mode
13275
+ @Name = name
13276
+ @MatchInfo = matchinfo
13277
+ @MatchInfoStr = matchinfostr
13112
13278
  end
13113
13279
 
13114
13280
  def deserialize(params)
@@ -13116,10 +13282,25 @@ module TencentCloud
13116
13282
  @SignatureId = params['SignatureId']
13117
13283
  @Status = params['Status']
13118
13284
  @MatchField = params['MatchField']
13285
+ @MatchParams = params['MatchParams']
13119
13286
  @MatchMethod = params['MatchMethod']
13120
13287
  @MatchContent = params['MatchContent']
13121
13288
  @CreateTime = params['CreateTime']
13122
13289
  @ModifyTime = params['ModifyTime']
13290
+ @SignatureIds = params['SignatureIds']
13291
+ @TypeIds = params['TypeIds']
13292
+ @TypeId = params['TypeId']
13293
+ @Mode = params['Mode']
13294
+ @Name = params['Name']
13295
+ unless params['MatchInfo'].nil?
13296
+ @MatchInfo = []
13297
+ params['MatchInfo'].each do |i|
13298
+ userwhiteruleitem_tmp = UserWhiteRuleItem.new
13299
+ userwhiteruleitem_tmp.deserialize(i)
13300
+ @MatchInfo << userwhiteruleitem_tmp
13301
+ end
13302
+ end
13303
+ @MatchInfoStr = params['MatchInfoStr']
13123
13304
  end
13124
13305
  end
13125
13306
 
@@ -13131,19 +13312,24 @@ module TencentCloud
13131
13312
  # @type MatchMethod: String
13132
13313
  # @param MatchContent: 匹配内容
13133
13314
  # @type MatchContent: String
13315
+ # @param MatchParams: 匹配参数名
13316
+ # 注意:此字段可能返回 null,表示取不到有效值。
13317
+ # @type MatchParams: String
13134
13318
 
13135
- attr_accessor :MatchField, :MatchMethod, :MatchContent
13319
+ attr_accessor :MatchField, :MatchMethod, :MatchContent, :MatchParams
13136
13320
 
13137
- def initialize(matchfield=nil, matchmethod=nil, matchcontent=nil)
13321
+ def initialize(matchfield=nil, matchmethod=nil, matchcontent=nil, matchparams=nil)
13138
13322
  @MatchField = matchfield
13139
13323
  @MatchMethod = matchmethod
13140
13324
  @MatchContent = matchcontent
13325
+ @MatchParams = matchparams
13141
13326
  end
13142
13327
 
13143
13328
  def deserialize(params)
13144
13329
  @MatchField = params['MatchField']
13145
13330
  @MatchMethod = params['MatchMethod']
13146
13331
  @MatchContent = params['MatchContent']
13332
+ @MatchParams = params['MatchParams']
13147
13333
  end
13148
13334
  end
13149
13335
 
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.868
4
+ version: 3.0.870
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-18 00:00:00.000000000 Z
11
+ date: 2024-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common