tencentcloud-sdk-csip 3.0.686 → 3.0.687

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: be0ecf81f854b95aca83ce5af90be4b78114cf18
4
- data.tar.gz: 06a296c8b8b3d184e99aa020031430180dabb890
3
+ metadata.gz: 076e2bb650af4376b1476d332bbe3f6dd9d4ae70
4
+ data.tar.gz: 23b16e9d73d0869fa4f408c36d133b0ef45f8bbe
5
5
  SHA512:
6
- metadata.gz: 03e5319dcf02a8ac65ada3e1150159c7073a4280478201b13c7506519b2df1a1969dcb0308adffc652d221b6c6bc2c0b8e781d67d222677ce174f3058c1d840c
7
- data.tar.gz: 9ffd0515ec1359e6f0e33170f9b18f546c4f0664ec0a7c4abab4a9678eb439848adfefe86ba4c798294b93d95251d9c194058799c72c17ba7db954dd4565302d
6
+ metadata.gz: 05f15b1856c41597b97a94d812c92fa3488e85443411a0cfd9a2d25588ae3b4435333b842a966fb7e0496d7aa691810a397e5a41575a964be705f097addc381b
7
+ data.tar.gz: 5aac03624600041313bf0dd7ed167e09e69003f64af2e59948fe3ea9fb8418558563f355976abea708744662f6e32779d9d581883cb27e89b02f55605e9b8457
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.686
1
+ 3.0.687
@@ -677,6 +677,30 @@ module TencentCloud
677
677
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
678
678
  end
679
679
 
680
+ # 查询漏洞风险高级配置
681
+
682
+ # @param request: Request instance for DescribeVULRiskAdvanceCFGList.
683
+ # @type request: :class:`Tencentcloud::csip::V20221121::DescribeVULRiskAdvanceCFGListRequest`
684
+ # @rtype: :class:`Tencentcloud::csip::V20221121::DescribeVULRiskAdvanceCFGListResponse`
685
+ def DescribeVULRiskAdvanceCFGList(request)
686
+ body = send_request('DescribeVULRiskAdvanceCFGList', request.serialize)
687
+ response = JSON.parse(body)
688
+ if response['Response'].key?('Error') == false
689
+ model = DescribeVULRiskAdvanceCFGListResponse.new
690
+ model.deserialize(response['Response'])
691
+ model
692
+ else
693
+ code = response['Response']['Error']['Code']
694
+ message = response['Response']['Error']['Message']
695
+ reqid = response['Response']['RequestId']
696
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
697
+ end
698
+ rescue TencentCloud::Common::TencentCloudSDKException => e
699
+ raise e
700
+ rescue StandardError => e
701
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
702
+ end
703
+
680
704
  # 获取vpc列表
681
705
 
682
706
  # @param request: Request instance for DescribeVpcAssets.
@@ -3796,6 +3796,97 @@ module TencentCloud
3796
3796
  end
3797
3797
  end
3798
3798
 
3799
+ # DescribeVULRiskAdvanceCFGList请求参数结构体
3800
+ class DescribeVULRiskAdvanceCFGListRequest < TencentCloud::Common::AbstractModel
3801
+ # @param TaskId: 任务ID
3802
+ # @type TaskId: String
3803
+ # @param Filter: 过滤条件
3804
+ # @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
3805
+
3806
+ attr_accessor :TaskId, :Filter
3807
+
3808
+ def initialize(taskid=nil, filter=nil)
3809
+ @TaskId = taskid
3810
+ @Filter = filter
3811
+ end
3812
+
3813
+ def deserialize(params)
3814
+ @TaskId = params['TaskId']
3815
+ unless params['Filter'].nil?
3816
+ @Filter = Filter.new
3817
+ @Filter.deserialize(params['Filter'])
3818
+ end
3819
+ end
3820
+ end
3821
+
3822
+ # DescribeVULRiskAdvanceCFGList返回参数结构体
3823
+ class DescribeVULRiskAdvanceCFGListResponse < TencentCloud::Common::AbstractModel
3824
+ # @param Data: 配置项列表
3825
+ # 注意:此字段可能返回 null,表示取不到有效值。
3826
+ # @type Data: Array
3827
+ # @param TotalCount: 总数
3828
+ # @type TotalCount: Integer
3829
+ # @param RiskLevelLists: 风险等级过滤列表
3830
+ # 注意:此字段可能返回 null,表示取不到有效值。
3831
+ # @type RiskLevelLists: Array
3832
+ # @param VULTypeLists: 漏洞类型过滤列表
3833
+ # 注意:此字段可能返回 null,表示取不到有效值。
3834
+ # @type VULTypeLists: Array
3835
+ # @param CheckFromLists: 识别来源过滤列表
3836
+ # 注意:此字段可能返回 null,表示取不到有效值。
3837
+ # @type CheckFromLists: Array
3838
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3839
+ # @type RequestId: String
3840
+
3841
+ attr_accessor :Data, :TotalCount, :RiskLevelLists, :VULTypeLists, :CheckFromLists, :RequestId
3842
+
3843
+ def initialize(data=nil, totalcount=nil, risklevellists=nil, vultypelists=nil, checkfromlists=nil, requestid=nil)
3844
+ @Data = data
3845
+ @TotalCount = totalcount
3846
+ @RiskLevelLists = risklevellists
3847
+ @VULTypeLists = vultypelists
3848
+ @CheckFromLists = checkfromlists
3849
+ @RequestId = requestid
3850
+ end
3851
+
3852
+ def deserialize(params)
3853
+ unless params['Data'].nil?
3854
+ @Data = []
3855
+ params['Data'].each do |i|
3856
+ vulriskadvancecfglist_tmp = VULRiskAdvanceCFGList.new
3857
+ vulriskadvancecfglist_tmp.deserialize(i)
3858
+ @Data << vulriskadvancecfglist_tmp
3859
+ end
3860
+ end
3861
+ @TotalCount = params['TotalCount']
3862
+ unless params['RiskLevelLists'].nil?
3863
+ @RiskLevelLists = []
3864
+ params['RiskLevelLists'].each do |i|
3865
+ filterdataobject_tmp = FilterDataObject.new
3866
+ filterdataobject_tmp.deserialize(i)
3867
+ @RiskLevelLists << filterdataobject_tmp
3868
+ end
3869
+ end
3870
+ unless params['VULTypeLists'].nil?
3871
+ @VULTypeLists = []
3872
+ params['VULTypeLists'].each do |i|
3873
+ filterdataobject_tmp = FilterDataObject.new
3874
+ filterdataobject_tmp.deserialize(i)
3875
+ @VULTypeLists << filterdataobject_tmp
3876
+ end
3877
+ end
3878
+ unless params['CheckFromLists'].nil?
3879
+ @CheckFromLists = []
3880
+ params['CheckFromLists'].each do |i|
3881
+ filterdataobject_tmp = FilterDataObject.new
3882
+ filterdataobject_tmp.deserialize(i)
3883
+ @CheckFromLists << filterdataobject_tmp
3884
+ end
3885
+ end
3886
+ @RequestId = params['RequestId']
3887
+ end
3888
+ end
3889
+
3799
3890
  # DescribeVpcAssets请求参数结构体
3800
3891
  class DescribeVpcAssetsRequest < TencentCloud::Common::AbstractModel
3801
3892
  # @param Filter: 过滤参数
@@ -5460,6 +5551,77 @@ module TencentCloud
5460
5551
  end
5461
5552
  end
5462
5553
 
5554
+ # 漏洞风险高级配置列表
5555
+ class VULRiskAdvanceCFGList < TencentCloud::Common::AbstractModel
5556
+ # @param VULName: 漏洞名称
5557
+ # @type VULName: String
5558
+ # @param RiskLevel: 风险等级
5559
+ # @type RiskLevel: String
5560
+ # @param CheckFrom: 识别来源
5561
+ # @type CheckFrom: String
5562
+ # @param Enable: 是否启用,1-启用,0-禁用
5563
+ # 注意:此字段可能返回 null,表示取不到有效值。
5564
+ # @type Enable: Integer
5565
+ # @param VULType: 风险类型
5566
+ # @type VULType: String
5567
+ # @param ImpactVersion: 影响版本
5568
+ # @type ImpactVersion: String
5569
+ # @param CVE: CVE
5570
+ # 注意:此字段可能返回 null,表示取不到有效值。
5571
+ # @type CVE: String
5572
+ # @param VULTag: 漏洞标签
5573
+ # @type VULTag: Array
5574
+ # @param FixMethod: 修复方式
5575
+ # 注意:此字段可能返回 null,表示取不到有效值。
5576
+ # @type FixMethod: Array
5577
+ # @param ReleaseTime: 披露时间
5578
+ # 注意:此字段可能返回 null,表示取不到有效值。
5579
+ # @type ReleaseTime: String
5580
+ # @param EMGCVulType: 应急漏洞类型,1-应急漏洞,0-非应急漏洞
5581
+ # 注意:此字段可能返回 null,表示取不到有效值。
5582
+ # @type EMGCVulType: Integer
5583
+ # @param VULDescribe: 漏洞描述
5584
+ # 注意:此字段可能返回 null,表示取不到有效值。
5585
+ # @type VULDescribe: String
5586
+ # @param ImpactComponent: 影响组件
5587
+ # 注意:此字段可能返回 null,表示取不到有效值。
5588
+ # @type ImpactComponent: String
5589
+
5590
+ attr_accessor :VULName, :RiskLevel, :CheckFrom, :Enable, :VULType, :ImpactVersion, :CVE, :VULTag, :FixMethod, :ReleaseTime, :EMGCVulType, :VULDescribe, :ImpactComponent
5591
+
5592
+ def initialize(vulname=nil, risklevel=nil, checkfrom=nil, enable=nil, vultype=nil, impactversion=nil, cve=nil, vultag=nil, fixmethod=nil, releasetime=nil, emgcvultype=nil, vuldescribe=nil, impactcomponent=nil)
5593
+ @VULName = vulname
5594
+ @RiskLevel = risklevel
5595
+ @CheckFrom = checkfrom
5596
+ @Enable = enable
5597
+ @VULType = vultype
5598
+ @ImpactVersion = impactversion
5599
+ @CVE = cve
5600
+ @VULTag = vultag
5601
+ @FixMethod = fixmethod
5602
+ @ReleaseTime = releasetime
5603
+ @EMGCVulType = emgcvultype
5604
+ @VULDescribe = vuldescribe
5605
+ @ImpactComponent = impactcomponent
5606
+ end
5607
+
5608
+ def deserialize(params)
5609
+ @VULName = params['VULName']
5610
+ @RiskLevel = params['RiskLevel']
5611
+ @CheckFrom = params['CheckFrom']
5612
+ @Enable = params['Enable']
5613
+ @VULType = params['VULType']
5614
+ @ImpactVersion = params['ImpactVersion']
5615
+ @CVE = params['CVE']
5616
+ @VULTag = params['VULTag']
5617
+ @FixMethod = params['FixMethod']
5618
+ @ReleaseTime = params['ReleaseTime']
5619
+ @EMGCVulType = params['EMGCVulType']
5620
+ @VULDescribe = params['VULDescribe']
5621
+ @ImpactComponent = params['ImpactComponent']
5622
+ end
5623
+ end
5624
+
5463
5625
  # 漏洞视角的漏洞风险对象
5464
5626
  class VULViewVULRisk < TencentCloud::Common::AbstractModel
5465
5627
  # @param Port: 端口
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.686
4
+ version: 3.0.687
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-27 00:00:00.000000000 Z
11
+ date: 2023-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common