tencentcloud-sdk-csip 3.0.845 → 3.0.847

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 902d6c5f76541fc619e616f76232b35326dcd971
4
- data.tar.gz: 0673d55e0705001d8f41417d3a57bf533c18fb59
3
+ metadata.gz: 1e4f6f538c6d9a84dab829af3b54e9b5b09f3c93
4
+ data.tar.gz: c51d95dc802707909c947cd1abd0190deb4de34b
5
5
  SHA512:
6
- metadata.gz: 6f9eecc43ec5cf89daab4a570da459b2b676b784277f9b4d3e4baac5ddff598d186676169d8dff8cce26ed1b85843df400f3c6556372a63ad5b0ee411793b171
7
- data.tar.gz: 03af764c495ae29b8aa6b445051c8338f29b5f6aa0bae61643a015e9e547f2441ea1eac5a3c8005dc78189cdf71b57d538a75575bed1c2eb65c9709a925d28a7
6
+ metadata.gz: fc8944ff54368f27a57e2b0047d3b8f5c962f0990e1a784a2909dae7217d6b63748b3ff3c7ce10e4a678836474c4e8c5d74525ddcb62c07ca0af66581bdbb718
7
+ data.tar.gz: fb82193e43b02c04338581ab13466bc9f0d589df8a7ccbbc2c0bd38513e8314d8709e47fc1e66b10007ebac5b151e6f5e146c4b481e83e88c3714ce6b03141bb
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.845
1
+ 3.0.847
@@ -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.
@@ -1396,10 +1396,16 @@ module TencentCloud
1396
1396
  # @param VulRiskId: 新的漏洞风险id(同全网漏洞表的riskid)
1397
1397
  # 注意:此字段可能返回 null,表示取不到有效值。
1398
1398
  # @type VulRiskId: String
1399
+ # @param TvdID: 新版漏洞id
1400
+ # 注意:此字段可能返回 null,表示取不到有效值。
1401
+ # @type TvdID: String
1402
+ # @param IsOneClick: 是否可以一键体检,1-可以,0-不可以
1403
+ # 注意:此字段可能返回 null,表示取不到有效值。
1404
+ # @type IsOneClick: Integer
1399
1405
 
1400
- attr_accessor :AffectAsset, :Level, :InstanceType, :Component, :RecentTime, :FirstTime, :Status, :RiskId, :InstanceId, :InstanceName, :AppId, :Nick, :Uin, :VULType, :Port, :AppName, :AppVersion, :VULURL, :VULName, :CVE, :POCId, :From, :CWPVersion, :InstanceUUID, :Payload, :EMGCVulType, :CVSS, :Index, :PCMGRId, :LogId, :TaskId, :VulTag, :DisclosureTime, :AttackHeat, :IsSuggest, :HandleTaskId, :EngineSource, :VulRiskId
1406
+ attr_accessor :AffectAsset, :Level, :InstanceType, :Component, :RecentTime, :FirstTime, :Status, :RiskId, :InstanceId, :InstanceName, :AppId, :Nick, :Uin, :VULType, :Port, :AppName, :AppVersion, :VULURL, :VULName, :CVE, :POCId, :From, :CWPVersion, :InstanceUUID, :Payload, :EMGCVulType, :CVSS, :Index, :PCMGRId, :LogId, :TaskId, :VulTag, :DisclosureTime, :AttackHeat, :IsSuggest, :HandleTaskId, :EngineSource, :VulRiskId, :TvdID, :IsOneClick
1401
1407
 
1402
- def initialize(affectasset=nil, level=nil, instancetype=nil, component=nil, recenttime=nil, firsttime=nil, status=nil, riskid=nil, instanceid=nil, instancename=nil, appid=nil, nick=nil, uin=nil, vultype=nil, port=nil, appname=nil, appversion=nil, vulurl=nil, vulname=nil, cve=nil, pocid=nil, from=nil, cwpversion=nil, instanceuuid=nil, payload=nil, emgcvultype=nil, cvss=nil, index=nil, pcmgrid=nil, logid=nil, taskid=nil, vultag=nil, disclosuretime=nil, attackheat=nil, issuggest=nil, handletaskid=nil, enginesource=nil, vulriskid=nil)
1408
+ def initialize(affectasset=nil, level=nil, instancetype=nil, component=nil, recenttime=nil, firsttime=nil, status=nil, riskid=nil, instanceid=nil, instancename=nil, appid=nil, nick=nil, uin=nil, vultype=nil, port=nil, appname=nil, appversion=nil, vulurl=nil, vulname=nil, cve=nil, pocid=nil, from=nil, cwpversion=nil, instanceuuid=nil, payload=nil, emgcvultype=nil, cvss=nil, index=nil, pcmgrid=nil, logid=nil, taskid=nil, vultag=nil, disclosuretime=nil, attackheat=nil, issuggest=nil, handletaskid=nil, enginesource=nil, vulriskid=nil, tvdid=nil, isoneclick=nil)
1403
1409
  @AffectAsset = affectasset
1404
1410
  @Level = level
1405
1411
  @InstanceType = instancetype
@@ -1438,6 +1444,8 @@ module TencentCloud
1438
1444
  @HandleTaskId = handletaskid
1439
1445
  @EngineSource = enginesource
1440
1446
  @VulRiskId = vulriskid
1447
+ @TvdID = tvdid
1448
+ @IsOneClick = isoneclick
1441
1449
  end
1442
1450
 
1443
1451
  def deserialize(params)
@@ -1479,6 +1487,8 @@ module TencentCloud
1479
1487
  @HandleTaskId = params['HandleTaskId']
1480
1488
  @EngineSource = params['EngineSource']
1481
1489
  @VulRiskId = params['VulRiskId']
1490
+ @TvdID = params['TvdID']
1491
+ @IsOneClick = params['IsOneClick']
1482
1492
  end
1483
1493
  end
1484
1494
 
@@ -1883,10 +1893,16 @@ module TencentCloud
1883
1893
  # @param AgentCpuPer: CPU使用率百分比
1884
1894
  # 注意:此字段可能返回 null,表示取不到有效值。
1885
1895
  # @type AgentCpuPer: Float
1896
+ # @param RealAppid: cvm真正所属的appid
1897
+ # 注意:此字段可能返回 null,表示取不到有效值。
1898
+ # @type RealAppid: Integer
1899
+ # @param CloudType: 云资产类型:0:腾讯云,1:aws,2:azure
1900
+ # 注意:此字段可能返回 null,表示取不到有效值。
1901
+ # @type CloudType: Integer
1886
1902
 
1887
- attr_accessor :AssetId, :AssetName, :AssetType, :Region, :CWPStatus, :AssetCreateTime, :PublicIp, :PrivateIp, :VpcId, :VpcName, :AppId, :Uin, :NickName, :AvailableArea, :IsCore, :SubnetId, :SubnetName, :InstanceUuid, :InstanceQUuid, :OsName, :PartitionCount, :CPUInfo, :CPUSize, :CPULoad, :MemorySize, :MemoryLoad, :DiskSize, :DiskLoad, :AccountCount, :ProcessCount, :AppCount, :PortCount, :Attack, :Access, :Intercept, :InBandwidth, :OutBandwidth, :InFlow, :OutFlow, :LastScanTime, :NetWorkOut, :PortRisk, :VulnerabilityRisk, :ConfigurationRisk, :ScanTask, :Tag, :MemberId, :Os, :RiskExposure, :BASAgentStatus, :IsNewAsset, :CVMAgentStatus, :CVMStatus, :DefenseModel, :TatStatus, :CpuTrend, :MemoryTrend, :AgentStatus, :CloseDefenseCount, :InstanceState, :SecurityGroupIds, :AgentMemRss, :AgentCpuPer
1903
+ attr_accessor :AssetId, :AssetName, :AssetType, :Region, :CWPStatus, :AssetCreateTime, :PublicIp, :PrivateIp, :VpcId, :VpcName, :AppId, :Uin, :NickName, :AvailableArea, :IsCore, :SubnetId, :SubnetName, :InstanceUuid, :InstanceQUuid, :OsName, :PartitionCount, :CPUInfo, :CPUSize, :CPULoad, :MemorySize, :MemoryLoad, :DiskSize, :DiskLoad, :AccountCount, :ProcessCount, :AppCount, :PortCount, :Attack, :Access, :Intercept, :InBandwidth, :OutBandwidth, :InFlow, :OutFlow, :LastScanTime, :NetWorkOut, :PortRisk, :VulnerabilityRisk, :ConfigurationRisk, :ScanTask, :Tag, :MemberId, :Os, :RiskExposure, :BASAgentStatus, :IsNewAsset, :CVMAgentStatus, :CVMStatus, :DefenseModel, :TatStatus, :CpuTrend, :MemoryTrend, :AgentStatus, :CloseDefenseCount, :InstanceState, :SecurityGroupIds, :AgentMemRss, :AgentCpuPer, :RealAppid, :CloudType
1888
1904
 
1889
- def initialize(assetid=nil, assetname=nil, assettype=nil, region=nil, cwpstatus=nil, assetcreatetime=nil, publicip=nil, privateip=nil, vpcid=nil, vpcname=nil, appid=nil, uin=nil, nickname=nil, availablearea=nil, iscore=nil, subnetid=nil, subnetname=nil, instanceuuid=nil, instancequuid=nil, osname=nil, partitioncount=nil, cpuinfo=nil, cpusize=nil, cpuload=nil, memorysize=nil, memoryload=nil, disksize=nil, diskload=nil, accountcount=nil, processcount=nil, appcount=nil, portcount=nil, attack=nil, access=nil, intercept=nil, inbandwidth=nil, outbandwidth=nil, inflow=nil, outflow=nil, lastscantime=nil, networkout=nil, portrisk=nil, vulnerabilityrisk=nil, configurationrisk=nil, scantask=nil, tag=nil, memberid=nil, os=nil, riskexposure=nil, basagentstatus=nil, isnewasset=nil, cvmagentstatus=nil, cvmstatus=nil, defensemodel=nil, tatstatus=nil, cputrend=nil, memorytrend=nil, agentstatus=nil, closedefensecount=nil, instancestate=nil, securitygroupids=nil, agentmemrss=nil, agentcpuper=nil)
1905
+ def initialize(assetid=nil, assetname=nil, assettype=nil, region=nil, cwpstatus=nil, assetcreatetime=nil, publicip=nil, privateip=nil, vpcid=nil, vpcname=nil, appid=nil, uin=nil, nickname=nil, availablearea=nil, iscore=nil, subnetid=nil, subnetname=nil, instanceuuid=nil, instancequuid=nil, osname=nil, partitioncount=nil, cpuinfo=nil, cpusize=nil, cpuload=nil, memorysize=nil, memoryload=nil, disksize=nil, diskload=nil, accountcount=nil, processcount=nil, appcount=nil, portcount=nil, attack=nil, access=nil, intercept=nil, inbandwidth=nil, outbandwidth=nil, inflow=nil, outflow=nil, lastscantime=nil, networkout=nil, portrisk=nil, vulnerabilityrisk=nil, configurationrisk=nil, scantask=nil, tag=nil, memberid=nil, os=nil, riskexposure=nil, basagentstatus=nil, isnewasset=nil, cvmagentstatus=nil, cvmstatus=nil, defensemodel=nil, tatstatus=nil, cputrend=nil, memorytrend=nil, agentstatus=nil, closedefensecount=nil, instancestate=nil, securitygroupids=nil, agentmemrss=nil, agentcpuper=nil, realappid=nil, cloudtype=nil)
1890
1906
  @AssetId = assetid
1891
1907
  @AssetName = assetname
1892
1908
  @AssetType = assettype
@@ -1950,6 +1966,8 @@ module TencentCloud
1950
1966
  @SecurityGroupIds = securitygroupids
1951
1967
  @AgentMemRss = agentmemrss
1952
1968
  @AgentCpuPer = agentcpuper
1969
+ @RealAppid = realappid
1970
+ @CloudType = cloudtype
1953
1971
  end
1954
1972
 
1955
1973
  def deserialize(params)
@@ -2037,6 +2055,8 @@ module TencentCloud
2037
2055
  @SecurityGroupIds = params['SecurityGroupIds']
2038
2056
  @AgentMemRss = params['AgentMemRss']
2039
2057
  @AgentCpuPer = params['AgentCpuPer']
2058
+ @RealAppid = params['RealAppid']
2059
+ @CloudType = params['CloudType']
2040
2060
  end
2041
2061
  end
2042
2062
 
@@ -2121,18 +2141,22 @@ module TencentCloud
2121
2141
  class CreateDomainAndIpRequest < TencentCloud::Common::AbstractModel
2122
2142
  # @param Content: 公网IP/域名
2123
2143
  # @type Content: Array
2144
+ # @param MemberId: 集团账号的成员id
2145
+ # @type MemberId: Array
2124
2146
  # @param Tags: 资产标签
2125
2147
  # @type Tags: Array
2126
2148
 
2127
- attr_accessor :Content, :Tags
2149
+ attr_accessor :Content, :MemberId, :Tags
2128
2150
 
2129
- def initialize(content=nil, tags=nil)
2151
+ def initialize(content=nil, memberid=nil, tags=nil)
2130
2152
  @Content = content
2153
+ @MemberId = memberid
2131
2154
  @Tags = tags
2132
2155
  end
2133
2156
 
2134
2157
  def deserialize(params)
2135
2158
  @Content = params['Content']
2159
+ @MemberId = params['MemberId']
2136
2160
  unless params['Tags'].nil?
2137
2161
  @Tags = []
2138
2162
  params['Tags'].each do |i|
@@ -2190,10 +2214,12 @@ module TencentCloud
2190
2214
  # @type TaskMode: Integer
2191
2215
  # @param Tags: 资产标签
2192
2216
  # @type Tags: :class:`Tencentcloud::Csip.v20221121.models.AssetTag`
2217
+ # @param FinishWebHook: 任务完成回调webhook地址
2218
+ # @type FinishWebHook: String
2193
2219
 
2194
- attr_accessor :TaskName, :ScanAssetType, :ScanItem, :ScanPlanType, :MemberId, :Assets, :ScanPlanContent, :SelfDefiningAssets, :ScanFrom, :TaskAdvanceCFG, :TaskMode, :Tags
2220
+ attr_accessor :TaskName, :ScanAssetType, :ScanItem, :ScanPlanType, :MemberId, :Assets, :ScanPlanContent, :SelfDefiningAssets, :ScanFrom, :TaskAdvanceCFG, :TaskMode, :Tags, :FinishWebHook
2195
2221
 
2196
- def initialize(taskname=nil, scanassettype=nil, scanitem=nil, scanplantype=nil, memberid=nil, assets=nil, scanplancontent=nil, selfdefiningassets=nil, scanfrom=nil, taskadvancecfg=nil, taskmode=nil, tags=nil)
2222
+ def initialize(taskname=nil, scanassettype=nil, scanitem=nil, scanplantype=nil, memberid=nil, assets=nil, scanplancontent=nil, selfdefiningassets=nil, scanfrom=nil, taskadvancecfg=nil, taskmode=nil, tags=nil, finishwebhook=nil)
2197
2223
  @TaskName = taskname
2198
2224
  @ScanAssetType = scanassettype
2199
2225
  @ScanItem = scanitem
@@ -2206,6 +2232,7 @@ module TencentCloud
2206
2232
  @TaskAdvanceCFG = taskadvancecfg
2207
2233
  @TaskMode = taskmode
2208
2234
  @Tags = tags
2235
+ @FinishWebHook = finishwebhook
2209
2236
  end
2210
2237
 
2211
2238
  def deserialize(params)
@@ -2234,6 +2261,7 @@ module TencentCloud
2234
2261
  @Tags = AssetTag.new
2235
2262
  @Tags.deserialize(params['Tags'])
2236
2263
  end
2264
+ @FinishWebHook = params['FinishWebHook']
2237
2265
  end
2238
2266
  end
2239
2267
 
@@ -2540,6 +2568,8 @@ module TencentCloud
2540
2568
 
2541
2569
  # DeleteDomainAndIp请求参数结构体
2542
2570
  class DeleteDomainAndIpRequest < TencentCloud::Common::AbstractModel
2571
+ # @param MemberId: 集团账号的成员id
2572
+ # @type MemberId: Array
2543
2573
  # @param Content: -
2544
2574
  # @type Content: Array
2545
2575
  # @param RetainPath: 是否保留路径配置,1:保留,其他:不保留,默认不传为不保留
@@ -2551,9 +2581,10 @@ module TencentCloud
2551
2581
  # @param Type: 删除类型,取值: ALL, 删除全部,将直接忽略Content的内容; 其他值 ,非全部,则Centent必填, 默认为其他值。
2552
2582
  # @type Type: String
2553
2583
 
2554
- attr_accessor :Content, :RetainPath, :IgnoreAsset, :Tags, :Type
2584
+ attr_accessor :MemberId, :Content, :RetainPath, :IgnoreAsset, :Tags, :Type
2555
2585
 
2556
- def initialize(content=nil, retainpath=nil, ignoreasset=nil, tags=nil, type=nil)
2586
+ def initialize(memberid=nil, content=nil, retainpath=nil, ignoreasset=nil, tags=nil, type=nil)
2587
+ @MemberId = memberid
2557
2588
  @Content = content
2558
2589
  @RetainPath = retainpath
2559
2590
  @IgnoreAsset = ignoreasset
@@ -2562,6 +2593,7 @@ module TencentCloud
2562
2593
  end
2563
2594
 
2564
2595
  def deserialize(params)
2596
+ @MemberId = params['MemberId']
2565
2597
  unless params['Content'].nil?
2566
2598
  @Content = []
2567
2599
  params['Content'].each do |i|
@@ -5371,6 +5403,83 @@ module TencentCloud
5371
5403
  end
5372
5404
  end
5373
5405
 
5406
+ # DescribeVULRiskDetail请求参数结构体
5407
+ class DescribeVULRiskDetailRequest < TencentCloud::Common::AbstractModel
5408
+ # @param MemberId: 集团账号的成员id
5409
+ # @type MemberId: Array
5410
+ # @param RiskId: 风险id
5411
+ # @type RiskId: String
5412
+ # @param PCMGRId: pcMgrId
5413
+ # @type PCMGRId: String
5414
+
5415
+ attr_accessor :MemberId, :RiskId, :PCMGRId
5416
+
5417
+ def initialize(memberid=nil, riskid=nil, pcmgrid=nil)
5418
+ @MemberId = memberid
5419
+ @RiskId = riskid
5420
+ @PCMGRId = pcmgrid
5421
+ end
5422
+
5423
+ def deserialize(params)
5424
+ @MemberId = params['MemberId']
5425
+ @RiskId = params['RiskId']
5426
+ @PCMGRId = params['PCMGRId']
5427
+ end
5428
+ end
5429
+
5430
+ # DescribeVULRiskDetail返回参数结构体
5431
+ class DescribeVULRiskDetailResponse < TencentCloud::Common::AbstractModel
5432
+ # @param ServiceSupport: 安全产品支持情况
5433
+ # @type ServiceSupport: Array
5434
+ # @param VulTrend: 漏洞趋势
5435
+ # @type VulTrend: Array
5436
+ # @param VulData: 漏洞补充信息
5437
+ # @type VulData: :class:`Tencentcloud::Csip.v20221121.models.VULRiskInfo`
5438
+ # @param QuestionId: 小助手问答id
5439
+ # @type QuestionId: String
5440
+ # @param SessionId: 会话id
5441
+ # @type SessionId: String
5442
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5443
+ # @type RequestId: String
5444
+
5445
+ attr_accessor :ServiceSupport, :VulTrend, :VulData, :QuestionId, :SessionId, :RequestId
5446
+
5447
+ def initialize(servicesupport=nil, vultrend=nil, vuldata=nil, questionid=nil, sessionid=nil, requestid=nil)
5448
+ @ServiceSupport = servicesupport
5449
+ @VulTrend = vultrend
5450
+ @VulData = vuldata
5451
+ @QuestionId = questionid
5452
+ @SessionId = sessionid
5453
+ @RequestId = requestid
5454
+ end
5455
+
5456
+ def deserialize(params)
5457
+ unless params['ServiceSupport'].nil?
5458
+ @ServiceSupport = []
5459
+ params['ServiceSupport'].each do |i|
5460
+ servicesupport_tmp = ServiceSupport.new
5461
+ servicesupport_tmp.deserialize(i)
5462
+ @ServiceSupport << servicesupport_tmp
5463
+ end
5464
+ end
5465
+ unless params['VulTrend'].nil?
5466
+ @VulTrend = []
5467
+ params['VulTrend'].each do |i|
5468
+ vultrend_tmp = VulTrend.new
5469
+ vultrend_tmp.deserialize(i)
5470
+ @VulTrend << vultrend_tmp
5471
+ end
5472
+ end
5473
+ unless params['VulData'].nil?
5474
+ @VulData = VULRiskInfo.new
5475
+ @VulData.deserialize(params['VulData'])
5476
+ end
5477
+ @QuestionId = params['QuestionId']
5478
+ @SessionId = params['SessionId']
5479
+ @RequestId = params['RequestId']
5480
+ end
5481
+ end
5482
+
5374
5483
  # DescribeVpcAssets请求参数结构体
5375
5484
  class DescribeVpcAssetsRequest < TencentCloud::Common::AbstractModel
5376
5485
  # @param Filter: 过滤参数
@@ -5454,6 +5563,117 @@ module TencentCloud
5454
5563
  end
5455
5564
  end
5456
5565
 
5566
+ # DescribeVulViewVulRiskList请求参数结构体
5567
+ class DescribeVulViewVulRiskListRequest < TencentCloud::Common::AbstractModel
5568
+ # @param MemberId: 集团账号的成员id
5569
+ # @type MemberId: Array
5570
+ # @param Filter: 过滤内容
5571
+ # @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
5572
+ # @param Tags: 资产标签
5573
+ # @type Tags: Array
5574
+
5575
+ attr_accessor :MemberId, :Filter, :Tags
5576
+
5577
+ def initialize(memberid=nil, filter=nil, tags=nil)
5578
+ @MemberId = memberid
5579
+ @Filter = filter
5580
+ @Tags = tags
5581
+ end
5582
+
5583
+ def deserialize(params)
5584
+ @MemberId = params['MemberId']
5585
+ unless params['Filter'].nil?
5586
+ @Filter = Filter.new
5587
+ @Filter.deserialize(params['Filter'])
5588
+ end
5589
+ unless params['Tags'].nil?
5590
+ @Tags = []
5591
+ params['Tags'].each do |i|
5592
+ assettag_tmp = AssetTag.new
5593
+ assettag_tmp.deserialize(i)
5594
+ @Tags << assettag_tmp
5595
+ end
5596
+ end
5597
+ end
5598
+ end
5599
+
5600
+ # DescribeVulViewVulRiskList返回参数结构体
5601
+ class DescribeVulViewVulRiskListResponse < TencentCloud::Common::AbstractModel
5602
+ # @param TotalCount: 总条数
5603
+ # @type TotalCount: Integer
5604
+ # @param Data: 漏洞产视角的漏洞风险列表
5605
+ # 注意:此字段可能返回 null,表示取不到有效值。
5606
+ # @type Data: Array
5607
+ # @param LevelLists: 危险等级列表
5608
+ # @type LevelLists: Array
5609
+ # @param FromLists: 来源列表
5610
+ # @type FromLists: Array
5611
+ # @param VULTypeLists: 漏洞类型列表
5612
+ # @type VULTypeLists: Array
5613
+ # @param Tags: tag枚举
5614
+ # 注意:此字段可能返回 null,表示取不到有效值。
5615
+ # @type Tags: Array
5616
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5617
+ # @type RequestId: String
5618
+
5619
+ attr_accessor :TotalCount, :Data, :LevelLists, :FromLists, :VULTypeLists, :Tags, :RequestId
5620
+
5621
+ def initialize(totalcount=nil, data=nil, levellists=nil, fromlists=nil, vultypelists=nil, tags=nil, requestid=nil)
5622
+ @TotalCount = totalcount
5623
+ @Data = data
5624
+ @LevelLists = levellists
5625
+ @FromLists = fromlists
5626
+ @VULTypeLists = vultypelists
5627
+ @Tags = tags
5628
+ @RequestId = requestid
5629
+ end
5630
+
5631
+ def deserialize(params)
5632
+ @TotalCount = params['TotalCount']
5633
+ unless params['Data'].nil?
5634
+ @Data = []
5635
+ params['Data'].each do |i|
5636
+ vulviewvulriskdata_tmp = VULViewVULRiskData.new
5637
+ vulviewvulriskdata_tmp.deserialize(i)
5638
+ @Data << vulviewvulriskdata_tmp
5639
+ end
5640
+ end
5641
+ unless params['LevelLists'].nil?
5642
+ @LevelLists = []
5643
+ params['LevelLists'].each do |i|
5644
+ filterdataobject_tmp = FilterDataObject.new
5645
+ filterdataobject_tmp.deserialize(i)
5646
+ @LevelLists << filterdataobject_tmp
5647
+ end
5648
+ end
5649
+ unless params['FromLists'].nil?
5650
+ @FromLists = []
5651
+ params['FromLists'].each do |i|
5652
+ filterdataobject_tmp = FilterDataObject.new
5653
+ filterdataobject_tmp.deserialize(i)
5654
+ @FromLists << filterdataobject_tmp
5655
+ end
5656
+ end
5657
+ unless params['VULTypeLists'].nil?
5658
+ @VULTypeLists = []
5659
+ params['VULTypeLists'].each do |i|
5660
+ filterdataobject_tmp = FilterDataObject.new
5661
+ filterdataobject_tmp.deserialize(i)
5662
+ @VULTypeLists << filterdataobject_tmp
5663
+ end
5664
+ end
5665
+ unless params['Tags'].nil?
5666
+ @Tags = []
5667
+ params['Tags'].each do |i|
5668
+ filterdataobject_tmp = FilterDataObject.new
5669
+ filterdataobject_tmp.deserialize(i)
5670
+ @Tags << filterdataobject_tmp
5671
+ end
5672
+ end
5673
+ @RequestId = params['RequestId']
5674
+ end
5675
+ end
5676
+
5457
5677
  # 域名资产
5458
5678
  class DomainAssetVO < TencentCloud::Common::AbstractModel
5459
5679
  # @param AssetId: 资产id
@@ -6226,10 +6446,12 @@ module TencentCloud
6226
6446
  # @type TaskAdvanceCFG: :class:`Tencentcloud::Csip.v20221121.models.TaskAdvanceCFG`
6227
6447
  # @param TaskMode: 体检模式,0-标准模式,1-快速模式,2-高级模式,默认标准模式
6228
6448
  # @type TaskMode: Integer
6449
+ # @param FinishWebHook: 任务完成回调webhook地址
6450
+ # @type FinishWebHook: String
6229
6451
 
6230
- attr_accessor :TaskName, :ScanAssetType, :ScanItem, :ScanPlanType, :TaskId, :MemberId, :Assets, :ScanPlanContent, :SelfDefiningAssets, :TaskAdvanceCFG, :TaskMode
6452
+ attr_accessor :TaskName, :ScanAssetType, :ScanItem, :ScanPlanType, :TaskId, :MemberId, :Assets, :ScanPlanContent, :SelfDefiningAssets, :TaskAdvanceCFG, :TaskMode, :FinishWebHook
6231
6453
 
6232
- def initialize(taskname=nil, scanassettype=nil, scanitem=nil, scanplantype=nil, taskid=nil, memberid=nil, assets=nil, scanplancontent=nil, selfdefiningassets=nil, taskadvancecfg=nil, taskmode=nil)
6454
+ def initialize(taskname=nil, scanassettype=nil, scanitem=nil, scanplantype=nil, taskid=nil, memberid=nil, assets=nil, scanplancontent=nil, selfdefiningassets=nil, taskadvancecfg=nil, taskmode=nil, finishwebhook=nil)
6233
6455
  @TaskName = taskname
6234
6456
  @ScanAssetType = scanassettype
6235
6457
  @ScanItem = scanitem
@@ -6241,6 +6463,7 @@ module TencentCloud
6241
6463
  @SelfDefiningAssets = selfdefiningassets
6242
6464
  @TaskAdvanceCFG = taskadvancecfg
6243
6465
  @TaskMode = taskmode
6466
+ @FinishWebHook = finishwebhook
6244
6467
  end
6245
6468
 
6246
6469
  def deserialize(params)
@@ -6265,6 +6488,7 @@ module TencentCloud
6265
6488
  @TaskAdvanceCFG.deserialize(params['TaskAdvanceCFG'])
6266
6489
  end
6267
6490
  @TaskMode = params['TaskMode']
6491
+ @FinishWebHook = params['FinishWebHook']
6268
6492
  end
6269
6493
  end
6270
6494
 
@@ -8087,6 +8311,45 @@ module TencentCloud
8087
8311
  end
8088
8312
  end
8089
8313
 
8314
+ # 漏洞风险信息
8315
+ class VULRiskInfo < TencentCloud::Common::AbstractModel
8316
+ # @param Fix: 修复建议
8317
+ # 注意:此字段可能返回 null,表示取不到有效值。
8318
+ # @type Fix: String
8319
+ # @param References: 技术参考/参考链接
8320
+ # 注意:此字段可能返回 null,表示取不到有效值。
8321
+ # @type References: String
8322
+ # @param Describe: 漏洞描述
8323
+ # 注意:此字段可能返回 null,表示取不到有效值。
8324
+ # @type Describe: String
8325
+ # @param ImpactComponent: 受影响组件
8326
+ # 注意:此字段可能返回 null,表示取不到有效值。
8327
+ # @type ImpactComponent: Array
8328
+
8329
+ attr_accessor :Fix, :References, :Describe, :ImpactComponent
8330
+
8331
+ def initialize(fix=nil, references=nil, describe=nil, impactcomponent=nil)
8332
+ @Fix = fix
8333
+ @References = references
8334
+ @Describe = describe
8335
+ @ImpactComponent = impactcomponent
8336
+ end
8337
+
8338
+ def deserialize(params)
8339
+ @Fix = params['Fix']
8340
+ @References = params['References']
8341
+ @Describe = params['Describe']
8342
+ unless params['ImpactComponent'].nil?
8343
+ @ImpactComponent = []
8344
+ params['ImpactComponent'].each do |i|
8345
+ vulimpactcomponentinfo_tmp = VulImpactComponentInfo.new
8346
+ vulimpactcomponentinfo_tmp.deserialize(i)
8347
+ @ImpactComponent << vulimpactcomponentinfo_tmp
8348
+ end
8349
+ end
8350
+ end
8351
+ end
8352
+
8090
8353
  # 漏洞视角的漏洞风险对象
8091
8354
  class VULViewVULRisk < TencentCloud::Common::AbstractModel
8092
8355
  # @param Port: 端口
@@ -8199,6 +8462,160 @@ module TencentCloud
8199
8462
  end
8200
8463
  end
8201
8464
 
8465
+ # 漏洞视角的漏洞风险对象
8466
+ class VULViewVULRiskData < TencentCloud::Common::AbstractModel
8467
+ # @param Port: 端口
8468
+ # @type Port: String
8469
+ # @param NoHandleCount: 影响资产
8470
+ # @type NoHandleCount: Integer
8471
+ # @param Level: 风险等级,low-低危,high-高危,middle-中危,info-提示,extreme-严重。
8472
+ # @type Level: String
8473
+ # @param Component: 组件
8474
+ # @type Component: String
8475
+ # @param RecentTime: 最近识别时间
8476
+ # @type RecentTime: String
8477
+ # @param FirstTime: 首次识别时间
8478
+ # @type FirstTime: String
8479
+ # @param AffectAssetCount: 影响资产数量
8480
+ # @type AffectAssetCount: Integer
8481
+ # @param RiskId: 风险ID
8482
+ # @type RiskId: String
8483
+ # @param From: 扫描来源,具体看接口返回枚举类型
8484
+ # @type From: String
8485
+ # @param Index: 前端索引
8486
+ # @type Index: String
8487
+ # @param VULType: 漏洞类型
8488
+ # @type VULType: String
8489
+ # @param VULName: 漏洞名
8490
+ # @type VULName: String
8491
+ # @param CVE: cve
8492
+ # @type CVE: String
8493
+ # @param Payload: 漏洞payload
8494
+ # @type Payload: String
8495
+ # @param AppName: 漏洞影响组件
8496
+ # @type AppName: String
8497
+ # @param AppVersion: 漏洞影响版本
8498
+ # @type AppVersion: String
8499
+ # @param VULURL: 风险点
8500
+ # @type VULURL: String
8501
+ # @param Nick: 用户昵称
8502
+ # 注意:此字段可能返回 null,表示取不到有效值。
8503
+ # @type Nick: String
8504
+ # @param AppId: 用户appid
8505
+ # @type AppId: String
8506
+ # @param Uin: 用户uin
8507
+ # 注意:此字段可能返回 null,表示取不到有效值。
8508
+ # @type Uin: String
8509
+ # @param EMGCVulType: 应急漏洞类型,1-应急漏洞,0-非应急漏洞
8510
+ # 注意:此字段可能返回 null,表示取不到有效值。
8511
+ # @type EMGCVulType: Integer
8512
+ # @param CVSS: CVSS评分
8513
+ # 注意:此字段可能返回 null,表示取不到有效值。
8514
+ # @type CVSS: Float
8515
+ # @param PCMGRId: PCMGRId
8516
+ # 注意:此字段可能返回 null,表示取不到有效值。
8517
+ # @type PCMGRId: String
8518
+ # @param VulTag: 漏洞标签。搜索时应急 必修传参VulTag=SuggestRepair/EMGCVul
8519
+ # 注意:此字段可能返回 null,表示取不到有效值。
8520
+ # @type VulTag: Array
8521
+ # @param DisclosureTime: 漏洞披露时间
8522
+ # 注意:此字段可能返回 null,表示取不到有效值。
8523
+ # @type DisclosureTime: String
8524
+ # @param AttackHeat: 攻击热度
8525
+ # 注意:此字段可能返回 null,表示取不到有效值。
8526
+ # @type AttackHeat: Integer
8527
+ # @param IsSuggest: 是否必修漏洞,1-是,0-不是
8528
+ # 注意:此字段可能返回 null,表示取不到有效值。
8529
+ # @type IsSuggest: Integer
8530
+ # @param HandleTaskId: 处置任务id
8531
+ # 注意:此字段可能返回 null,表示取不到有效值。
8532
+ # @type HandleTaskId: String
8533
+ # @param EngineSource: 引擎来源
8534
+ # 注意:此字段可能返回 null,表示取不到有效值。
8535
+ # @type EngineSource: String
8536
+ # @param VulRiskId: 新的漏洞风险id
8537
+ # 注意:此字段可能返回 null,表示取不到有效值。
8538
+ # @type VulRiskId: String
8539
+ # @param TvdID: 新版漏洞id
8540
+ # 注意:此字段可能返回 null,表示取不到有效值。
8541
+ # @type TvdID: String
8542
+ # @param IsOneClick: 是否可以一键体检,1-可以,0-不可以
8543
+ # 注意:此字段可能返回 null,表示取不到有效值。
8544
+ # @type IsOneClick: Integer
8545
+
8546
+ 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, :TvdID, :IsOneClick
8547
+
8548
+ 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, tvdid=nil, isoneclick=nil)
8549
+ @Port = port
8550
+ @NoHandleCount = nohandlecount
8551
+ @Level = level
8552
+ @Component = component
8553
+ @RecentTime = recenttime
8554
+ @FirstTime = firsttime
8555
+ @AffectAssetCount = affectassetcount
8556
+ @RiskId = riskid
8557
+ @From = from
8558
+ @Index = index
8559
+ @VULType = vultype
8560
+ @VULName = vulname
8561
+ @CVE = cve
8562
+ @Payload = payload
8563
+ @AppName = appname
8564
+ @AppVersion = appversion
8565
+ @VULURL = vulurl
8566
+ @Nick = nick
8567
+ @AppId = appid
8568
+ @Uin = uin
8569
+ @EMGCVulType = emgcvultype
8570
+ @CVSS = cvss
8571
+ @PCMGRId = pcmgrid
8572
+ @VulTag = vultag
8573
+ @DisclosureTime = disclosuretime
8574
+ @AttackHeat = attackheat
8575
+ @IsSuggest = issuggest
8576
+ @HandleTaskId = handletaskid
8577
+ @EngineSource = enginesource
8578
+ @VulRiskId = vulriskid
8579
+ @TvdID = tvdid
8580
+ @IsOneClick = isoneclick
8581
+ end
8582
+
8583
+ def deserialize(params)
8584
+ @Port = params['Port']
8585
+ @NoHandleCount = params['NoHandleCount']
8586
+ @Level = params['Level']
8587
+ @Component = params['Component']
8588
+ @RecentTime = params['RecentTime']
8589
+ @FirstTime = params['FirstTime']
8590
+ @AffectAssetCount = params['AffectAssetCount']
8591
+ @RiskId = params['RiskId']
8592
+ @From = params['From']
8593
+ @Index = params['Index']
8594
+ @VULType = params['VULType']
8595
+ @VULName = params['VULName']
8596
+ @CVE = params['CVE']
8597
+ @Payload = params['Payload']
8598
+ @AppName = params['AppName']
8599
+ @AppVersion = params['AppVersion']
8600
+ @VULURL = params['VULURL']
8601
+ @Nick = params['Nick']
8602
+ @AppId = params['AppId']
8603
+ @Uin = params['Uin']
8604
+ @EMGCVulType = params['EMGCVulType']
8605
+ @CVSS = params['CVSS']
8606
+ @PCMGRId = params['PCMGRId']
8607
+ @VulTag = params['VulTag']
8608
+ @DisclosureTime = params['DisclosureTime']
8609
+ @AttackHeat = params['AttackHeat']
8610
+ @IsSuggest = params['IsSuggest']
8611
+ @HandleTaskId = params['HandleTaskId']
8612
+ @EngineSource = params['EngineSource']
8613
+ @VulRiskId = params['VulRiskId']
8614
+ @TvdID = params['TvdID']
8615
+ @IsOneClick = params['IsOneClick']
8616
+ end
8617
+ end
8618
+
8202
8619
  # vpc列表数据
8203
8620
  class Vpc < TencentCloud::Common::AbstractModel
8204
8621
  # @param Subnet: 子网(只支持32位)
@@ -8282,6 +8699,60 @@ module TencentCloud
8282
8699
  end
8283
8700
  end
8284
8701
 
8702
+ # 漏洞影响组件信息
8703
+ class VulImpactComponentInfo < TencentCloud::Common::AbstractModel
8704
+ # @param Component: 组件名称
8705
+ # 注意:此字段可能返回 null,表示取不到有效值。
8706
+ # @type Component: String
8707
+ # @param Version: 版本名称
8708
+ # 注意:此字段可能返回 null,表示取不到有效值。
8709
+ # @type Version: String
8710
+
8711
+ attr_accessor :Component, :Version
8712
+
8713
+ def initialize(component=nil, version=nil)
8714
+ @Component = component
8715
+ @Version = version
8716
+ end
8717
+
8718
+ def deserialize(params)
8719
+ @Component = params['Component']
8720
+ @Version = params['Version']
8721
+ end
8722
+ end
8723
+
8724
+ # 漏洞趋势-攻击趋势、影响用户、影响资产
8725
+ class VulTrend < TencentCloud::Common::AbstractModel
8726
+ # @param AffectAssetCount: 影响的资产数
8727
+ # 注意:此字段可能返回 null,表示取不到有效值。
8728
+ # @type AffectAssetCount: Integer
8729
+ # @param AffectUserCount: 影响的用户数
8730
+ # 注意:此字段可能返回 null,表示取不到有效值。
8731
+ # @type AffectUserCount: Integer
8732
+ # @param AttackCount: 攻击数
8733
+ # 注意:此字段可能返回 null,表示取不到有效值。
8734
+ # @type AttackCount: Integer
8735
+ # @param Date: 时间
8736
+ # 注意:此字段可能返回 null,表示取不到有效值。
8737
+ # @type Date: String
8738
+
8739
+ attr_accessor :AffectAssetCount, :AffectUserCount, :AttackCount, :Date
8740
+
8741
+ def initialize(affectassetcount=nil, affectusercount=nil, attackcount=nil, date=nil)
8742
+ @AffectAssetCount = affectassetcount
8743
+ @AffectUserCount = affectusercount
8744
+ @AttackCount = attackcount
8745
+ @Date = date
8746
+ end
8747
+
8748
+ def deserialize(params)
8749
+ @AffectAssetCount = params['AffectAssetCount']
8750
+ @AffectUserCount = params['AffectUserCount']
8751
+ @AttackCount = params['AttackCount']
8752
+ @Date = params['Date']
8753
+ end
8754
+ end
8755
+
8285
8756
  # 网站风险对象
8286
8757
  class WebsiteRisk < TencentCloud::Common::AbstractModel
8287
8758
  # @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.845
4
+ version: 3.0.847
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-17 00:00:00.000000000 Z
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