tencentcloud-sdk-cwp 3.0.792 → 3.0.793
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180228/client.rb +4 -0
- data/lib/v20180228/models.rb +83 -10
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92a9024be03d8d1c1250f0c708ef8c9d1d1ab2fd
|
4
|
+
data.tar.gz: 5070b655fd4b1f84ee3fff882d31cb231fb80339
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b657eb57c26f0322d8fa2fffa5cffcc944102cc27685f199495b2fed431f98e4a3ba1a9ab90d3d1d78e0c380a16acb78d6ed59a0d5a81c98d93a11c66fbc1bee
|
7
|
+
data.tar.gz: 2a6992f57cc8815606df13c91580c693b0833fd3ece2f1cce4865b60175a9aa6fcd98bf0b7da471f664532a41c30824f21b6c885f2b3744b08b77c5b77548e0c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.793
|
data/lib/v20180228/client.rb
CHANGED
@@ -728,6 +728,8 @@ module TencentCloud
|
|
728
728
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
729
729
|
end
|
730
730
|
|
731
|
+
# ModifyEventAttackStatus 接口替代
|
732
|
+
|
731
733
|
# 删除网络攻击日志
|
732
734
|
|
733
735
|
# @param request: Request instance for DeleteAttackLogs.
|
@@ -9274,6 +9276,8 @@ module TencentCloud
|
|
9274
9276
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
9275
9277
|
end
|
9276
9278
|
|
9279
|
+
# ExportAttackEvents接口替代
|
9280
|
+
|
9277
9281
|
# 导出网络攻击日志
|
9278
9282
|
|
9279
9283
|
# @param request: Request instance for ExportAttackLogs.
|
data/lib/v20180228/models.rb
CHANGED
@@ -3054,19 +3054,24 @@ module TencentCloud
|
|
3054
3054
|
# @type CategoryName: String
|
3055
3055
|
# @param ParentCategoryId: 父分类ID,如果为0则没有父分类
|
3056
3056
|
# @type ParentCategoryId: Integer
|
3057
|
+
# @param ItemCount: 子分类下检测项总数
|
3058
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3059
|
+
# @type ItemCount: Integer
|
3057
3060
|
|
3058
|
-
attr_accessor :CategoryId, :CategoryName, :ParentCategoryId
|
3061
|
+
attr_accessor :CategoryId, :CategoryName, :ParentCategoryId, :ItemCount
|
3059
3062
|
|
3060
|
-
def initialize(categoryid=nil, categoryname=nil, parentcategoryid=nil)
|
3063
|
+
def initialize(categoryid=nil, categoryname=nil, parentcategoryid=nil, itemcount=nil)
|
3061
3064
|
@CategoryId = categoryid
|
3062
3065
|
@CategoryName = categoryname
|
3063
3066
|
@ParentCategoryId = parentcategoryid
|
3067
|
+
@ItemCount = itemcount
|
3064
3068
|
end
|
3065
3069
|
|
3066
3070
|
def deserialize(params)
|
3067
3071
|
@CategoryId = params['CategoryId']
|
3068
3072
|
@CategoryName = params['CategoryName']
|
3069
3073
|
@ParentCategoryId = params['ParentCategoryId']
|
3074
|
+
@ItemCount = params['ItemCount']
|
3070
3075
|
end
|
3071
3076
|
end
|
3072
3077
|
|
@@ -3765,6 +3770,41 @@ module TencentCloud
|
|
3765
3770
|
end
|
3766
3771
|
end
|
3767
3772
|
|
3773
|
+
# 基线检测项分类树状结构
|
3774
|
+
class BaselineItemsCategory < TencentCloud::Common::AbstractModel
|
3775
|
+
# @param ParentCategoryId: 基线检测项父分类id
|
3776
|
+
# @type ParentCategoryId: Integer
|
3777
|
+
# @param ParentCategoryName: 基线检测项父分类名称
|
3778
|
+
# @type ParentCategoryName: String
|
3779
|
+
# @param CategoryCount: 基线检测项子分类数目
|
3780
|
+
# @type CategoryCount: Integer
|
3781
|
+
# @param CategoryLists: 基线检测项子分类列表
|
3782
|
+
# @type CategoryLists: Array
|
3783
|
+
|
3784
|
+
attr_accessor :ParentCategoryId, :ParentCategoryName, :CategoryCount, :CategoryLists
|
3785
|
+
|
3786
|
+
def initialize(parentcategoryid=nil, parentcategoryname=nil, categorycount=nil, categorylists=nil)
|
3787
|
+
@ParentCategoryId = parentcategoryid
|
3788
|
+
@ParentCategoryName = parentcategoryname
|
3789
|
+
@CategoryCount = categorycount
|
3790
|
+
@CategoryLists = categorylists
|
3791
|
+
end
|
3792
|
+
|
3793
|
+
def deserialize(params)
|
3794
|
+
@ParentCategoryId = params['ParentCategoryId']
|
3795
|
+
@ParentCategoryName = params['ParentCategoryName']
|
3796
|
+
@CategoryCount = params['CategoryCount']
|
3797
|
+
unless params['CategoryLists'].nil?
|
3798
|
+
@CategoryLists = []
|
3799
|
+
params['CategoryLists'].each do |i|
|
3800
|
+
baselinecategory_tmp = BaselineCategory.new
|
3801
|
+
baselinecategory_tmp.deserialize(i)
|
3802
|
+
@CategoryLists << baselinecategory_tmp
|
3803
|
+
end
|
3804
|
+
end
|
3805
|
+
end
|
3806
|
+
end
|
3807
|
+
|
3768
3808
|
# 基线策略信息
|
3769
3809
|
class BaselinePolicy < TencentCloud::Common::AbstractModel
|
3770
3810
|
# @param PolicyName: 策略名称,长度不超过128英文字符
|
@@ -6520,18 +6560,22 @@ module TencentCloud
|
|
6520
6560
|
class CreateSearchTemplateResponse < TencentCloud::Common::AbstractModel
|
6521
6561
|
# @param Status: 0:成功,非0:失败
|
6522
6562
|
# @type Status: Integer
|
6563
|
+
# @param Message: 失败原因
|
6564
|
+
# @type Message: String
|
6523
6565
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6524
6566
|
# @type RequestId: String
|
6525
6567
|
|
6526
|
-
attr_accessor :Status, :RequestId
|
6568
|
+
attr_accessor :Status, :Message, :RequestId
|
6527
6569
|
|
6528
|
-
def initialize(status=nil, requestid=nil)
|
6570
|
+
def initialize(status=nil, message=nil, requestid=nil)
|
6529
6571
|
@Status = status
|
6572
|
+
@Message = message
|
6530
6573
|
@RequestId = requestid
|
6531
6574
|
end
|
6532
6575
|
|
6533
6576
|
def deserialize(params)
|
6534
6577
|
@Status = params['Status']
|
6578
|
+
@Message = params['Message']
|
6535
6579
|
@RequestId = params['RequestId']
|
6536
6580
|
end
|
6537
6581
|
end
|
@@ -13353,14 +13397,18 @@ module TencentCloud
|
|
13353
13397
|
# @type List: Array
|
13354
13398
|
# @param Total: 总条目数
|
13355
13399
|
# @type Total: Integer
|
13400
|
+
# @param CategoryList: 基线分类列表
|
13401
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13402
|
+
# @type CategoryList: Array
|
13356
13403
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
13357
13404
|
# @type RequestId: String
|
13358
13405
|
|
13359
|
-
attr_accessor :List, :Total, :RequestId
|
13406
|
+
attr_accessor :List, :Total, :CategoryList, :RequestId
|
13360
13407
|
|
13361
|
-
def initialize(list=nil, total=nil, requestid=nil)
|
13408
|
+
def initialize(list=nil, total=nil, categorylist=nil, requestid=nil)
|
13362
13409
|
@List = list
|
13363
13410
|
@Total = total
|
13411
|
+
@CategoryList = categorylist
|
13364
13412
|
@RequestId = requestid
|
13365
13413
|
end
|
13366
13414
|
|
@@ -13374,6 +13422,14 @@ module TencentCloud
|
|
13374
13422
|
end
|
13375
13423
|
end
|
13376
13424
|
@Total = params['Total']
|
13425
|
+
unless params['CategoryList'].nil?
|
13426
|
+
@CategoryList = []
|
13427
|
+
params['CategoryList'].each do |i|
|
13428
|
+
baselineitemscategory_tmp = BaselineItemsCategory.new
|
13429
|
+
baselineitemscategory_tmp.deserialize(i)
|
13430
|
+
@CategoryList << baselineitemscategory_tmp
|
13431
|
+
end
|
13432
|
+
end
|
13377
13433
|
@RequestId = params['RequestId']
|
13378
13434
|
end
|
13379
13435
|
end
|
@@ -31408,17 +31464,22 @@ module TencentCloud
|
|
31408
31464
|
# @type ItemId: Integer
|
31409
31465
|
# @param ItemName: 名称
|
31410
31466
|
# @type ItemName: String
|
31467
|
+
# @param CustomItemValues: 自定义阈值
|
31468
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
31469
|
+
# @type CustomItemValues: Array
|
31411
31470
|
|
31412
|
-
attr_accessor :ItemId, :ItemName
|
31471
|
+
attr_accessor :ItemId, :ItemName, :CustomItemValues
|
31413
31472
|
|
31414
|
-
def initialize(itemid=nil, itemname=nil)
|
31473
|
+
def initialize(itemid=nil, itemname=nil, customitemvalues=nil)
|
31415
31474
|
@ItemId = itemid
|
31416
31475
|
@ItemName = itemname
|
31476
|
+
@CustomItemValues = customitemvalues
|
31417
31477
|
end
|
31418
31478
|
|
31419
31479
|
def deserialize(params)
|
31420
31480
|
@ItemId = params['ItemId']
|
31421
31481
|
@ItemName = params['ItemName']
|
31482
|
+
@CustomItemValues = params['CustomItemValues']
|
31422
31483
|
end
|
31423
31484
|
end
|
31424
31485
|
|
@@ -33458,13 +33519,22 @@ module TencentCloud
|
|
33458
33519
|
# @type SelectAll: Integer
|
33459
33520
|
# @param Filters: <li>ItemName - string - 是否必填:否 - 项名称</li>
|
33460
33521
|
# @type Filters: Array
|
33522
|
+
# @param IdType: 0:检测项,1:检测项分类
|
33523
|
+
# @type IdType: Integer
|
33524
|
+
# @param ExcludeIds: 需要排除的检测项id
|
33525
|
+
# @type ExcludeIds: Array
|
33526
|
+
# @param CategoryIds: 勾选的检测项分类
|
33527
|
+
# @type CategoryIds: Array
|
33461
33528
|
|
33462
|
-
attr_accessor :Data, :SelectAll, :Filters
|
33529
|
+
attr_accessor :Data, :SelectAll, :Filters, :IdType, :ExcludeIds, :CategoryIds
|
33463
33530
|
|
33464
|
-
def initialize(data=nil, selectall=nil, filters=nil)
|
33531
|
+
def initialize(data=nil, selectall=nil, filters=nil, idtype=nil, excludeids=nil, categoryids=nil)
|
33465
33532
|
@Data = data
|
33466
33533
|
@SelectAll = selectall
|
33467
33534
|
@Filters = filters
|
33535
|
+
@IdType = idtype
|
33536
|
+
@ExcludeIds = excludeids
|
33537
|
+
@CategoryIds = categoryids
|
33468
33538
|
end
|
33469
33539
|
|
33470
33540
|
def deserialize(params)
|
@@ -33481,6 +33551,9 @@ module TencentCloud
|
|
33481
33551
|
@Filters << filter_tmp
|
33482
33552
|
end
|
33483
33553
|
end
|
33554
|
+
@IdType = params['IdType']
|
33555
|
+
@ExcludeIds = params['ExcludeIds']
|
33556
|
+
@CategoryIds = params['CategoryIds']
|
33484
33557
|
end
|
33485
33558
|
end
|
33486
33559
|
|