tencentcloud-sdk-waf 3.0.649 → 3.0.650

Sign up to get free protection for your applications and to get access to all the features.
@@ -319,6 +319,105 @@ module TencentCloud
319
319
  end
320
320
  end
321
321
 
322
+ # AddAntiFakeUrl请求参数结构体
323
+ class AddAntiFakeUrlRequest < TencentCloud::Common::AbstractModel
324
+ # @param Domain: 域名
325
+ # @type Domain: String
326
+ # @param Name: 名称
327
+ # @type Name: String
328
+ # @param Uri: uri
329
+ # @type Uri: String
330
+
331
+ attr_accessor :Domain, :Name, :Uri
332
+
333
+ def initialize(domain=nil, name=nil, uri=nil)
334
+ @Domain = domain
335
+ @Name = name
336
+ @Uri = uri
337
+ end
338
+
339
+ def deserialize(params)
340
+ @Domain = params['Domain']
341
+ @Name = params['Name']
342
+ @Uri = params['Uri']
343
+ end
344
+ end
345
+
346
+ # AddAntiFakeUrl返回参数结构体
347
+ class AddAntiFakeUrlResponse < TencentCloud::Common::AbstractModel
348
+ # @param Result: 结果
349
+ # @type Result: String
350
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
351
+ # @type RequestId: String
352
+
353
+ attr_accessor :Result, :RequestId
354
+
355
+ def initialize(result=nil, requestid=nil)
356
+ @Result = result
357
+ @RequestId = requestid
358
+ end
359
+
360
+ def deserialize(params)
361
+ @Result = params['Result']
362
+ @RequestId = params['RequestId']
363
+ end
364
+ end
365
+
366
+ # AddAntiInfoLeakRules请求参数结构体
367
+ class AddAntiInfoLeakRulesRequest < TencentCloud::Common::AbstractModel
368
+ # @param Domain: 域名
369
+ # @type Domain: String
370
+ # @param Name: 名称
371
+ # @type Name: String
372
+ # @param ActionType: 动作
373
+ # @type ActionType: Integer
374
+ # @param Strategies: 策略详情
375
+ # @type Strategies: Array
376
+ # @param Uri: 网址
377
+ # @type Uri: String
378
+
379
+ attr_accessor :Domain, :Name, :ActionType, :Strategies, :Uri
380
+
381
+ def initialize(domain=nil, name=nil, actiontype=nil, strategies=nil, uri=nil)
382
+ @Domain = domain
383
+ @Name = name
384
+ @ActionType = actiontype
385
+ @Strategies = strategies
386
+ @Uri = uri
387
+ end
388
+
389
+ def deserialize(params)
390
+ @Domain = params['Domain']
391
+ @Name = params['Name']
392
+ @ActionType = params['ActionType']
393
+ unless params['Strategies'].nil?
394
+ @Strategies = []
395
+ params['Strategies'].each do |i|
396
+ strategyforantiinfoleak_tmp = StrategyForAntiInfoLeak.new
397
+ strategyforantiinfoleak_tmp.deserialize(i)
398
+ @Strategies << strategyforantiinfoleak_tmp
399
+ end
400
+ end
401
+ @Uri = params['Uri']
402
+ end
403
+ end
404
+
405
+ # AddAntiInfoLeakRules返回参数结构体
406
+ class AddAntiInfoLeakRulesResponse < TencentCloud::Common::AbstractModel
407
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
408
+ # @type RequestId: String
409
+
410
+ attr_accessor :RequestId
411
+
412
+ def initialize(requestid=nil)
413
+ @RequestId = requestid
414
+ end
415
+
416
+ def deserialize(params)
417
+ @RequestId = params['RequestId']
418
+ end
419
+ end
420
+
322
421
  # AddCustomRule请求参数结构体
323
422
  class AddCustomRuleRequest < TencentCloud::Common::AbstractModel
324
423
  # @param Name: 规则名称
@@ -839,6 +938,73 @@ module TencentCloud
839
938
  end
840
939
  end
841
940
 
941
+ # 多域名黑白名单describe返回
942
+ class BatchIpAccessControlData < TencentCloud::Common::AbstractModel
943
+ # @param TotalCount: 总数
944
+ # @type TotalCount: Integer
945
+ # @param Res: 黑白名单条目
946
+ # @type Res: Array
947
+
948
+ attr_accessor :TotalCount, :Res
949
+
950
+ def initialize(totalcount=nil, res=nil)
951
+ @TotalCount = totalcount
952
+ @Res = res
953
+ end
954
+
955
+ def deserialize(params)
956
+ @TotalCount = params['TotalCount']
957
+ unless params['Res'].nil?
958
+ @Res = []
959
+ params['Res'].each do |i|
960
+ batchipaccesscontrolitem_tmp = BatchIpAccessControlItem.new
961
+ batchipaccesscontrolitem_tmp.deserialize(i)
962
+ @Res << batchipaccesscontrolitem_tmp
963
+ end
964
+ end
965
+ end
966
+ end
967
+
968
+ # 多域名黑白名单列表Ip
969
+ class BatchIpAccessControlItem < TencentCloud::Common::AbstractModel
970
+ # @param ActionType: 黑名单42或白名单40
971
+ # @type ActionType: Integer
972
+ # @param Ip: 黑白名单的IP
973
+ # @type Ip: String
974
+ # @param Note: 备注
975
+ # @type Note: String
976
+ # @param Source: 添加路径
977
+ # @type Source: String
978
+ # @param TsVersion: 修改时间
979
+ # @type TsVersion: Integer
980
+ # @param ValidTs: 超时时间
981
+ # @type ValidTs: Integer
982
+ # @param Hosts: 域名列表
983
+ # @type Hosts: Array
984
+
985
+ attr_accessor :ActionType, :Ip, :Note, :Source, :TsVersion, :ValidTs, :Hosts
986
+
987
+ def initialize(actiontype=nil, ip=nil, note=nil, source=nil, tsversion=nil, validts=nil, hosts=nil)
988
+ @ActionType = actiontype
989
+ @Ip = ip
990
+ @Note = note
991
+ @Source = source
992
+ @TsVersion = tsversion
993
+ @ValidTs = validts
994
+ @Hosts = hosts
995
+ end
996
+
997
+ def deserialize(params)
998
+ @ActionType = params['ActionType']
999
+ @Ip = params['Ip']
1000
+ @Note = params['Note']
1001
+ @Source = params['Source']
1002
+ @TsVersion = params['TsVersion']
1003
+ @ValidTs = params['ValidTs']
1004
+ @Hosts = params['Hosts']
1005
+ end
1006
+ end
1007
+
842
1008
  # Bot资源信息
843
1009
  class BotPkg < TencentCloud::Common::AbstractModel
844
1010
  # @param ResourceIds: 资源id
@@ -961,6 +1127,166 @@ module TencentCloud
961
1127
  end
962
1128
  end
963
1129
 
1130
+ # 数据封装
1131
+ class CCRuleData < TencentCloud::Common::AbstractModel
1132
+ # @param Res: cc规则
1133
+ # @type Res: Array
1134
+ # @param TotalCount: 规则数目
1135
+ # @type TotalCount: Integer
1136
+
1137
+ attr_accessor :Res, :TotalCount
1138
+
1139
+ def initialize(res=nil, totalcount=nil)
1140
+ @Res = res
1141
+ @TotalCount = totalcount
1142
+ end
1143
+
1144
+ def deserialize(params)
1145
+ unless params['Res'].nil?
1146
+ @Res = []
1147
+ params['Res'].each do |i|
1148
+ ccruleitem_tmp = CCRuleItem.new
1149
+ ccruleitem_tmp.deserialize(i)
1150
+ @Res << ccruleitem_tmp
1151
+ end
1152
+ end
1153
+ @TotalCount = params['TotalCount']
1154
+ end
1155
+ end
1156
+
1157
+ # cc规则
1158
+ class CCRuleItem < TencentCloud::Common::AbstractModel
1159
+ # @param ActionType: 动作
1160
+ # @type ActionType: Integer
1161
+ # @param Advance: 高级模式
1162
+ # @type Advance: Integer
1163
+ # @param Interval: 时间周期
1164
+ # @type Interval: Integer
1165
+ # @param Limit: 限制次数
1166
+ # @type Limit: Integer
1167
+ # @param MatchFunc: 匹配方法
1168
+ # @type MatchFunc: Integer
1169
+ # @param Name: 名称
1170
+ # @type Name: String
1171
+ # @param Priority: 优先级
1172
+ # @type Priority: Integer
1173
+ # @param Status: 状态
1174
+ # @type Status: Integer
1175
+ # @param TsVersion: 更新时间戳
1176
+ # @type TsVersion: Integer
1177
+ # @param Url: 匹配url
1178
+ # @type Url: String
1179
+ # @param ValidTime: 策略动作有效时间
1180
+ # @type ValidTime: Integer
1181
+ # @param OptionsArr: 高级参数
1182
+ # 注意:此字段可能返回 null,表示取不到有效值。
1183
+ # @type OptionsArr: String
1184
+
1185
+ attr_accessor :ActionType, :Advance, :Interval, :Limit, :MatchFunc, :Name, :Priority, :Status, :TsVersion, :Url, :ValidTime, :OptionsArr
1186
+
1187
+ 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)
1188
+ @ActionType = actiontype
1189
+ @Advance = advance
1190
+ @Interval = interval
1191
+ @Limit = limit
1192
+ @MatchFunc = matchfunc
1193
+ @Name = name
1194
+ @Priority = priority
1195
+ @Status = status
1196
+ @TsVersion = tsversion
1197
+ @Url = url
1198
+ @ValidTime = validtime
1199
+ @OptionsArr = optionsarr
1200
+ end
1201
+
1202
+ def deserialize(params)
1203
+ @ActionType = params['ActionType']
1204
+ @Advance = params['Advance']
1205
+ @Interval = params['Interval']
1206
+ @Limit = params['Limit']
1207
+ @MatchFunc = params['MatchFunc']
1208
+ @Name = params['Name']
1209
+ @Priority = params['Priority']
1210
+ @Status = params['Status']
1211
+ @TsVersion = params['TsVersion']
1212
+ @Url = params['Url']
1213
+ @ValidTime = params['ValidTime']
1214
+ @OptionsArr = params['OptionsArr']
1215
+ end
1216
+ end
1217
+
1218
+ # 防篡改url元素
1219
+ class CacheUrlItem < TencentCloud::Common::AbstractModel
1220
+ # @param Id: Id
1221
+ # @type Id: String
1222
+ # @param Name: 名称
1223
+ # @type Name: String
1224
+ # @param Domain: 域名
1225
+ # @type Domain: String
1226
+ # @param Uri: uri
1227
+ # @type Uri: String
1228
+ # @param Protocol: 协议
1229
+ # @type Protocol: String
1230
+ # @param Status: 状态
1231
+ # @type Status: String
1232
+
1233
+ attr_accessor :Id, :Name, :Domain, :Uri, :Protocol, :Status
1234
+
1235
+ def initialize(id=nil, name=nil, domain=nil, uri=nil, protocol=nil, status=nil)
1236
+ @Id = id
1237
+ @Name = name
1238
+ @Domain = domain
1239
+ @Uri = uri
1240
+ @Protocol = protocol
1241
+ @Status = status
1242
+ end
1243
+
1244
+ def deserialize(params)
1245
+ @Id = params['Id']
1246
+ @Name = params['Name']
1247
+ @Domain = params['Domain']
1248
+ @Uri = params['Uri']
1249
+ @Protocol = params['Protocol']
1250
+ @Status = params['Status']
1251
+ end
1252
+ end
1253
+
1254
+ # 防篡改url元素
1255
+ class CacheUrlItems < TencentCloud::Common::AbstractModel
1256
+ # @param Id: 标识
1257
+ # @type Id: Integer
1258
+ # @param Name: 名字
1259
+ # @type Name: String
1260
+ # @param Domain: 域名
1261
+ # @type Domain: String
1262
+ # @param Uri: 网址
1263
+ # @type Uri: String
1264
+ # @param Protocol: 协议
1265
+ # @type Protocol: String
1266
+ # @param Status: 状态
1267
+ # @type Status: Integer
1268
+
1269
+ attr_accessor :Id, :Name, :Domain, :Uri, :Protocol, :Status
1270
+
1271
+ def initialize(id=nil, name=nil, domain=nil, uri=nil, protocol=nil, status=nil)
1272
+ @Id = id
1273
+ @Name = name
1274
+ @Domain = domain
1275
+ @Uri = uri
1276
+ @Protocol = protocol
1277
+ @Status = status
1278
+ end
1279
+
1280
+ def deserialize(params)
1281
+ @Id = params['Id']
1282
+ @Name = params['Name']
1283
+ @Domain = params['Domain']
1284
+ @Uri = params['Uri']
1285
+ @Protocol = params['Protocol']
1286
+ @Status = params['Status']
1287
+ end
1288
+ end
1289
+
964
1290
  # CDC场景下负载均衡WAF的集群信息
965
1291
  class CdcCluster < TencentCloud::Common::AbstractModel
966
1292
  # @param Id: cdc的集群id
@@ -1279,24 +1605,28 @@ module TencentCloud
1279
1605
  end
1280
1606
  end
1281
1607
 
1282
- # DeleteAttackDownloadRecord请求参数结构体
1283
- class DeleteAttackDownloadRecordRequest < TencentCloud::Common::AbstractModel
1284
- # @param Id: 下载任务记录唯一标记
1608
+ # DeleteAntiFakeUrl请求参数结构体
1609
+ class DeleteAntiFakeUrlRequest < TencentCloud::Common::AbstractModel
1610
+ # @param Domain: 域名
1611
+ # @type Domain: String
1612
+ # @param Id: Id
1285
1613
  # @type Id: Integer
1286
1614
 
1287
- attr_accessor :Id
1615
+ attr_accessor :Domain, :Id
1288
1616
 
1289
- def initialize(id=nil)
1617
+ def initialize(domain=nil, id=nil)
1618
+ @Domain = domain
1290
1619
  @Id = id
1291
1620
  end
1292
1621
 
1293
1622
  def deserialize(params)
1623
+ @Domain = params['Domain']
1294
1624
  @Id = params['Id']
1295
1625
  end
1296
1626
  end
1297
1627
 
1298
- # DeleteAttackDownloadRecord返回参数结构体
1299
- class DeleteAttackDownloadRecordResponse < TencentCloud::Common::AbstractModel
1628
+ # DeleteAntiFakeUrl返回参数结构体
1629
+ class DeleteAntiFakeUrlResponse < TencentCloud::Common::AbstractModel
1300
1630
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1301
1631
  # @type RequestId: String
1302
1632
 
@@ -1311,32 +1641,28 @@ module TencentCloud
1311
1641
  end
1312
1642
  end
1313
1643
 
1314
- # DeleteCustomRule请求参数结构体
1315
- class DeleteCustomRuleRequest < TencentCloud::Common::AbstractModel
1316
- # @param Domain: 删除的域名
1644
+ # DeleteAntiInfoLeakRule请求参数结构体
1645
+ class DeleteAntiInfoLeakRuleRequest < TencentCloud::Common::AbstractModel
1646
+ # @param Domain: 域名
1317
1647
  # @type Domain: String
1318
- # @param RuleId: 删除的规则ID
1319
- # @type RuleId: String
1320
- # @param Edition: WAF的版本,clb-waf代表负载均衡WAF、sparta-waf代表SaaS WAF,默认是sparta-waf。
1321
- # @type Edition: String
1648
+ # @param RuleId: 规则id
1649
+ # @type RuleId: Integer
1322
1650
 
1323
- attr_accessor :Domain, :RuleId, :Edition
1651
+ attr_accessor :Domain, :RuleId
1324
1652
 
1325
- def initialize(domain=nil, ruleid=nil, edition=nil)
1653
+ def initialize(domain=nil, ruleid=nil)
1326
1654
  @Domain = domain
1327
1655
  @RuleId = ruleid
1328
- @Edition = edition
1329
1656
  end
1330
1657
 
1331
1658
  def deserialize(params)
1332
1659
  @Domain = params['Domain']
1333
1660
  @RuleId = params['RuleId']
1334
- @Edition = params['Edition']
1335
1661
  end
1336
1662
  end
1337
1663
 
1338
- # DeleteCustomRule返回参数结构体
1339
- class DeleteCustomRuleResponse < TencentCloud::Common::AbstractModel
1664
+ # DeleteAntiInfoLeakRule返回参数结构体
1665
+ class DeleteAntiInfoLeakRuleResponse < TencentCloud::Common::AbstractModel
1340
1666
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1341
1667
  # @type RequestId: String
1342
1668
 
@@ -1351,13 +1677,130 @@ module TencentCloud
1351
1677
  end
1352
1678
  end
1353
1679
 
1354
- # DeleteCustomWhiteRule请求参数结构体
1355
- class DeleteCustomWhiteRuleRequest < TencentCloud::Common::AbstractModel
1356
- # @param Domain: 删除的域名
1357
- # @type Domain: String
1358
- # @param RuleId: 删除的规则ID
1359
- # @type RuleId: Integer
1360
-
1680
+ # DeleteAttackDownloadRecord请求参数结构体
1681
+ class DeleteAttackDownloadRecordRequest < TencentCloud::Common::AbstractModel
1682
+ # @param Id: 下载任务记录唯一标记
1683
+ # @type Id: Integer
1684
+
1685
+ attr_accessor :Id
1686
+
1687
+ def initialize(id=nil)
1688
+ @Id = id
1689
+ end
1690
+
1691
+ def deserialize(params)
1692
+ @Id = params['Id']
1693
+ end
1694
+ end
1695
+
1696
+ # DeleteAttackDownloadRecord返回参数结构体
1697
+ class DeleteAttackDownloadRecordResponse < TencentCloud::Common::AbstractModel
1698
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1699
+ # @type RequestId: String
1700
+
1701
+ attr_accessor :RequestId
1702
+
1703
+ def initialize(requestid=nil)
1704
+ @RequestId = requestid
1705
+ end
1706
+
1707
+ def deserialize(params)
1708
+ @RequestId = params['RequestId']
1709
+ end
1710
+ end
1711
+
1712
+ # DeleteCCRule请求参数结构体
1713
+ class DeleteCCRuleRequest < TencentCloud::Common::AbstractModel
1714
+ # @param Domain: 域名
1715
+ # @type Domain: String
1716
+ # @param Name: 规则名称
1717
+ # @type Name: String
1718
+ # @param Edition: clb-waf或者sparta-waf
1719
+ # @type Edition: String
1720
+
1721
+ attr_accessor :Domain, :Name, :Edition
1722
+
1723
+ def initialize(domain=nil, name=nil, edition=nil)
1724
+ @Domain = domain
1725
+ @Name = name
1726
+ @Edition = edition
1727
+ end
1728
+
1729
+ def deserialize(params)
1730
+ @Domain = params['Domain']
1731
+ @Name = params['Name']
1732
+ @Edition = params['Edition']
1733
+ end
1734
+ end
1735
+
1736
+ # DeleteCCRule返回参数结构体
1737
+ class DeleteCCRuleResponse < TencentCloud::Common::AbstractModel
1738
+ # @param Data: 一般为null
1739
+ # 注意:此字段可能返回 null,表示取不到有效值。
1740
+ # @type Data: String
1741
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1742
+ # @type RequestId: String
1743
+
1744
+ attr_accessor :Data, :RequestId
1745
+
1746
+ def initialize(data=nil, requestid=nil)
1747
+ @Data = data
1748
+ @RequestId = requestid
1749
+ end
1750
+
1751
+ def deserialize(params)
1752
+ @Data = params['Data']
1753
+ @RequestId = params['RequestId']
1754
+ end
1755
+ end
1756
+
1757
+ # DeleteCustomRule请求参数结构体
1758
+ class DeleteCustomRuleRequest < TencentCloud::Common::AbstractModel
1759
+ # @param Domain: 删除的域名
1760
+ # @type Domain: String
1761
+ # @param RuleId: 删除的规则ID
1762
+ # @type RuleId: String
1763
+ # @param Edition: WAF的版本,clb-waf代表负载均衡WAF、sparta-waf代表SaaS WAF,默认是sparta-waf。
1764
+ # @type Edition: String
1765
+
1766
+ attr_accessor :Domain, :RuleId, :Edition
1767
+
1768
+ def initialize(domain=nil, ruleid=nil, edition=nil)
1769
+ @Domain = domain
1770
+ @RuleId = ruleid
1771
+ @Edition = edition
1772
+ end
1773
+
1774
+ def deserialize(params)
1775
+ @Domain = params['Domain']
1776
+ @RuleId = params['RuleId']
1777
+ @Edition = params['Edition']
1778
+ end
1779
+ end
1780
+
1781
+ # DeleteCustomRule返回参数结构体
1782
+ class DeleteCustomRuleResponse < TencentCloud::Common::AbstractModel
1783
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1784
+ # @type RequestId: String
1785
+
1786
+ attr_accessor :RequestId
1787
+
1788
+ def initialize(requestid=nil)
1789
+ @RequestId = requestid
1790
+ end
1791
+
1792
+ def deserialize(params)
1793
+ @RequestId = params['RequestId']
1794
+ end
1795
+ end
1796
+
1797
+ # DeleteCustomWhiteRule请求参数结构体
1798
+ class DeleteCustomWhiteRuleRequest < TencentCloud::Common::AbstractModel
1799
+ # @param Domain: 删除的域名
1800
+ # @type Domain: String
1801
+ # @param RuleId: 删除的规则ID
1802
+ # @type RuleId: Integer
1803
+
1361
1804
  attr_accessor :Domain, :RuleId
1362
1805
 
1363
1806
  def initialize(domain=nil, ruleid=nil)
@@ -1864,151 +2307,643 @@ module TencentCloud
1864
2307
  end
1865
2308
  end
1866
2309
 
1867
- # DescribeAttackOverview请求参数结构体
1868
- class DescribeAttackOverviewRequest < TencentCloud::Common::AbstractModel
1869
- # @param FromTime: 查询开始时间
1870
- # @type FromTime: String
1871
- # @param ToTime: 查询结束时间
1872
- # @type ToTime: String
1873
- # @param Appid: 客户的Appid
1874
- # @type Appid: Integer
1875
- # @param Domain: 被查询的域名
2310
+ # DescribeAntiFakeRules请求参数结构体
2311
+ class DescribeAntiFakeRulesRequest < TencentCloud::Common::AbstractModel
2312
+ # @param Domain: 域名
1876
2313
  # @type Domain: String
1877
- # @param Edition: 只有两个值有效,sparta-waf,clb-waf,不传则不过滤
1878
- # @type Edition: String
1879
- # @param InstanceID: WAF实例ID,不传则不过滤
1880
- # @type InstanceID: String
2314
+ # @param Offset: 偏移
2315
+ # @type Offset: Integer
2316
+ # @param Limit: 容量
2317
+ # @type Limit: Integer
2318
+ # @param Filters: 过滤数组,name可以是如下的值: RuleID,ParamName,Url,Action,Method,Source,Status
2319
+ # @type Filters: Array
2320
+ # @param Order: asc或者desc
2321
+ # @type Order: String
2322
+ # @param By: 目前支持根据ts排序
2323
+ # @type By: String
1881
2324
 
1882
- attr_accessor :FromTime, :ToTime, :Appid, :Domain, :Edition, :InstanceID
2325
+ attr_accessor :Domain, :Offset, :Limit, :Filters, :Order, :By
1883
2326
 
1884
- def initialize(fromtime=nil, totime=nil, appid=nil, domain=nil, edition=nil, instanceid=nil)
1885
- @FromTime = fromtime
1886
- @ToTime = totime
1887
- @Appid = appid
2327
+ def initialize(domain=nil, offset=nil, limit=nil, filters=nil, order=nil, by=nil)
1888
2328
  @Domain = domain
1889
- @Edition = edition
1890
- @InstanceID = instanceid
2329
+ @Offset = offset
2330
+ @Limit = limit
2331
+ @Filters = filters
2332
+ @Order = order
2333
+ @By = by
1891
2334
  end
1892
2335
 
1893
2336
  def deserialize(params)
1894
- @FromTime = params['FromTime']
1895
- @ToTime = params['ToTime']
1896
- @Appid = params['Appid']
1897
2337
  @Domain = params['Domain']
1898
- @Edition = params['Edition']
1899
- @InstanceID = params['InstanceID']
2338
+ @Offset = params['Offset']
2339
+ @Limit = params['Limit']
2340
+ unless params['Filters'].nil?
2341
+ @Filters = []
2342
+ params['Filters'].each do |i|
2343
+ filtersitemnew_tmp = FiltersItemNew.new
2344
+ filtersitemnew_tmp.deserialize(i)
2345
+ @Filters << filtersitemnew_tmp
2346
+ end
2347
+ end
2348
+ @Order = params['Order']
2349
+ @By = params['By']
1900
2350
  end
1901
2351
  end
1902
2352
 
1903
- # DescribeAttackOverview返回参数结构体
1904
- class DescribeAttackOverviewResponse < TencentCloud::Common::AbstractModel
1905
- # @param AccessCount: 访问请求总数
1906
- # @type AccessCount: Integer
1907
- # @param AttackCount: Web攻击总数
1908
- # @type AttackCount: Integer
1909
- # @param ACLCount: 访问控制总数
1910
- # @type ACLCount: Integer
1911
- # @param CCCount: CC攻击总数
1912
- # @type CCCount: Integer
1913
- # @param BotCount: Bot攻击总数
1914
- # @type BotCount: Integer
1915
- # @param ApiAssetsCount: api资产总数
1916
- # @type ApiAssetsCount: Integer
1917
- # @param ApiRiskEventCount: api风险事件数量
2353
+ # DescribeAntiFakeRules返回参数结构体
2354
+ class DescribeAntiFakeRulesResponse < TencentCloud::Common::AbstractModel
2355
+ # @param Data: 返回值
1918
2356
  # 注意:此字段可能返回 null,表示取不到有效值。
1919
- # @type ApiRiskEventCount: Integer
2357
+ # @type Data: Array
2358
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2359
+ # @type RequestId: String
2360
+
2361
+ attr_accessor :Data, :RequestId
2362
+
2363
+ def initialize(data=nil, requestid=nil)
2364
+ @Data = data
2365
+ @RequestId = requestid
2366
+ end
2367
+
2368
+ def deserialize(params)
2369
+ unless params['Data'].nil?
2370
+ @Data = []
2371
+ params['Data'].each do |i|
2372
+ cacheurlitems_tmp = CacheUrlItems.new
2373
+ cacheurlitems_tmp.deserialize(i)
2374
+ @Data << cacheurlitems_tmp
2375
+ end
2376
+ end
2377
+ @RequestId = params['RequestId']
2378
+ end
2379
+ end
2380
+
2381
+ # DescribeAntiFakeUrl请求参数结构体
2382
+ class DescribeAntiFakeUrlRequest < TencentCloud::Common::AbstractModel
2383
+ # @param Domain: 域名
2384
+ # @type Domain: String
2385
+ # @param PageInfo: 翻页参数
2386
+ # @type PageInfo: :class:`Tencentcloud::Waf.v20180125.models.PageInfo`
2387
+
2388
+ attr_accessor :Domain, :PageInfo
2389
+
2390
+ def initialize(domain=nil, pageinfo=nil)
2391
+ @Domain = domain
2392
+ @PageInfo = pageinfo
2393
+ end
2394
+
2395
+ def deserialize(params)
2396
+ @Domain = params['Domain']
2397
+ unless params['PageInfo'].nil?
2398
+ @PageInfo = PageInfo.new
2399
+ @PageInfo.deserialize(params['PageInfo'])
2400
+ end
2401
+ end
2402
+ end
2403
+
2404
+ # DescribeAntiFakeUrl返回参数结构体
2405
+ class DescribeAntiFakeUrlResponse < TencentCloud::Common::AbstractModel
2406
+ # @param Total: 总数
2407
+ # @type Total: String
2408
+ # @param List: 信息
2409
+ # @type List: Array
2410
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2411
+ # @type RequestId: String
2412
+
2413
+ attr_accessor :Total, :List, :RequestId
2414
+
2415
+ def initialize(total=nil, list=nil, requestid=nil)
2416
+ @Total = total
2417
+ @List = list
2418
+ @RequestId = requestid
2419
+ end
2420
+
2421
+ def deserialize(params)
2422
+ @Total = params['Total']
2423
+ unless params['List'].nil?
2424
+ @List = []
2425
+ params['List'].each do |i|
2426
+ cacheurlitem_tmp = CacheUrlItem.new
2427
+ cacheurlitem_tmp.deserialize(i)
2428
+ @List << cacheurlitem_tmp
2429
+ end
2430
+ end
2431
+ @RequestId = params['RequestId']
2432
+ end
2433
+ end
2434
+
2435
+ # DescribeAntiInfoLeakRules请求参数结构体
2436
+ class DescribeAntiInfoLeakRulesRequest < TencentCloud::Common::AbstractModel
2437
+ # @param Domain: 域名
2438
+ # @type Domain: String
2439
+ # @param ActionType: 动作类型
2440
+ # @type ActionType: Integer
2441
+ # @param PageInfo: 翻页
2442
+ # @type PageInfo: :class:`Tencentcloud::Waf.v20180125.models.PageInfo`
2443
+
2444
+ attr_accessor :Domain, :ActionType, :PageInfo
2445
+
2446
+ def initialize(domain=nil, actiontype=nil, pageinfo=nil)
2447
+ @Domain = domain
2448
+ @ActionType = actiontype
2449
+ @PageInfo = pageinfo
2450
+ end
2451
+
2452
+ def deserialize(params)
2453
+ @Domain = params['Domain']
2454
+ @ActionType = params['ActionType']
2455
+ unless params['PageInfo'].nil?
2456
+ @PageInfo = PageInfo.new
2457
+ @PageInfo.deserialize(params['PageInfo'])
2458
+ end
2459
+ end
2460
+ end
2461
+
2462
+ # DescribeAntiInfoLeakRules返回参数结构体
2463
+ class DescribeAntiInfoLeakRulesResponse < TencentCloud::Common::AbstractModel
2464
+ # @param TotalCount: 记录条数
2465
+ # @type TotalCount: String
2466
+ # @param RuleList: 规则列表
2467
+ # @type RuleList: Array
2468
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2469
+ # @type RequestId: String
2470
+
2471
+ attr_accessor :TotalCount, :RuleList, :RequestId
2472
+
2473
+ def initialize(totalcount=nil, rulelist=nil, requestid=nil)
2474
+ @TotalCount = totalcount
2475
+ @RuleList = rulelist
2476
+ @RequestId = requestid
2477
+ end
2478
+
2479
+ def deserialize(params)
2480
+ @TotalCount = params['TotalCount']
2481
+ unless params['RuleList'].nil?
2482
+ @RuleList = []
2483
+ params['RuleList'].each do |i|
2484
+ describeantiinfoleakrulesruleitem_tmp = DescribeAntiInfoLeakRulesRuleItem.new
2485
+ describeantiinfoleakrulesruleitem_tmp.deserialize(i)
2486
+ @RuleList << describeantiinfoleakrulesruleitem_tmp
2487
+ end
2488
+ end
2489
+ @RequestId = params['RequestId']
2490
+ end
2491
+ end
2492
+
2493
+ # DescribeAntiInfoLeakRules返回的规则列表元素
2494
+ class DescribeAntiInfoLeakRulesRuleItem < TencentCloud::Common::AbstractModel
2495
+ # @param RuleId: 规则ID
2496
+ # @type RuleId: String
2497
+ # @param Name: 规则名称
2498
+ # @type Name: String
2499
+ # @param Status: 规则状态
2500
+ # @type Status: String
2501
+ # @param ActionType: 规则动作类型
2502
+ # @type ActionType: String
2503
+ # @param CreateTime: 规则创建时间
2504
+ # @type CreateTime: String
2505
+ # @param Strategies: 详细的规则
2506
+ # @type Strategies: Array
2507
+
2508
+ attr_accessor :RuleId, :Name, :Status, :ActionType, :CreateTime, :Strategies
2509
+
2510
+ def initialize(ruleid=nil, name=nil, status=nil, actiontype=nil, createtime=nil, strategies=nil)
2511
+ @RuleId = ruleid
2512
+ @Name = name
2513
+ @Status = status
2514
+ @ActionType = actiontype
2515
+ @CreateTime = createtime
2516
+ @Strategies = strategies
2517
+ end
2518
+
2519
+ def deserialize(params)
2520
+ @RuleId = params['RuleId']
2521
+ @Name = params['Name']
2522
+ @Status = params['Status']
2523
+ @ActionType = params['ActionType']
2524
+ @CreateTime = params['CreateTime']
2525
+ unless params['Strategies'].nil?
2526
+ @Strategies = []
2527
+ params['Strategies'].each do |i|
2528
+ describeantiinfoleakrulesstrategyitem_tmp = DescribeAntiInfoLeakRulesStrategyItem.new
2529
+ describeantiinfoleakrulesstrategyitem_tmp.deserialize(i)
2530
+ @Strategies << describeantiinfoleakrulesstrategyitem_tmp
2531
+ end
2532
+ end
2533
+ end
2534
+ end
2535
+
2536
+ # DescribeAntiInfoLeakRules返回的规则元素中的具体的规则元素
2537
+ class DescribeAntiInfoLeakRulesStrategyItem < TencentCloud::Common::AbstractModel
2538
+ # @param Field: 字段
2539
+ # @type Field: String
2540
+ # @param CompareFunc: 条件
2541
+ # @type CompareFunc: String
2542
+ # @param Content: 内容
2543
+ # @type Content: String
2544
+
2545
+ attr_accessor :Field, :CompareFunc, :Content
2546
+
2547
+ def initialize(field=nil, comparefunc=nil, content=nil)
2548
+ @Field = field
2549
+ @CompareFunc = comparefunc
2550
+ @Content = content
2551
+ end
2552
+
2553
+ def deserialize(params)
2554
+ @Field = params['Field']
2555
+ @CompareFunc = params['CompareFunc']
2556
+ @Content = params['Content']
2557
+ end
2558
+ end
2559
+
2560
+ # DescribeAntiInfoLeakageRules请求参数结构体
2561
+ class DescribeAntiInfoLeakageRulesRequest < TencentCloud::Common::AbstractModel
2562
+ # @param Domain: 域名
2563
+ # @type Domain: String
2564
+
2565
+ attr_accessor :Domain
2566
+
2567
+ def initialize(domain=nil)
2568
+ @Domain = domain
2569
+ end
2570
+
2571
+ def deserialize(params)
2572
+ @Domain = params['Domain']
2573
+ end
2574
+ end
2575
+
2576
+ # DescribeAntiInfoLeakageRules返回参数结构体
2577
+ class DescribeAntiInfoLeakageRulesResponse < TencentCloud::Common::AbstractModel
2578
+ # @param Total: 记录条数
2579
+ # @type Total: Integer
2580
+ # @param RuleList: 规则列表
2581
+ # @type RuleList: Array
2582
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2583
+ # @type RequestId: String
2584
+
2585
+ attr_accessor :Total, :RuleList, :RequestId
2586
+
2587
+ def initialize(total=nil, rulelist=nil, requestid=nil)
2588
+ @Total = total
2589
+ @RuleList = rulelist
2590
+ @RequestId = requestid
2591
+ end
2592
+
2593
+ def deserialize(params)
2594
+ @Total = params['Total']
2595
+ unless params['RuleList'].nil?
2596
+ @RuleList = []
2597
+ params['RuleList'].each do |i|
2598
+ describeantileakageitem_tmp = DescribeAntiLeakageItem.new
2599
+ describeantileakageitem_tmp.deserialize(i)
2600
+ @RuleList << describeantileakageitem_tmp
2601
+ end
2602
+ end
2603
+ @RequestId = params['RequestId']
2604
+ end
2605
+ end
2606
+
2607
+ # 出参
2608
+ class DescribeAntiLeakageItem < TencentCloud::Common::AbstractModel
2609
+ # @param RuleId: 规则ID
2610
+ # @type RuleId: Integer
2611
+ # @param Name: 名称
2612
+ # @type Name: String
2613
+ # @param Status: 状态值
2614
+ # @type Status: Integer
2615
+ # @param Action: 动作
2616
+ # @type Action: String
2617
+ # @param CreateTime: 创建时间
2618
+ # @type CreateTime: String
2619
+ # @param Strategies: 匹配条件
2620
+ # 注意:此字段可能返回 null,表示取不到有效值。
2621
+ # @type Strategies: Array
2622
+ # @param Uri: 匹配的URL
2623
+ # 注意:此字段可能返回 null,表示取不到有效值。
2624
+ # @type Uri: String
2625
+
2626
+ attr_accessor :RuleId, :Name, :Status, :Action, :CreateTime, :Strategies, :Uri
2627
+
2628
+ def initialize(ruleid=nil, name=nil, status=nil, action=nil, createtime=nil, strategies=nil, uri=nil)
2629
+ @RuleId = ruleid
2630
+ @Name = name
2631
+ @Status = status
2632
+ @Action = action
2633
+ @CreateTime = createtime
2634
+ @Strategies = strategies
2635
+ @Uri = uri
2636
+ end
2637
+
2638
+ def deserialize(params)
2639
+ @RuleId = params['RuleId']
2640
+ @Name = params['Name']
2641
+ @Status = params['Status']
2642
+ @Action = params['Action']
2643
+ @CreateTime = params['CreateTime']
2644
+ unless params['Strategies'].nil?
2645
+ @Strategies = []
2646
+ params['Strategies'].each do |i|
2647
+ describeantiinfoleakrulesstrategyitem_tmp = DescribeAntiInfoLeakRulesStrategyItem.new
2648
+ describeantiinfoleakrulesstrategyitem_tmp.deserialize(i)
2649
+ @Strategies << describeantiinfoleakrulesstrategyitem_tmp
2650
+ end
2651
+ end
2652
+ @Uri = params['Uri']
2653
+ end
2654
+ end
2655
+
2656
+ # DescribeAttackOverview请求参数结构体
2657
+ class DescribeAttackOverviewRequest < TencentCloud::Common::AbstractModel
2658
+ # @param FromTime: 查询开始时间
2659
+ # @type FromTime: String
2660
+ # @param ToTime: 查询结束时间
2661
+ # @type ToTime: String
2662
+ # @param Appid: 客户的Appid
2663
+ # @type Appid: Integer
2664
+ # @param Domain: 被查询的域名
2665
+ # @type Domain: String
2666
+ # @param Edition: 只有两个值有效,sparta-waf,clb-waf,不传则不过滤
2667
+ # @type Edition: String
2668
+ # @param InstanceID: WAF实例ID,不传则不过滤
2669
+ # @type InstanceID: String
2670
+
2671
+ attr_accessor :FromTime, :ToTime, :Appid, :Domain, :Edition, :InstanceID
2672
+
2673
+ def initialize(fromtime=nil, totime=nil, appid=nil, domain=nil, edition=nil, instanceid=nil)
2674
+ @FromTime = fromtime
2675
+ @ToTime = totime
2676
+ @Appid = appid
2677
+ @Domain = domain
2678
+ @Edition = edition
2679
+ @InstanceID = instanceid
2680
+ end
2681
+
2682
+ def deserialize(params)
2683
+ @FromTime = params['FromTime']
2684
+ @ToTime = params['ToTime']
2685
+ @Appid = params['Appid']
2686
+ @Domain = params['Domain']
2687
+ @Edition = params['Edition']
2688
+ @InstanceID = params['InstanceID']
2689
+ end
2690
+ end
2691
+
2692
+ # DescribeAttackOverview返回参数结构体
2693
+ class DescribeAttackOverviewResponse < TencentCloud::Common::AbstractModel
2694
+ # @param AccessCount: 访问请求总数
2695
+ # @type AccessCount: Integer
2696
+ # @param AttackCount: Web攻击总数
2697
+ # @type AttackCount: Integer
2698
+ # @param ACLCount: 访问控制总数
2699
+ # @type ACLCount: Integer
2700
+ # @param CCCount: CC攻击总数
2701
+ # @type CCCount: Integer
2702
+ # @param BotCount: Bot攻击总数
2703
+ # @type BotCount: Integer
2704
+ # @param ApiAssetsCount: api资产总数
2705
+ # @type ApiAssetsCount: Integer
2706
+ # @param ApiRiskEventCount: api风险事件数量
2707
+ # 注意:此字段可能返回 null,表示取不到有效值。
2708
+ # @type ApiRiskEventCount: Integer
2709
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2710
+ # @type RequestId: String
2711
+
2712
+ attr_accessor :AccessCount, :AttackCount, :ACLCount, :CCCount, :BotCount, :ApiAssetsCount, :ApiRiskEventCount, :RequestId
2713
+
2714
+ def initialize(accesscount=nil, attackcount=nil, aclcount=nil, cccount=nil, botcount=nil, apiassetscount=nil, apiriskeventcount=nil, requestid=nil)
2715
+ @AccessCount = accesscount
2716
+ @AttackCount = attackcount
2717
+ @ACLCount = aclcount
2718
+ @CCCount = cccount
2719
+ @BotCount = botcount
2720
+ @ApiAssetsCount = apiassetscount
2721
+ @ApiRiskEventCount = apiriskeventcount
2722
+ @RequestId = requestid
2723
+ end
2724
+
2725
+ def deserialize(params)
2726
+ @AccessCount = params['AccessCount']
2727
+ @AttackCount = params['AttackCount']
2728
+ @ACLCount = params['ACLCount']
2729
+ @CCCount = params['CCCount']
2730
+ @BotCount = params['BotCount']
2731
+ @ApiAssetsCount = params['ApiAssetsCount']
2732
+ @ApiRiskEventCount = params['ApiRiskEventCount']
2733
+ @RequestId = params['RequestId']
2734
+ end
2735
+ end
2736
+
2737
+ # DescribeAutoDenyIP请求参数结构体
2738
+ class DescribeAutoDenyIPRequest < TencentCloud::Common::AbstractModel
2739
+ # @param Domain: 域名
2740
+ # @type Domain: String
2741
+ # @param Ip: 查询IP自动封禁状态
2742
+ # @type Ip: String
2743
+ # @param Count: 计数标识
2744
+ # @type Count: Integer
2745
+ # @param Category: 类别
2746
+ # @type Category: String
2747
+ # @param VtsMin: 有效时间最小时间戳
2748
+ # @type VtsMin: Integer
2749
+ # @param VtsMax: 有效时间最大时间戳
2750
+ # @type VtsMax: Integer
2751
+ # @param CtsMin: 创建时间最小时间戳
2752
+ # @type CtsMin: Integer
2753
+ # @param CtsMax: 创建时间最大时间戳
2754
+ # @type CtsMax: Integer
2755
+ # @param Skip: 偏移量
2756
+ # @type Skip: Integer
2757
+ # @param Limit: 限制条数
2758
+ # @type Limit: Integer
2759
+ # @param Name: 策略名字
2760
+ # @type Name: String
2761
+ # @param Sort: 排序参数
2762
+ # @type Sort: String
2763
+
2764
+ attr_accessor :Domain, :Ip, :Count, :Category, :VtsMin, :VtsMax, :CtsMin, :CtsMax, :Skip, :Limit, :Name, :Sort
2765
+
2766
+ def initialize(domain=nil, ip=nil, count=nil, category=nil, vtsmin=nil, vtsmax=nil, ctsmin=nil, ctsmax=nil, skip=nil, limit=nil, name=nil, sort=nil)
2767
+ @Domain = domain
2768
+ @Ip = ip
2769
+ @Count = count
2770
+ @Category = category
2771
+ @VtsMin = vtsmin
2772
+ @VtsMax = vtsmax
2773
+ @CtsMin = ctsmin
2774
+ @CtsMax = ctsmax
2775
+ @Skip = skip
2776
+ @Limit = limit
2777
+ @Name = name
2778
+ @Sort = sort
2779
+ end
2780
+
2781
+ def deserialize(params)
2782
+ @Domain = params['Domain']
2783
+ @Ip = params['Ip']
2784
+ @Count = params['Count']
2785
+ @Category = params['Category']
2786
+ @VtsMin = params['VtsMin']
2787
+ @VtsMax = params['VtsMax']
2788
+ @CtsMin = params['CtsMin']
2789
+ @CtsMax = params['CtsMax']
2790
+ @Skip = params['Skip']
2791
+ @Limit = params['Limit']
2792
+ @Name = params['Name']
2793
+ @Sort = params['Sort']
2794
+ end
2795
+ end
2796
+
2797
+ # DescribeAutoDenyIP返回参数结构体
2798
+ class DescribeAutoDenyIPResponse < TencentCloud::Common::AbstractModel
2799
+ # @param Data: 查询IP封禁状态返回结果
2800
+ # @type Data: :class:`Tencentcloud::Waf.v20180125.models.IpHitItemsData`
2801
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2802
+ # @type RequestId: String
2803
+
2804
+ attr_accessor :Data, :RequestId
2805
+
2806
+ def initialize(data=nil, requestid=nil)
2807
+ @Data = data
2808
+ @RequestId = requestid
2809
+ end
2810
+
2811
+ def deserialize(params)
2812
+ unless params['Data'].nil?
2813
+ @Data = IpHitItemsData.new
2814
+ @Data.deserialize(params['Data'])
2815
+ end
2816
+ @RequestId = params['RequestId']
2817
+ end
2818
+ end
2819
+
2820
+ # DescribeBatchIpAccessControl请求参数结构体
2821
+ class DescribeBatchIpAccessControlRequest < TencentCloud::Common::AbstractModel
2822
+ # @param Filters: 筛选条件,支持 ActionType 40/42,Ip:ip地址,Domain:域名三类
2823
+ # @type Filters: Array
2824
+ # @param OffSet: 偏移
2825
+ # @type OffSet: Integer
2826
+ # @param Limit: 限制
2827
+ # @type Limit: Integer
2828
+ # @param Sort: 排序参数
2829
+ # @type Sort: String
2830
+
2831
+ attr_accessor :Filters, :OffSet, :Limit, :Sort
2832
+
2833
+ def initialize(filters=nil, offset=nil, limit=nil, sort=nil)
2834
+ @Filters = filters
2835
+ @OffSet = offset
2836
+ @Limit = limit
2837
+ @Sort = sort
2838
+ end
2839
+
2840
+ def deserialize(params)
2841
+ unless params['Filters'].nil?
2842
+ @Filters = []
2843
+ params['Filters'].each do |i|
2844
+ filtersitemnew_tmp = FiltersItemNew.new
2845
+ filtersitemnew_tmp.deserialize(i)
2846
+ @Filters << filtersitemnew_tmp
2847
+ end
2848
+ end
2849
+ @OffSet = params['OffSet']
2850
+ @Limit = params['Limit']
2851
+ @Sort = params['Sort']
2852
+ end
2853
+ end
2854
+
2855
+ # DescribeBatchIpAccessControl返回参数结构体
2856
+ class DescribeBatchIpAccessControlResponse < TencentCloud::Common::AbstractModel
2857
+ # @param Data: 输出
2858
+ # 注意:此字段可能返回 null,表示取不到有效值。
2859
+ # @type Data: :class:`Tencentcloud::Waf.v20180125.models.BatchIpAccessControlData`
2860
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2861
+ # @type RequestId: String
2862
+
2863
+ attr_accessor :Data, :RequestId
2864
+
2865
+ def initialize(data=nil, requestid=nil)
2866
+ @Data = data
2867
+ @RequestId = requestid
2868
+ end
2869
+
2870
+ def deserialize(params)
2871
+ unless params['Data'].nil?
2872
+ @Data = BatchIpAccessControlData.new
2873
+ @Data.deserialize(params['Data'])
2874
+ end
2875
+ @RequestId = params['RequestId']
2876
+ end
2877
+ end
2878
+
2879
+ # DescribeCCRuleList请求参数结构体
2880
+ class DescribeCCRuleListRequest < TencentCloud::Common::AbstractModel
2881
+
2882
+
2883
+ def initialize()
2884
+ end
2885
+
2886
+ def deserialize(params)
2887
+ end
2888
+ end
2889
+
2890
+ # DescribeCCRuleList返回参数结构体
2891
+ class DescribeCCRuleListResponse < TencentCloud::Common::AbstractModel
1920
2892
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1921
2893
  # @type RequestId: String
1922
2894
 
1923
- attr_accessor :AccessCount, :AttackCount, :ACLCount, :CCCount, :BotCount, :ApiAssetsCount, :ApiRiskEventCount, :RequestId
2895
+ attr_accessor :RequestId
1924
2896
 
1925
- def initialize(accesscount=nil, attackcount=nil, aclcount=nil, cccount=nil, botcount=nil, apiassetscount=nil, apiriskeventcount=nil, requestid=nil)
1926
- @AccessCount = accesscount
1927
- @AttackCount = attackcount
1928
- @ACLCount = aclcount
1929
- @CCCount = cccount
1930
- @BotCount = botcount
1931
- @ApiAssetsCount = apiassetscount
1932
- @ApiRiskEventCount = apiriskeventcount
2897
+ def initialize(requestid=nil)
1933
2898
  @RequestId = requestid
1934
2899
  end
1935
2900
 
1936
2901
  def deserialize(params)
1937
- @AccessCount = params['AccessCount']
1938
- @AttackCount = params['AttackCount']
1939
- @ACLCount = params['ACLCount']
1940
- @CCCount = params['CCCount']
1941
- @BotCount = params['BotCount']
1942
- @ApiAssetsCount = params['ApiAssetsCount']
1943
- @ApiRiskEventCount = params['ApiRiskEventCount']
1944
2902
  @RequestId = params['RequestId']
1945
2903
  end
1946
2904
  end
1947
2905
 
1948
- # DescribeAutoDenyIP请求参数结构体
1949
- class DescribeAutoDenyIPRequest < TencentCloud::Common::AbstractModel
2906
+ # DescribeCCRule请求参数结构体
2907
+ class DescribeCCRuleRequest < TencentCloud::Common::AbstractModel
1950
2908
  # @param Domain: 域名
1951
2909
  # @type Domain: String
1952
- # @param Ip: 查询IP自动封禁状态
1953
- # @type Ip: String
1954
- # @param Count: 计数标识
1955
- # @type Count: Integer
1956
- # @param Category: 类别
1957
- # @type Category: String
1958
- # @param VtsMin: 有效时间最小时间戳
1959
- # @type VtsMin: Integer
1960
- # @param VtsMax: 有效时间最大时间戳
1961
- # @type VtsMax: Integer
1962
- # @param CtsMin: 创建时间最小时间戳
1963
- # @type CtsMin: Integer
1964
- # @param CtsMax: 创建时间最大时间戳
1965
- # @type CtsMax: Integer
1966
- # @param Skip: 偏移量
1967
- # @type Skip: Integer
1968
- # @param Limit: 限制条数
2910
+ # @param Offset: 页码
2911
+ # @type Offset: Integer
2912
+ # @param Limit: 页的数目
1969
2913
  # @type Limit: Integer
1970
- # @param Name: 策略名字
1971
- # @type Name: String
1972
2914
  # @param Sort: 排序参数
1973
2915
  # @type Sort: String
2916
+ # @param Edition: clb-waf 或者 sparta-waf
2917
+ # @type Edition: String
2918
+ # @param Name: 过滤条件
2919
+ # @type Name: String
1974
2920
 
1975
- attr_accessor :Domain, :Ip, :Count, :Category, :VtsMin, :VtsMax, :CtsMin, :CtsMax, :Skip, :Limit, :Name, :Sort
2921
+ attr_accessor :Domain, :Offset, :Limit, :Sort, :Edition, :Name
1976
2922
 
1977
- def initialize(domain=nil, ip=nil, count=nil, category=nil, vtsmin=nil, vtsmax=nil, ctsmin=nil, ctsmax=nil, skip=nil, limit=nil, name=nil, sort=nil)
2923
+ def initialize(domain=nil, offset=nil, limit=nil, sort=nil, edition=nil, name=nil)
1978
2924
  @Domain = domain
1979
- @Ip = ip
1980
- @Count = count
1981
- @Category = category
1982
- @VtsMin = vtsmin
1983
- @VtsMax = vtsmax
1984
- @CtsMin = ctsmin
1985
- @CtsMax = ctsmax
1986
- @Skip = skip
2925
+ @Offset = offset
1987
2926
  @Limit = limit
1988
- @Name = name
1989
2927
  @Sort = sort
2928
+ @Edition = edition
2929
+ @Name = name
1990
2930
  end
1991
2931
 
1992
2932
  def deserialize(params)
1993
2933
  @Domain = params['Domain']
1994
- @Ip = params['Ip']
1995
- @Count = params['Count']
1996
- @Category = params['Category']
1997
- @VtsMin = params['VtsMin']
1998
- @VtsMax = params['VtsMax']
1999
- @CtsMin = params['CtsMin']
2000
- @CtsMax = params['CtsMax']
2001
- @Skip = params['Skip']
2934
+ @Offset = params['Offset']
2002
2935
  @Limit = params['Limit']
2003
- @Name = params['Name']
2004
2936
  @Sort = params['Sort']
2937
+ @Edition = params['Edition']
2938
+ @Name = params['Name']
2005
2939
  end
2006
2940
  end
2007
2941
 
2008
- # DescribeAutoDenyIP返回参数结构体
2009
- class DescribeAutoDenyIPResponse < TencentCloud::Common::AbstractModel
2010
- # @param Data: 查询IP封禁状态返回结果
2011
- # @type Data: :class:`Tencentcloud::Waf.v20180125.models.IpHitItemsData`
2942
+ # DescribeCCRule返回参数结构体
2943
+ class DescribeCCRuleResponse < TencentCloud::Common::AbstractModel
2944
+ # @param Data: 结果
2945
+ # 注意:此字段可能返回 null,表示取不到有效值。
2946
+ # @type Data: :class:`Tencentcloud::Waf.v20180125.models.CCRuleData`
2012
2947
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2013
2948
  # @type RequestId: String
2014
2949
 
@@ -2021,7 +2956,7 @@ module TencentCloud
2021
2956
 
2022
2957
  def deserialize(params)
2023
2958
  unless params['Data'].nil?
2024
- @Data = IpHitItemsData.new
2959
+ @Data = CCRuleData.new
2025
2960
  @Data.deserialize(params['Data'])
2026
2961
  end
2027
2962
  @RequestId = params['RequestId']
@@ -3296,6 +4231,50 @@ module TencentCloud
3296
4231
  end
3297
4232
  end
3298
4233
 
4234
+ # DescribeSession请求参数结构体
4235
+ class DescribeSessionRequest < TencentCloud::Common::AbstractModel
4236
+ # @param Domain: 域名
4237
+ # @type Domain: String
4238
+ # @param Edition: clb-waf或者sparta-waf
4239
+ # @type Edition: String
4240
+
4241
+ attr_accessor :Domain, :Edition
4242
+
4243
+ def initialize(domain=nil, edition=nil)
4244
+ @Domain = domain
4245
+ @Edition = edition
4246
+ end
4247
+
4248
+ def deserialize(params)
4249
+ @Domain = params['Domain']
4250
+ @Edition = params['Edition']
4251
+ end
4252
+ end
4253
+
4254
+ # DescribeSession返回参数结构体
4255
+ class DescribeSessionResponse < TencentCloud::Common::AbstractModel
4256
+ # @param Data: 返回结果
4257
+ # 注意:此字段可能返回 null,表示取不到有效值。
4258
+ # @type Data: :class:`Tencentcloud::Waf.v20180125.models.SessionData`
4259
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4260
+ # @type RequestId: String
4261
+
4262
+ attr_accessor :Data, :RequestId
4263
+
4264
+ def initialize(data=nil, requestid=nil)
4265
+ @Data = data
4266
+ @RequestId = requestid
4267
+ end
4268
+
4269
+ def deserialize(params)
4270
+ unless params['Data'].nil?
4271
+ @Data = SessionData.new
4272
+ @Data.deserialize(params['Data'])
4273
+ end
4274
+ @RequestId = params['RequestId']
4275
+ end
4276
+ end
4277
+
3299
4278
  # DescribeTlsVersion请求参数结构体
3300
4279
  class DescribeTlsVersionRequest < TencentCloud::Common::AbstractModel
3301
4280
 
@@ -4986,48 +5965,231 @@ module TencentCloud
4986
5965
  end
4987
5966
  end
4988
5967
 
4989
- # 攻击日志统计详情
4990
- class LogHistogramInfo < TencentCloud::Common::AbstractModel
4991
- # @param Count: 日志条数
4992
- # @type Count: Integer
4993
- # @param TimeStamp: 时间戳
4994
- # @type TimeStamp: Integer
5968
+ # 攻击日志统计详情
5969
+ class LogHistogramInfo < TencentCloud::Common::AbstractModel
5970
+ # @param Count: 日志条数
5971
+ # @type Count: Integer
5972
+ # @param TimeStamp: 时间戳
5973
+ # @type TimeStamp: Integer
5974
+
5975
+ attr_accessor :Count, :TimeStamp
5976
+
5977
+ def initialize(count=nil, timestamp=nil)
5978
+ @Count = count
5979
+ @TimeStamp = timestamp
5980
+ end
5981
+
5982
+ def deserialize(params)
5983
+ @Count = params['Count']
5984
+ @TimeStamp = params['TimeStamp']
5985
+ end
5986
+ end
5987
+
5988
+ # ModifyAccessPeriod请求参数结构体
5989
+ class ModifyAccessPeriodRequest < TencentCloud::Common::AbstractModel
5990
+ # @param Period: 访问日志保存期限,范围为[1, 30]
5991
+ # @type Period: Integer
5992
+ # @param TopicId: 日志主题
5993
+ # @type TopicId: String
5994
+
5995
+ attr_accessor :Period, :TopicId
5996
+
5997
+ def initialize(period=nil, topicid=nil)
5998
+ @Period = period
5999
+ @TopicId = topicid
6000
+ end
6001
+
6002
+ def deserialize(params)
6003
+ @Period = params['Period']
6004
+ @TopicId = params['TopicId']
6005
+ end
6006
+ end
6007
+
6008
+ # ModifyAccessPeriod返回参数结构体
6009
+ class ModifyAccessPeriodResponse < TencentCloud::Common::AbstractModel
6010
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6011
+ # @type RequestId: String
6012
+
6013
+ attr_accessor :RequestId
6014
+
6015
+ def initialize(requestid=nil)
6016
+ @RequestId = requestid
6017
+ end
6018
+
6019
+ def deserialize(params)
6020
+ @RequestId = params['RequestId']
6021
+ end
6022
+ end
6023
+
6024
+ # ModifyAntiFakeUrl请求参数结构体
6025
+ class ModifyAntiFakeUrlRequest < TencentCloud::Common::AbstractModel
6026
+ # @param Domain: 域名
6027
+ # @type Domain: String
6028
+ # @param Name: 名称
6029
+ # @type Name: String
6030
+ # @param Uri: uri
6031
+ # @type Uri: String
6032
+ # @param Id: ID
6033
+ # @type Id: Integer
6034
+
6035
+ attr_accessor :Domain, :Name, :Uri, :Id
6036
+
6037
+ def initialize(domain=nil, name=nil, uri=nil, id=nil)
6038
+ @Domain = domain
6039
+ @Name = name
6040
+ @Uri = uri
6041
+ @Id = id
6042
+ end
6043
+
6044
+ def deserialize(params)
6045
+ @Domain = params['Domain']
6046
+ @Name = params['Name']
6047
+ @Uri = params['Uri']
6048
+ @Id = params['Id']
6049
+ end
6050
+ end
6051
+
6052
+ # ModifyAntiFakeUrl返回参数结构体
6053
+ class ModifyAntiFakeUrlResponse < TencentCloud::Common::AbstractModel
6054
+ # @param Result: 结果
6055
+ # @type Result: String
6056
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6057
+ # @type RequestId: String
6058
+
6059
+ attr_accessor :Result, :RequestId
6060
+
6061
+ def initialize(result=nil, requestid=nil)
6062
+ @Result = result
6063
+ @RequestId = requestid
6064
+ end
6065
+
6066
+ def deserialize(params)
6067
+ @Result = params['Result']
6068
+ @RequestId = params['RequestId']
6069
+ end
6070
+ end
6071
+
6072
+ # ModifyAntiFakeUrlStatus请求参数结构体
6073
+ class ModifyAntiFakeUrlStatusRequest < TencentCloud::Common::AbstractModel
6074
+ # @param Domain: 域名
6075
+ # @type Domain: String
6076
+ # @param Status: 状态
6077
+ # @type Status: Integer
6078
+ # @param Ids: Id列表
6079
+ # @type Ids: Array
6080
+
6081
+ attr_accessor :Domain, :Status, :Ids
6082
+
6083
+ def initialize(domain=nil, status=nil, ids=nil)
6084
+ @Domain = domain
6085
+ @Status = status
6086
+ @Ids = ids
6087
+ end
6088
+
6089
+ def deserialize(params)
6090
+ @Domain = params['Domain']
6091
+ @Status = params['Status']
6092
+ @Ids = params['Ids']
6093
+ end
6094
+ end
6095
+
6096
+ # ModifyAntiFakeUrlStatus返回参数结构体
6097
+ class ModifyAntiFakeUrlStatusResponse < TencentCloud::Common::AbstractModel
6098
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6099
+ # @type RequestId: String
6100
+
6101
+ attr_accessor :RequestId
6102
+
6103
+ def initialize(requestid=nil)
6104
+ @RequestId = requestid
6105
+ end
6106
+
6107
+ def deserialize(params)
6108
+ @RequestId = params['RequestId']
6109
+ end
6110
+ end
6111
+
6112
+ # ModifyAntiInfoLeakRuleStatus请求参数结构体
6113
+ class ModifyAntiInfoLeakRuleStatusRequest < TencentCloud::Common::AbstractModel
6114
+ # @param Domain: 域名
6115
+ # @type Domain: String
6116
+ # @param RuleId: 规则
6117
+ # @type RuleId: Integer
6118
+ # @param Status: 状态
6119
+ # @type Status: Integer
6120
+
6121
+ attr_accessor :Domain, :RuleId, :Status
6122
+
6123
+ def initialize(domain=nil, ruleid=nil, status=nil)
6124
+ @Domain = domain
6125
+ @RuleId = ruleid
6126
+ @Status = status
6127
+ end
6128
+
6129
+ def deserialize(params)
6130
+ @Domain = params['Domain']
6131
+ @RuleId = params['RuleId']
6132
+ @Status = params['Status']
6133
+ end
6134
+ end
6135
+
6136
+ # ModifyAntiInfoLeakRuleStatus返回参数结构体
6137
+ class ModifyAntiInfoLeakRuleStatusResponse < TencentCloud::Common::AbstractModel
6138
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6139
+ # @type RequestId: String
4995
6140
 
4996
- attr_accessor :Count, :TimeStamp
6141
+ attr_accessor :RequestId
4997
6142
 
4998
- def initialize(count=nil, timestamp=nil)
4999
- @Count = count
5000
- @TimeStamp = timestamp
6143
+ def initialize(requestid=nil)
6144
+ @RequestId = requestid
5001
6145
  end
5002
6146
 
5003
6147
  def deserialize(params)
5004
- @Count = params['Count']
5005
- @TimeStamp = params['TimeStamp']
6148
+ @RequestId = params['RequestId']
5006
6149
  end
5007
6150
  end
5008
6151
 
5009
- # ModifyAccessPeriod请求参数结构体
5010
- class ModifyAccessPeriodRequest < TencentCloud::Common::AbstractModel
5011
- # @param Period: 访问日志保存期限,范围为[1, 30]
5012
- # @type Period: Integer
5013
- # @param TopicId: 日志主题
5014
- # @type TopicId: String
6152
+ # ModifyAntiInfoLeakRules请求参数结构体
6153
+ class ModifyAntiInfoLeakRulesRequest < TencentCloud::Common::AbstractModel
6154
+ # @param RuleId: 规则ID
6155
+ # @type RuleId: Integer
6156
+ # @param Name: 规则名称
6157
+ # @type Name: String
6158
+ # @param Domain: 域名
6159
+ # @type Domain: String
6160
+ # @param ActionType: Action 值
6161
+ # @type ActionType: Integer
6162
+ # @param Strategies: 策略数组
6163
+ # @type Strategies: Array
5015
6164
 
5016
- attr_accessor :Period, :TopicId
6165
+ attr_accessor :RuleId, :Name, :Domain, :ActionType, :Strategies
5017
6166
 
5018
- def initialize(period=nil, topicid=nil)
5019
- @Period = period
5020
- @TopicId = topicid
6167
+ def initialize(ruleid=nil, name=nil, domain=nil, actiontype=nil, strategies=nil)
6168
+ @RuleId = ruleid
6169
+ @Name = name
6170
+ @Domain = domain
6171
+ @ActionType = actiontype
6172
+ @Strategies = strategies
5021
6173
  end
5022
6174
 
5023
6175
  def deserialize(params)
5024
- @Period = params['Period']
5025
- @TopicId = params['TopicId']
6176
+ @RuleId = params['RuleId']
6177
+ @Name = params['Name']
6178
+ @Domain = params['Domain']
6179
+ @ActionType = params['ActionType']
6180
+ unless params['Strategies'].nil?
6181
+ @Strategies = []
6182
+ params['Strategies'].each do |i|
6183
+ strategyforantiinfoleak_tmp = StrategyForAntiInfoLeak.new
6184
+ strategyforantiinfoleak_tmp.deserialize(i)
6185
+ @Strategies << strategyforantiinfoleak_tmp
6186
+ end
6187
+ end
5026
6188
  end
5027
6189
  end
5028
6190
 
5029
- # ModifyAccessPeriod返回参数结构体
5030
- class ModifyAccessPeriodResponse < TencentCloud::Common::AbstractModel
6191
+ # ModifyAntiInfoLeakRules返回参数结构体
6192
+ class ModifyAntiInfoLeakRulesResponse < TencentCloud::Common::AbstractModel
5031
6193
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5032
6194
  # @type RequestId: String
5033
6195
 
@@ -5400,6 +6562,53 @@ module TencentCloud
5400
6562
  end
5401
6563
  end
5402
6564
 
6565
+ # ModifyCustomWhiteRuleStatus请求参数结构体
6566
+ class ModifyCustomWhiteRuleStatusRequest < TencentCloud::Common::AbstractModel
6567
+ # @param Domain: 域名
6568
+ # @type Domain: String
6569
+ # @param RuleId: 规则ID
6570
+ # @type RuleId: Integer
6571
+ # @param Status: 开关的状态,1是开启、0是关闭
6572
+ # @type Status: Integer
6573
+
6574
+ attr_accessor :Domain, :RuleId, :Status
6575
+
6576
+ def initialize(domain=nil, ruleid=nil, status=nil)
6577
+ @Domain = domain
6578
+ @RuleId = ruleid
6579
+ @Status = status
6580
+ end
6581
+
6582
+ def deserialize(params)
6583
+ @Domain = params['Domain']
6584
+ @RuleId = params['RuleId']
6585
+ @Status = params['Status']
6586
+ end
6587
+ end
6588
+
6589
+ # ModifyCustomWhiteRuleStatus返回参数结构体
6590
+ class ModifyCustomWhiteRuleStatusResponse < TencentCloud::Common::AbstractModel
6591
+ # @param Success: 操作的状态码,如果所有的资源操作成功则返回的是成功的状态码,如果有资源操作失败则需要解析Message的内容来查看哪个资源失败
6592
+ # @type Success: :class:`Tencentcloud::Waf.v20180125.models.ResponseCode`
6593
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6594
+ # @type RequestId: String
6595
+
6596
+ attr_accessor :Success, :RequestId
6597
+
6598
+ def initialize(success=nil, requestid=nil)
6599
+ @Success = success
6600
+ @RequestId = requestid
6601
+ end
6602
+
6603
+ def deserialize(params)
6604
+ unless params['Success'].nil?
6605
+ @Success = ResponseCode.new
6606
+ @Success.deserialize(params['Success'])
6607
+ end
6608
+ @RequestId = params['RequestId']
6609
+ end
6610
+ end
6611
+
5403
6612
  # ModifyDomainIpv6Status请求参数结构体
5404
6613
  class ModifyDomainIpv6StatusRequest < TencentCloud::Common::AbstractModel
5405
6614
  # @param InstanceId: 需要修改的域名所属的实例ID
@@ -6137,6 +7346,26 @@ module TencentCloud
6137
7346
  end
6138
7347
  end
6139
7348
 
7349
+ # 公共翻页参数
7350
+ class PageInfo < TencentCloud::Common::AbstractModel
7351
+ # @param PageNumber: 页码
7352
+ # @type PageNumber: String
7353
+ # @param PageSize: 页条目数量
7354
+ # @type PageSize: String
7355
+
7356
+ attr_accessor :PageNumber, :PageSize
7357
+
7358
+ def initialize(pagenumber=nil, pagesize=nil)
7359
+ @PageNumber = pagenumber
7360
+ @PageSize = pagesize
7361
+ end
7362
+
7363
+ def deserialize(params)
7364
+ @PageNumber = params['PageNumber']
7365
+ @PageSize = params['PageSize']
7366
+ end
7367
+ end
7368
+
6140
7369
  # PeakPoints数组项
6141
7370
  class PeakPointsItem < TencentCloud::Common::AbstractModel
6142
7371
  # @param Time: 秒级别时间戳
@@ -6681,6 +7910,69 @@ module TencentCloud
6681
7910
  end
6682
7911
  end
6683
7912
 
7913
+ # 参数包装
7914
+ class SessionData < TencentCloud::Common::AbstractModel
7915
+ # @param Res: session定义
7916
+ # @type Res: Array
7917
+
7918
+ attr_accessor :Res
7919
+
7920
+ def initialize(res=nil)
7921
+ @Res = res
7922
+ end
7923
+
7924
+ def deserialize(params)
7925
+ unless params['Res'].nil?
7926
+ @Res = []
7927
+ params['Res'].each do |i|
7928
+ sessionitem_tmp = SessionItem.new
7929
+ sessionitem_tmp.deserialize(i)
7930
+ @Res << sessionitem_tmp
7931
+ end
7932
+ end
7933
+ end
7934
+ end
7935
+
7936
+ # session定义
7937
+ class SessionItem < TencentCloud::Common::AbstractModel
7938
+ # @param Category: 匹配类型
7939
+ # @type Category: String
7940
+ # @param KeyOrStartMat: 起始模式
7941
+ # @type KeyOrStartMat: String
7942
+ # @param EndMat: 结束模式
7943
+ # @type EndMat: String
7944
+ # @param StartOffset: 起始偏移
7945
+ # @type StartOffset: String
7946
+ # @param EndOffset: 结束偏移
7947
+ # @type EndOffset: String
7948
+ # @param Source: 数据源
7949
+ # @type Source: String
7950
+ # @param TsVersion: 更新时间戳
7951
+ # @type TsVersion: String
7952
+
7953
+ attr_accessor :Category, :KeyOrStartMat, :EndMat, :StartOffset, :EndOffset, :Source, :TsVersion
7954
+
7955
+ def initialize(category=nil, keyorstartmat=nil, endmat=nil, startoffset=nil, endoffset=nil, source=nil, tsversion=nil)
7956
+ @Category = category
7957
+ @KeyOrStartMat = keyorstartmat
7958
+ @EndMat = endmat
7959
+ @StartOffset = startoffset
7960
+ @EndOffset = endoffset
7961
+ @Source = source
7962
+ @TsVersion = tsversion
7963
+ end
7964
+
7965
+ def deserialize(params)
7966
+ @Category = params['Category']
7967
+ @KeyOrStartMat = params['KeyOrStartMat']
7968
+ @EndMat = params['EndMat']
7969
+ @StartOffset = params['StartOffset']
7970
+ @EndOffset = params['EndOffset']
7971
+ @Source = params['Source']
7972
+ @TsVersion = params['TsVersion']
7973
+ end
7974
+ end
7975
+
6684
7976
  # waf斯巴达-编辑防护域名中的端口结构
6685
7977
  class SpartaProtectionPort < TencentCloud::Common::AbstractModel
6686
7978
  # @param NginxServerId: nginx Id
@@ -6745,6 +8037,30 @@ module TencentCloud
6745
8037
  end
6746
8038
  end
6747
8039
 
8040
+ # 防信息泄露的匹配条件结构体
8041
+ class StrategyForAntiInfoLeak < TencentCloud::Common::AbstractModel
8042
+ # @param Field: 匹配字段
8043
+ # @type Field: String
8044
+ # @param CompareFunc: 逻辑符号
8045
+ # @type CompareFunc: String
8046
+ # @param Content: 匹配内容
8047
+ # @type Content: String
8048
+
8049
+ attr_accessor :Field, :CompareFunc, :Content
8050
+
8051
+ def initialize(field=nil, comparefunc=nil, content=nil)
8052
+ @Field = field
8053
+ @CompareFunc = comparefunc
8054
+ @Content = content
8055
+ end
8056
+
8057
+ def deserialize(params)
8058
+ @Field = params['Field']
8059
+ @CompareFunc = params['CompareFunc']
8060
+ @Content = params['Content']
8061
+ end
8062
+ end
8063
+
6748
8064
  # SwitchDomainRules请求参数结构体
6749
8065
  class SwitchDomainRulesRequest < TencentCloud::Common::AbstractModel
6750
8066
  # @param Domain: 域名
@@ -6859,6 +8175,99 @@ module TencentCloud
6859
8175
  end
6860
8176
  end
6861
8177
 
8178
+ # UpsertCCRule请求参数结构体
8179
+ class UpsertCCRuleRequest < TencentCloud::Common::AbstractModel
8180
+ # @param Domain: 域名
8181
+ # @type Domain: String
8182
+ # @param Name: 名称
8183
+ # @type Name: String
8184
+ # @param Status: 状态
8185
+ # @type Status: Integer
8186
+ # @param Advance: 高级模式
8187
+ # @type Advance: String
8188
+ # @param Limit: CC检测阈值
8189
+ # @type Limit: String
8190
+ # @param Interval: CC检测周期
8191
+ # @type Interval: String
8192
+ # @param Url: 检测Url
8193
+ # @type Url: String
8194
+ # @param MatchFunc: 匹配方法
8195
+ # @type MatchFunc: Integer
8196
+ # @param ActionType: 动作
8197
+ # @type ActionType: String
8198
+ # @param Priority: 优先级
8199
+ # @type Priority: Integer
8200
+ # @param ValidTime: 动作有效时间
8201
+ # @type ValidTime: Integer
8202
+ # @param OptionsArr: 附加参数
8203
+ # @type OptionsArr: String
8204
+ # @param Edition: waf版本
8205
+ # @type Edition: String
8206
+ # @param Type: 操作类型
8207
+ # @type Type: Integer
8208
+ # @param EventId: 添加规则的来源事件id
8209
+ # @type EventId: String
8210
+
8211
+ attr_accessor :Domain, :Name, :Status, :Advance, :Limit, :Interval, :Url, :MatchFunc, :ActionType, :Priority, :ValidTime, :OptionsArr, :Edition, :Type, :EventId
8212
+
8213
+ 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)
8214
+ @Domain = domain
8215
+ @Name = name
8216
+ @Status = status
8217
+ @Advance = advance
8218
+ @Limit = limit
8219
+ @Interval = interval
8220
+ @Url = url
8221
+ @MatchFunc = matchfunc
8222
+ @ActionType = actiontype
8223
+ @Priority = priority
8224
+ @ValidTime = validtime
8225
+ @OptionsArr = optionsarr
8226
+ @Edition = edition
8227
+ @Type = type
8228
+ @EventId = eventid
8229
+ end
8230
+
8231
+ def deserialize(params)
8232
+ @Domain = params['Domain']
8233
+ @Name = params['Name']
8234
+ @Status = params['Status']
8235
+ @Advance = params['Advance']
8236
+ @Limit = params['Limit']
8237
+ @Interval = params['Interval']
8238
+ @Url = params['Url']
8239
+ @MatchFunc = params['MatchFunc']
8240
+ @ActionType = params['ActionType']
8241
+ @Priority = params['Priority']
8242
+ @ValidTime = params['ValidTime']
8243
+ @OptionsArr = params['OptionsArr']
8244
+ @Edition = params['Edition']
8245
+ @Type = params['Type']
8246
+ @EventId = params['EventId']
8247
+ end
8248
+ end
8249
+
8250
+ # UpsertCCRule返回参数结构体
8251
+ class UpsertCCRuleResponse < TencentCloud::Common::AbstractModel
8252
+ # @param Data: 一般为null
8253
+ # 注意:此字段可能返回 null,表示取不到有效值。
8254
+ # @type Data: String
8255
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8256
+ # @type RequestId: String
8257
+
8258
+ attr_accessor :Data, :RequestId
8259
+
8260
+ def initialize(data=nil, requestid=nil)
8261
+ @Data = data
8262
+ @RequestId = requestid
8263
+ end
8264
+
8265
+ def deserialize(params)
8266
+ @Data = params['Data']
8267
+ @RequestId = params['RequestId']
8268
+ end
8269
+ end
8270
+
6862
8271
  # UpsertIpAccessControl请求参数结构体
6863
8272
  class UpsertIpAccessControlRequest < TencentCloud::Common::AbstractModel
6864
8273
  # @param Domain: 域名
@@ -6913,6 +8322,71 @@ module TencentCloud
6913
8322
  end
6914
8323
  end
6915
8324
 
8325
+ # UpsertSession请求参数结构体
8326
+ class UpsertSessionRequest < TencentCloud::Common::AbstractModel
8327
+ # @param Domain: 域名
8328
+ # @type Domain: String
8329
+ # @param Source: session来源位置
8330
+ # @type Source: String
8331
+ # @param Category: 提取类别
8332
+ # @type Category: String
8333
+ # @param KeyOrStartMat: 提取key或者起始匹配模式
8334
+ # @type KeyOrStartMat: String
8335
+ # @param EndMat: 结束匹配模式
8336
+ # @type EndMat: String
8337
+ # @param StartOffset: 起始偏移位置
8338
+ # @type StartOffset: String
8339
+ # @param EndOffset: 结束偏移位置
8340
+ # @type EndOffset: String
8341
+ # @param Edition: 版本
8342
+ # @type Edition: String
8343
+
8344
+ attr_accessor :Domain, :Source, :Category, :KeyOrStartMat, :EndMat, :StartOffset, :EndOffset, :Edition
8345
+
8346
+ def initialize(domain=nil, source=nil, category=nil, keyorstartmat=nil, endmat=nil, startoffset=nil, endoffset=nil, edition=nil)
8347
+ @Domain = domain
8348
+ @Source = source
8349
+ @Category = category
8350
+ @KeyOrStartMat = keyorstartmat
8351
+ @EndMat = endmat
8352
+ @StartOffset = startoffset
8353
+ @EndOffset = endoffset
8354
+ @Edition = edition
8355
+ end
8356
+
8357
+ def deserialize(params)
8358
+ @Domain = params['Domain']
8359
+ @Source = params['Source']
8360
+ @Category = params['Category']
8361
+ @KeyOrStartMat = params['KeyOrStartMat']
8362
+ @EndMat = params['EndMat']
8363
+ @StartOffset = params['StartOffset']
8364
+ @EndOffset = params['EndOffset']
8365
+ @Edition = params['Edition']
8366
+ end
8367
+ end
8368
+
8369
+ # UpsertSession返回参数结构体
8370
+ class UpsertSessionResponse < TencentCloud::Common::AbstractModel
8371
+ # @param Data: 结果
8372
+ # 注意:此字段可能返回 null,表示取不到有效值。
8373
+ # @type Data: String
8374
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8375
+ # @type RequestId: String
8376
+
8377
+ attr_accessor :Data, :RequestId
8378
+
8379
+ def initialize(data=nil, requestid=nil)
8380
+ @Data = data
8381
+ @RequestId = requestid
8382
+ end
8383
+
8384
+ def deserialize(params)
8385
+ @Data = params['Data']
8386
+ @RequestId = params['RequestId']
8387
+ end
8388
+ end
8389
+
6916
8390
  # saas和clb信息
6917
8391
  class UserDomainInfo < TencentCloud::Common::AbstractModel
6918
8392
  # @param Appid: 用户id