tencentcloud-sdk-csip 3.0.844 → 3.0.846
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/v20221121/client.rb +48 -0
- data/lib/v20221121/models.rb +425 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb7c94053359205be46585c19dafed40e724c5a4
|
4
|
+
data.tar.gz: dde576013c1b69669b4fa13cf7ac122c9409411a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 306e1deee0941446f26a0f8a8bbbc5e0446b06bcd7cbb992ade0b5685e10ad5223b9e0504e4df56160920a3c2c7f993d4a5b7f0bb521894e7cb12fb04b900119
|
7
|
+
data.tar.gz: 1423020908dd141dfe2fb57cfe4dd7315084b9af3bbc6c12f51da5192d74814325baaf4e727f6272695561c92b2f9cc6a09ec5b8bf0af640885882ec4b2e7610
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.846
|
data/lib/v20221121/client.rb
CHANGED
@@ -845,6 +845,30 @@ module TencentCloud
|
|
845
845
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
846
846
|
end
|
847
847
|
|
848
|
+
# 获取漏洞展开详情
|
849
|
+
|
850
|
+
# @param request: Request instance for DescribeVULRiskDetail.
|
851
|
+
# @type request: :class:`Tencentcloud::csip::V20221121::DescribeVULRiskDetailRequest`
|
852
|
+
# @rtype: :class:`Tencentcloud::csip::V20221121::DescribeVULRiskDetailResponse`
|
853
|
+
def DescribeVULRiskDetail(request)
|
854
|
+
body = send_request('DescribeVULRiskDetail', request.serialize)
|
855
|
+
response = JSON.parse(body)
|
856
|
+
if response['Response'].key?('Error') == false
|
857
|
+
model = DescribeVULRiskDetailResponse.new
|
858
|
+
model.deserialize(response['Response'])
|
859
|
+
model
|
860
|
+
else
|
861
|
+
code = response['Response']['Error']['Code']
|
862
|
+
message = response['Response']['Error']['Message']
|
863
|
+
reqid = response['Response']['RequestId']
|
864
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
865
|
+
end
|
866
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
867
|
+
raise e
|
868
|
+
rescue StandardError => e
|
869
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
870
|
+
end
|
871
|
+
|
848
872
|
# 获取vpc列表
|
849
873
|
|
850
874
|
# @param request: Request instance for DescribeVpcAssets.
|
@@ -869,6 +893,30 @@ module TencentCloud
|
|
869
893
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
870
894
|
end
|
871
895
|
|
896
|
+
# 获取漏洞视角的漏洞风险列表
|
897
|
+
|
898
|
+
# @param request: Request instance for DescribeVulViewVulRiskList.
|
899
|
+
# @type request: :class:`Tencentcloud::csip::V20221121::DescribeVulViewVulRiskListRequest`
|
900
|
+
# @rtype: :class:`Tencentcloud::csip::V20221121::DescribeVulViewVulRiskListResponse`
|
901
|
+
def DescribeVulViewVulRiskList(request)
|
902
|
+
body = send_request('DescribeVulViewVulRiskList', request.serialize)
|
903
|
+
response = JSON.parse(body)
|
904
|
+
if response['Response'].key?('Error') == false
|
905
|
+
model = DescribeVulViewVulRiskListResponse.new
|
906
|
+
model.deserialize(response['Response'])
|
907
|
+
model
|
908
|
+
else
|
909
|
+
code = response['Response']['Error']['Code']
|
910
|
+
message = response['Response']['Error']['Message']
|
911
|
+
reqid = response['Response']['RequestId']
|
912
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
913
|
+
end
|
914
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
915
|
+
raise e
|
916
|
+
rescue StandardError => e
|
917
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
918
|
+
end
|
919
|
+
|
872
920
|
# 修改集团账号状态
|
873
921
|
|
874
922
|
# @param request: Request instance for ModifyOrganizationAccountStatus.
|
data/lib/v20221121/models.rb
CHANGED
@@ -5371,6 +5371,83 @@ module TencentCloud
|
|
5371
5371
|
end
|
5372
5372
|
end
|
5373
5373
|
|
5374
|
+
# DescribeVULRiskDetail请求参数结构体
|
5375
|
+
class DescribeVULRiskDetailRequest < TencentCloud::Common::AbstractModel
|
5376
|
+
# @param MemberId: 集团账号的成员id
|
5377
|
+
# @type MemberId: Array
|
5378
|
+
# @param RiskId: 风险id
|
5379
|
+
# @type RiskId: String
|
5380
|
+
# @param PCMGRId: pcMgrId
|
5381
|
+
# @type PCMGRId: String
|
5382
|
+
|
5383
|
+
attr_accessor :MemberId, :RiskId, :PCMGRId
|
5384
|
+
|
5385
|
+
def initialize(memberid=nil, riskid=nil, pcmgrid=nil)
|
5386
|
+
@MemberId = memberid
|
5387
|
+
@RiskId = riskid
|
5388
|
+
@PCMGRId = pcmgrid
|
5389
|
+
end
|
5390
|
+
|
5391
|
+
def deserialize(params)
|
5392
|
+
@MemberId = params['MemberId']
|
5393
|
+
@RiskId = params['RiskId']
|
5394
|
+
@PCMGRId = params['PCMGRId']
|
5395
|
+
end
|
5396
|
+
end
|
5397
|
+
|
5398
|
+
# DescribeVULRiskDetail返回参数结构体
|
5399
|
+
class DescribeVULRiskDetailResponse < TencentCloud::Common::AbstractModel
|
5400
|
+
# @param ServiceSupport: 安全产品支持情况
|
5401
|
+
# @type ServiceSupport: Array
|
5402
|
+
# @param VulTrend: 漏洞趋势
|
5403
|
+
# @type VulTrend: Array
|
5404
|
+
# @param VulData: 漏洞补充信息
|
5405
|
+
# @type VulData: :class:`Tencentcloud::Csip.v20221121.models.VULRiskInfo`
|
5406
|
+
# @param QuestionId: 小助手问答id
|
5407
|
+
# @type QuestionId: String
|
5408
|
+
# @param SessionId: 会话id
|
5409
|
+
# @type SessionId: String
|
5410
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5411
|
+
# @type RequestId: String
|
5412
|
+
|
5413
|
+
attr_accessor :ServiceSupport, :VulTrend, :VulData, :QuestionId, :SessionId, :RequestId
|
5414
|
+
|
5415
|
+
def initialize(servicesupport=nil, vultrend=nil, vuldata=nil, questionid=nil, sessionid=nil, requestid=nil)
|
5416
|
+
@ServiceSupport = servicesupport
|
5417
|
+
@VulTrend = vultrend
|
5418
|
+
@VulData = vuldata
|
5419
|
+
@QuestionId = questionid
|
5420
|
+
@SessionId = sessionid
|
5421
|
+
@RequestId = requestid
|
5422
|
+
end
|
5423
|
+
|
5424
|
+
def deserialize(params)
|
5425
|
+
unless params['ServiceSupport'].nil?
|
5426
|
+
@ServiceSupport = []
|
5427
|
+
params['ServiceSupport'].each do |i|
|
5428
|
+
servicesupport_tmp = ServiceSupport.new
|
5429
|
+
servicesupport_tmp.deserialize(i)
|
5430
|
+
@ServiceSupport << servicesupport_tmp
|
5431
|
+
end
|
5432
|
+
end
|
5433
|
+
unless params['VulTrend'].nil?
|
5434
|
+
@VulTrend = []
|
5435
|
+
params['VulTrend'].each do |i|
|
5436
|
+
vultrend_tmp = VulTrend.new
|
5437
|
+
vultrend_tmp.deserialize(i)
|
5438
|
+
@VulTrend << vultrend_tmp
|
5439
|
+
end
|
5440
|
+
end
|
5441
|
+
unless params['VulData'].nil?
|
5442
|
+
@VulData = VULRiskInfo.new
|
5443
|
+
@VulData.deserialize(params['VulData'])
|
5444
|
+
end
|
5445
|
+
@QuestionId = params['QuestionId']
|
5446
|
+
@SessionId = params['SessionId']
|
5447
|
+
@RequestId = params['RequestId']
|
5448
|
+
end
|
5449
|
+
end
|
5450
|
+
|
5374
5451
|
# DescribeVpcAssets请求参数结构体
|
5375
5452
|
class DescribeVpcAssetsRequest < TencentCloud::Common::AbstractModel
|
5376
5453
|
# @param Filter: 过滤参数
|
@@ -5454,6 +5531,117 @@ module TencentCloud
|
|
5454
5531
|
end
|
5455
5532
|
end
|
5456
5533
|
|
5534
|
+
# DescribeVulViewVulRiskList请求参数结构体
|
5535
|
+
class DescribeVulViewVulRiskListRequest < TencentCloud::Common::AbstractModel
|
5536
|
+
# @param MemberId: 集团账号的成员id
|
5537
|
+
# @type MemberId: Array
|
5538
|
+
# @param Filter: 过滤内容
|
5539
|
+
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
5540
|
+
# @param Tags: 资产标签
|
5541
|
+
# @type Tags: Array
|
5542
|
+
|
5543
|
+
attr_accessor :MemberId, :Filter, :Tags
|
5544
|
+
|
5545
|
+
def initialize(memberid=nil, filter=nil, tags=nil)
|
5546
|
+
@MemberId = memberid
|
5547
|
+
@Filter = filter
|
5548
|
+
@Tags = tags
|
5549
|
+
end
|
5550
|
+
|
5551
|
+
def deserialize(params)
|
5552
|
+
@MemberId = params['MemberId']
|
5553
|
+
unless params['Filter'].nil?
|
5554
|
+
@Filter = Filter.new
|
5555
|
+
@Filter.deserialize(params['Filter'])
|
5556
|
+
end
|
5557
|
+
unless params['Tags'].nil?
|
5558
|
+
@Tags = []
|
5559
|
+
params['Tags'].each do |i|
|
5560
|
+
assettag_tmp = AssetTag.new
|
5561
|
+
assettag_tmp.deserialize(i)
|
5562
|
+
@Tags << assettag_tmp
|
5563
|
+
end
|
5564
|
+
end
|
5565
|
+
end
|
5566
|
+
end
|
5567
|
+
|
5568
|
+
# DescribeVulViewVulRiskList返回参数结构体
|
5569
|
+
class DescribeVulViewVulRiskListResponse < TencentCloud::Common::AbstractModel
|
5570
|
+
# @param TotalCount: 总条数
|
5571
|
+
# @type TotalCount: Integer
|
5572
|
+
# @param Data: 漏洞产视角的漏洞风险列表
|
5573
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5574
|
+
# @type Data: Array
|
5575
|
+
# @param LevelLists: 危险等级列表
|
5576
|
+
# @type LevelLists: Array
|
5577
|
+
# @param FromLists: 来源列表
|
5578
|
+
# @type FromLists: Array
|
5579
|
+
# @param VULTypeLists: 漏洞类型列表
|
5580
|
+
# @type VULTypeLists: Array
|
5581
|
+
# @param Tags: tag枚举
|
5582
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5583
|
+
# @type Tags: Array
|
5584
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5585
|
+
# @type RequestId: String
|
5586
|
+
|
5587
|
+
attr_accessor :TotalCount, :Data, :LevelLists, :FromLists, :VULTypeLists, :Tags, :RequestId
|
5588
|
+
|
5589
|
+
def initialize(totalcount=nil, data=nil, levellists=nil, fromlists=nil, vultypelists=nil, tags=nil, requestid=nil)
|
5590
|
+
@TotalCount = totalcount
|
5591
|
+
@Data = data
|
5592
|
+
@LevelLists = levellists
|
5593
|
+
@FromLists = fromlists
|
5594
|
+
@VULTypeLists = vultypelists
|
5595
|
+
@Tags = tags
|
5596
|
+
@RequestId = requestid
|
5597
|
+
end
|
5598
|
+
|
5599
|
+
def deserialize(params)
|
5600
|
+
@TotalCount = params['TotalCount']
|
5601
|
+
unless params['Data'].nil?
|
5602
|
+
@Data = []
|
5603
|
+
params['Data'].each do |i|
|
5604
|
+
vulviewvulriskdata_tmp = VULViewVULRiskData.new
|
5605
|
+
vulviewvulriskdata_tmp.deserialize(i)
|
5606
|
+
@Data << vulviewvulriskdata_tmp
|
5607
|
+
end
|
5608
|
+
end
|
5609
|
+
unless params['LevelLists'].nil?
|
5610
|
+
@LevelLists = []
|
5611
|
+
params['LevelLists'].each do |i|
|
5612
|
+
filterdataobject_tmp = FilterDataObject.new
|
5613
|
+
filterdataobject_tmp.deserialize(i)
|
5614
|
+
@LevelLists << filterdataobject_tmp
|
5615
|
+
end
|
5616
|
+
end
|
5617
|
+
unless params['FromLists'].nil?
|
5618
|
+
@FromLists = []
|
5619
|
+
params['FromLists'].each do |i|
|
5620
|
+
filterdataobject_tmp = FilterDataObject.new
|
5621
|
+
filterdataobject_tmp.deserialize(i)
|
5622
|
+
@FromLists << filterdataobject_tmp
|
5623
|
+
end
|
5624
|
+
end
|
5625
|
+
unless params['VULTypeLists'].nil?
|
5626
|
+
@VULTypeLists = []
|
5627
|
+
params['VULTypeLists'].each do |i|
|
5628
|
+
filterdataobject_tmp = FilterDataObject.new
|
5629
|
+
filterdataobject_tmp.deserialize(i)
|
5630
|
+
@VULTypeLists << filterdataobject_tmp
|
5631
|
+
end
|
5632
|
+
end
|
5633
|
+
unless params['Tags'].nil?
|
5634
|
+
@Tags = []
|
5635
|
+
params['Tags'].each do |i|
|
5636
|
+
filterdataobject_tmp = FilterDataObject.new
|
5637
|
+
filterdataobject_tmp.deserialize(i)
|
5638
|
+
@Tags << filterdataobject_tmp
|
5639
|
+
end
|
5640
|
+
end
|
5641
|
+
@RequestId = params['RequestId']
|
5642
|
+
end
|
5643
|
+
end
|
5644
|
+
|
5457
5645
|
# 域名资产
|
5458
5646
|
class DomainAssetVO < TencentCloud::Common::AbstractModel
|
5459
5647
|
# @param AssetId: 资产id
|
@@ -8087,6 +8275,45 @@ module TencentCloud
|
|
8087
8275
|
end
|
8088
8276
|
end
|
8089
8277
|
|
8278
|
+
# 漏洞风险信息
|
8279
|
+
class VULRiskInfo < TencentCloud::Common::AbstractModel
|
8280
|
+
# @param Fix: 修复建议
|
8281
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8282
|
+
# @type Fix: String
|
8283
|
+
# @param References: 技术参考/参考链接
|
8284
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8285
|
+
# @type References: String
|
8286
|
+
# @param Describe: 漏洞描述
|
8287
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8288
|
+
# @type Describe: String
|
8289
|
+
# @param ImpactComponent: 受影响组件
|
8290
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8291
|
+
# @type ImpactComponent: Array
|
8292
|
+
|
8293
|
+
attr_accessor :Fix, :References, :Describe, :ImpactComponent
|
8294
|
+
|
8295
|
+
def initialize(fix=nil, references=nil, describe=nil, impactcomponent=nil)
|
8296
|
+
@Fix = fix
|
8297
|
+
@References = references
|
8298
|
+
@Describe = describe
|
8299
|
+
@ImpactComponent = impactcomponent
|
8300
|
+
end
|
8301
|
+
|
8302
|
+
def deserialize(params)
|
8303
|
+
@Fix = params['Fix']
|
8304
|
+
@References = params['References']
|
8305
|
+
@Describe = params['Describe']
|
8306
|
+
unless params['ImpactComponent'].nil?
|
8307
|
+
@ImpactComponent = []
|
8308
|
+
params['ImpactComponent'].each do |i|
|
8309
|
+
vulimpactcomponentinfo_tmp = VulImpactComponentInfo.new
|
8310
|
+
vulimpactcomponentinfo_tmp.deserialize(i)
|
8311
|
+
@ImpactComponent << vulimpactcomponentinfo_tmp
|
8312
|
+
end
|
8313
|
+
end
|
8314
|
+
end
|
8315
|
+
end
|
8316
|
+
|
8090
8317
|
# 漏洞视角的漏洞风险对象
|
8091
8318
|
class VULViewVULRisk < TencentCloud::Common::AbstractModel
|
8092
8319
|
# @param Port: 端口
|
@@ -8199,6 +8426,150 @@ module TencentCloud
|
|
8199
8426
|
end
|
8200
8427
|
end
|
8201
8428
|
|
8429
|
+
# 漏洞视角的漏洞风险对象
|
8430
|
+
class VULViewVULRiskData < TencentCloud::Common::AbstractModel
|
8431
|
+
# @param Port: 端口
|
8432
|
+
# @type Port: String
|
8433
|
+
# @param NoHandleCount: 影响资产
|
8434
|
+
# @type NoHandleCount: Integer
|
8435
|
+
# @param Level: 风险等级,low-低危,high-高危,middle-中危,info-提示,extreme-严重。
|
8436
|
+
# @type Level: String
|
8437
|
+
# @param Component: 组件
|
8438
|
+
# @type Component: String
|
8439
|
+
# @param RecentTime: 最近识别时间
|
8440
|
+
# @type RecentTime: String
|
8441
|
+
# @param FirstTime: 首次识别时间
|
8442
|
+
# @type FirstTime: String
|
8443
|
+
# @param AffectAssetCount: 影响资产数量
|
8444
|
+
# @type AffectAssetCount: Integer
|
8445
|
+
# @param RiskId: 风险ID
|
8446
|
+
# @type RiskId: String
|
8447
|
+
# @param From: 扫描来源,具体看接口返回枚举类型
|
8448
|
+
# @type From: String
|
8449
|
+
# @param Index: 前端索引
|
8450
|
+
# @type Index: String
|
8451
|
+
# @param VULType: 漏洞类型
|
8452
|
+
# @type VULType: String
|
8453
|
+
# @param VULName: 漏洞名
|
8454
|
+
# @type VULName: String
|
8455
|
+
# @param CVE: cve
|
8456
|
+
# @type CVE: String
|
8457
|
+
# @param Payload: 漏洞payload
|
8458
|
+
# @type Payload: String
|
8459
|
+
# @param AppName: 漏洞影响组件
|
8460
|
+
# @type AppName: String
|
8461
|
+
# @param AppVersion: 漏洞影响版本
|
8462
|
+
# @type AppVersion: String
|
8463
|
+
# @param VULURL: 风险点
|
8464
|
+
# @type VULURL: String
|
8465
|
+
# @param Nick: 用户昵称
|
8466
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8467
|
+
# @type Nick: String
|
8468
|
+
# @param AppId: 用户appid
|
8469
|
+
# @type AppId: String
|
8470
|
+
# @param Uin: 用户uin
|
8471
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8472
|
+
# @type Uin: String
|
8473
|
+
# @param EMGCVulType: 应急漏洞类型,1-应急漏洞,0-非应急漏洞
|
8474
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8475
|
+
# @type EMGCVulType: Integer
|
8476
|
+
# @param CVSS: CVSS评分
|
8477
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8478
|
+
# @type CVSS: Float
|
8479
|
+
# @param PCMGRId: PCMGRId
|
8480
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8481
|
+
# @type PCMGRId: String
|
8482
|
+
# @param VulTag: 漏洞标签。搜索时应急 必修传参VulTag=SuggestRepair/EMGCVul
|
8483
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8484
|
+
# @type VulTag: Array
|
8485
|
+
# @param DisclosureTime: 漏洞披露时间
|
8486
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8487
|
+
# @type DisclosureTime: String
|
8488
|
+
# @param AttackHeat: 攻击热度
|
8489
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8490
|
+
# @type AttackHeat: Integer
|
8491
|
+
# @param IsSuggest: 是否必修漏洞1是,0不是
|
8492
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8493
|
+
# @type IsSuggest: Integer
|
8494
|
+
# @param HandleTaskId: 处置任务id
|
8495
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8496
|
+
# @type HandleTaskId: String
|
8497
|
+
# @param EngineSource: 引擎来源
|
8498
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8499
|
+
# @type EngineSource: String
|
8500
|
+
# @param VulRiskId: 新的漏洞风险id
|
8501
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8502
|
+
# @type VulRiskId: String
|
8503
|
+
|
8504
|
+
attr_accessor :Port, :NoHandleCount, :Level, :Component, :RecentTime, :FirstTime, :AffectAssetCount, :RiskId, :From, :Index, :VULType, :VULName, :CVE, :Payload, :AppName, :AppVersion, :VULURL, :Nick, :AppId, :Uin, :EMGCVulType, :CVSS, :PCMGRId, :VulTag, :DisclosureTime, :AttackHeat, :IsSuggest, :HandleTaskId, :EngineSource, :VulRiskId
|
8505
|
+
|
8506
|
+
def initialize(port=nil, nohandlecount=nil, level=nil, component=nil, recenttime=nil, firsttime=nil, affectassetcount=nil, riskid=nil, from=nil, index=nil, vultype=nil, vulname=nil, cve=nil, payload=nil, appname=nil, appversion=nil, vulurl=nil, nick=nil, appid=nil, uin=nil, emgcvultype=nil, cvss=nil, pcmgrid=nil, vultag=nil, disclosuretime=nil, attackheat=nil, issuggest=nil, handletaskid=nil, enginesource=nil, vulriskid=nil)
|
8507
|
+
@Port = port
|
8508
|
+
@NoHandleCount = nohandlecount
|
8509
|
+
@Level = level
|
8510
|
+
@Component = component
|
8511
|
+
@RecentTime = recenttime
|
8512
|
+
@FirstTime = firsttime
|
8513
|
+
@AffectAssetCount = affectassetcount
|
8514
|
+
@RiskId = riskid
|
8515
|
+
@From = from
|
8516
|
+
@Index = index
|
8517
|
+
@VULType = vultype
|
8518
|
+
@VULName = vulname
|
8519
|
+
@CVE = cve
|
8520
|
+
@Payload = payload
|
8521
|
+
@AppName = appname
|
8522
|
+
@AppVersion = appversion
|
8523
|
+
@VULURL = vulurl
|
8524
|
+
@Nick = nick
|
8525
|
+
@AppId = appid
|
8526
|
+
@Uin = uin
|
8527
|
+
@EMGCVulType = emgcvultype
|
8528
|
+
@CVSS = cvss
|
8529
|
+
@PCMGRId = pcmgrid
|
8530
|
+
@VulTag = vultag
|
8531
|
+
@DisclosureTime = disclosuretime
|
8532
|
+
@AttackHeat = attackheat
|
8533
|
+
@IsSuggest = issuggest
|
8534
|
+
@HandleTaskId = handletaskid
|
8535
|
+
@EngineSource = enginesource
|
8536
|
+
@VulRiskId = vulriskid
|
8537
|
+
end
|
8538
|
+
|
8539
|
+
def deserialize(params)
|
8540
|
+
@Port = params['Port']
|
8541
|
+
@NoHandleCount = params['NoHandleCount']
|
8542
|
+
@Level = params['Level']
|
8543
|
+
@Component = params['Component']
|
8544
|
+
@RecentTime = params['RecentTime']
|
8545
|
+
@FirstTime = params['FirstTime']
|
8546
|
+
@AffectAssetCount = params['AffectAssetCount']
|
8547
|
+
@RiskId = params['RiskId']
|
8548
|
+
@From = params['From']
|
8549
|
+
@Index = params['Index']
|
8550
|
+
@VULType = params['VULType']
|
8551
|
+
@VULName = params['VULName']
|
8552
|
+
@CVE = params['CVE']
|
8553
|
+
@Payload = params['Payload']
|
8554
|
+
@AppName = params['AppName']
|
8555
|
+
@AppVersion = params['AppVersion']
|
8556
|
+
@VULURL = params['VULURL']
|
8557
|
+
@Nick = params['Nick']
|
8558
|
+
@AppId = params['AppId']
|
8559
|
+
@Uin = params['Uin']
|
8560
|
+
@EMGCVulType = params['EMGCVulType']
|
8561
|
+
@CVSS = params['CVSS']
|
8562
|
+
@PCMGRId = params['PCMGRId']
|
8563
|
+
@VulTag = params['VulTag']
|
8564
|
+
@DisclosureTime = params['DisclosureTime']
|
8565
|
+
@AttackHeat = params['AttackHeat']
|
8566
|
+
@IsSuggest = params['IsSuggest']
|
8567
|
+
@HandleTaskId = params['HandleTaskId']
|
8568
|
+
@EngineSource = params['EngineSource']
|
8569
|
+
@VulRiskId = params['VulRiskId']
|
8570
|
+
end
|
8571
|
+
end
|
8572
|
+
|
8202
8573
|
# vpc列表数据
|
8203
8574
|
class Vpc < TencentCloud::Common::AbstractModel
|
8204
8575
|
# @param Subnet: 子网(只支持32位)
|
@@ -8282,6 +8653,60 @@ module TencentCloud
|
|
8282
8653
|
end
|
8283
8654
|
end
|
8284
8655
|
|
8656
|
+
# 漏洞影响组件信息
|
8657
|
+
class VulImpactComponentInfo < TencentCloud::Common::AbstractModel
|
8658
|
+
# @param Component: 组件名称
|
8659
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8660
|
+
# @type Component: String
|
8661
|
+
# @param Version: 版本名称
|
8662
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8663
|
+
# @type Version: String
|
8664
|
+
|
8665
|
+
attr_accessor :Component, :Version
|
8666
|
+
|
8667
|
+
def initialize(component=nil, version=nil)
|
8668
|
+
@Component = component
|
8669
|
+
@Version = version
|
8670
|
+
end
|
8671
|
+
|
8672
|
+
def deserialize(params)
|
8673
|
+
@Component = params['Component']
|
8674
|
+
@Version = params['Version']
|
8675
|
+
end
|
8676
|
+
end
|
8677
|
+
|
8678
|
+
# 漏洞趋势-攻击趋势、影响用户、影响资产
|
8679
|
+
class VulTrend < TencentCloud::Common::AbstractModel
|
8680
|
+
# @param AffectAssetCount: 影响的资产数
|
8681
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8682
|
+
# @type AffectAssetCount: Integer
|
8683
|
+
# @param AffectUserCount: 影响的用户数
|
8684
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8685
|
+
# @type AffectUserCount: Integer
|
8686
|
+
# @param AttackCount: 攻击数
|
8687
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8688
|
+
# @type AttackCount: Integer
|
8689
|
+
# @param Date: 时间
|
8690
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8691
|
+
# @type Date: String
|
8692
|
+
|
8693
|
+
attr_accessor :AffectAssetCount, :AffectUserCount, :AttackCount, :Date
|
8694
|
+
|
8695
|
+
def initialize(affectassetcount=nil, affectusercount=nil, attackcount=nil, date=nil)
|
8696
|
+
@AffectAssetCount = affectassetcount
|
8697
|
+
@AffectUserCount = affectusercount
|
8698
|
+
@AttackCount = attackcount
|
8699
|
+
@Date = date
|
8700
|
+
end
|
8701
|
+
|
8702
|
+
def deserialize(params)
|
8703
|
+
@AffectAssetCount = params['AffectAssetCount']
|
8704
|
+
@AffectUserCount = params['AffectUserCount']
|
8705
|
+
@AttackCount = params['AttackCount']
|
8706
|
+
@Date = params['Date']
|
8707
|
+
end
|
8708
|
+
end
|
8709
|
+
|
8285
8710
|
# 网站风险对象
|
8286
8711
|
class WebsiteRisk < TencentCloud::Common::AbstractModel
|
8287
8712
|
# @param AffectAsset: 影响资产
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-csip
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.846
|
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-06-
|
11
|
+
date: 2024-06-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|