tencentcloud-sdk-cwp 3.0.390 → 3.0.393

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180228/models.rb +57 -7
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ec77b90c53542af5a12726ce7a0eba7c368504ad
4
- data.tar.gz: 7f344a963711c97e215e98bcbb041d1c00040079
3
+ metadata.gz: d84c477122f7261dd730d36dbe79fe954a6e7b0b
4
+ data.tar.gz: ca491704392d72f097704fa1f801d7d91eb91f2d
5
5
  SHA512:
6
- metadata.gz: 5c7ee09efe72c30894186c42d86d995397d4bae43bc2a017dfac3fb93d1b9c90b802fdb15dae0ad6a0b13e9b2fb22072514be8458b7f8cd76402454ac54e4fcc
7
- data.tar.gz: 518fa62e72b7e3af623d059f272dcaee5faa1d74b4e23037ac43b02b3992d0c4fb3a8cbe5a817deca4f6b4938d8b40ff8c51e92de87152865b120957e91dc513
6
+ metadata.gz: d0eb5d6b7b09550afdc99f004d438d6e2c187d47cb021202f7c8878dd99058b22ad9c897ddbc49be79e5aeef7df5f396f41aeabe46a665f2de3a5a8aa3c0d088
7
+ data.tar.gz: 0dcea754fb27ca6232823e9add753492955f7eec3901998399e4237a8c68ec23eecd0d8ca06594d610de17ae972b1b22f8a36cae7297284dd80424d5d2dd53bd
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.390
1
+ 3.0.393
@@ -11932,17 +11932,23 @@ module TencentCloud
11932
11932
  # @type IfFirstScan: Boolean
11933
11933
  # @param TaskId: 运行中的任务号, 没有任务则为0
11934
11934
  # @type TaskId: Integer
11935
+ # @param LastFixTime: 最后一次修复漏洞的时间
11936
+ # @type LastFixTime: String
11937
+ # @param hadAutoFixVul: 是否有支持自动修复的漏洞事件
11938
+ # @type hadAutoFixVul: Boolean
11935
11939
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
11936
11940
  # @type RequestId: String
11937
11941
 
11938
- attr_accessor :TotalVulCount, :VulHostCount, :ScanTime, :IfFirstScan, :TaskId, :RequestId
11942
+ attr_accessor :TotalVulCount, :VulHostCount, :ScanTime, :IfFirstScan, :TaskId, :LastFixTime, :hadAutoFixVul, :RequestId
11939
11943
 
11940
- def initialize(totalvulcount=nil, vulhostcount=nil, scantime=nil, iffirstscan=nil, taskid=nil, requestid=nil)
11944
+ def initialize(totalvulcount=nil, vulhostcount=nil, scantime=nil, iffirstscan=nil, taskid=nil, lastfixtime=nil, hadautofixvul=nil, requestid=nil)
11941
11945
  @TotalVulCount = totalvulcount
11942
11946
  @VulHostCount = vulhostcount
11943
11947
  @ScanTime = scantime
11944
11948
  @IfFirstScan = iffirstscan
11945
11949
  @TaskId = taskid
11950
+ @LastFixTime = lastfixtime
11951
+ @hadAutoFixVul = hadautofixvul
11946
11952
  @RequestId = requestid
11947
11953
  end
11948
11954
 
@@ -11952,6 +11958,8 @@ module TencentCloud
11952
11958
  @ScanTime = params['ScanTime']
11953
11959
  @IfFirstScan = params['IfFirstScan']
11954
11960
  @TaskId = params['TaskId']
11961
+ @LastFixTime = params['LastFixTime']
11962
+ @hadAutoFixVul = params['hadAutoFixVul']
11955
11963
  @RequestId = params['RequestId']
11956
11964
  end
11957
11965
  end
@@ -12071,12 +12079,18 @@ module TencentCloud
12071
12079
  # @param DefenseAttackCount: 已防御的攻击次数
12072
12080
  # 注意:此字段可能返回 null,表示取不到有效值。
12073
12081
  # @type DefenseAttackCount: Integer
12082
+ # @param SuccessFixCount: 全网修复成功次数, 不支持自动修复的漏洞默认返回0
12083
+ # 注意:此字段可能返回 null,表示取不到有效值。
12084
+ # @type SuccessFixCount: Integer
12085
+ # @param FixSwitch: 修复是否支持:0-windows/linux均不支持修复 ;1-windows/linux 均支持修复 ;2-仅linux支持修复;3-仅windows支持修复
12086
+ # 注意:此字段可能返回 null,表示取不到有效值。
12087
+ # @type FixSwitch: Integer
12074
12088
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
12075
12089
  # @type RequestId: String
12076
12090
 
12077
- attr_accessor :VulId, :VulName, :VulLevel, :VulType, :Description, :RepairPlan, :CveId, :Reference, :CVSS, :PublicDate, :CvssScore, :CveInfo, :CvssScoreFloat, :Labels, :DefenseAttackCount, :RequestId
12091
+ attr_accessor :VulId, :VulName, :VulLevel, :VulType, :Description, :RepairPlan, :CveId, :Reference, :CVSS, :PublicDate, :CvssScore, :CveInfo, :CvssScoreFloat, :Labels, :DefenseAttackCount, :SuccessFixCount, :FixSwitch, :RequestId
12078
12092
 
12079
- def initialize(vulid=nil, vulname=nil, vullevel=nil, vultype=nil, description=nil, repairplan=nil, cveid=nil, reference=nil, cvss=nil, publicdate=nil, cvssscore=nil, cveinfo=nil, cvssscorefloat=nil, labels=nil, defenseattackcount=nil, requestid=nil)
12093
+ def initialize(vulid=nil, vulname=nil, vullevel=nil, vultype=nil, description=nil, repairplan=nil, cveid=nil, reference=nil, cvss=nil, publicdate=nil, cvssscore=nil, cveinfo=nil, cvssscorefloat=nil, labels=nil, defenseattackcount=nil, successfixcount=nil, fixswitch=nil, requestid=nil)
12080
12094
  @VulId = vulid
12081
12095
  @VulName = vulname
12082
12096
  @VulLevel = vullevel
@@ -12092,6 +12106,8 @@ module TencentCloud
12092
12106
  @CvssScoreFloat = cvssscorefloat
12093
12107
  @Labels = labels
12094
12108
  @DefenseAttackCount = defenseattackcount
12109
+ @SuccessFixCount = successfixcount
12110
+ @FixSwitch = fixswitch
12095
12111
  @RequestId = requestid
12096
12112
  end
12097
12113
 
@@ -12111,6 +12127,8 @@ module TencentCloud
12111
12127
  @CvssScoreFloat = params['CvssScoreFloat']
12112
12128
  @Labels = params['Labels']
12113
12129
  @DefenseAttackCount = params['DefenseAttackCount']
12130
+ @SuccessFixCount = params['SuccessFixCount']
12131
+ @FixSwitch = params['FixSwitch']
12114
12132
  @RequestId = params['RequestId']
12115
12133
  end
12116
12134
  end
@@ -14700,12 +14718,15 @@ module TencentCloud
14700
14718
  # @type MachineType: String
14701
14719
  # @param KernelVersion: 内核版本
14702
14720
  # @type KernelVersion: String
14703
- # @param ProtectType: 防护版本 BASIC_VERSION 基础版, PRO_VERSION 专业版 Flagship 旗舰版.
14721
+ # @param ProtectType: 防护版本:BASIC_VERSION 基础版, PRO_VERSION 专业版,Flagship 旗舰版,GENERAL_DISCOUNT 普惠版
14704
14722
  # @type ProtectType: String
14723
+ # @param CloudTags: 云标签信息
14724
+ # 注意:此字段可能返回 null,表示取不到有效值。
14725
+ # @type CloudTags: Array
14705
14726
 
14706
- attr_accessor :MachineName, :MachineOs, :MachineStatus, :Uuid, :Quuid, :VulNum, :MachineIp, :IsProVersion, :MachineWanIp, :PayMode, :MalwareNum, :Tag, :BaselineNum, :CyberAttackNum, :SecurityStatus, :InvasionNum, :RegionInfo, :InstanceState, :LicenseStatus, :ProjectId, :HasAssetScan, :MachineType, :KernelVersion, :ProtectType
14727
+ attr_accessor :MachineName, :MachineOs, :MachineStatus, :Uuid, :Quuid, :VulNum, :MachineIp, :IsProVersion, :MachineWanIp, :PayMode, :MalwareNum, :Tag, :BaselineNum, :CyberAttackNum, :SecurityStatus, :InvasionNum, :RegionInfo, :InstanceState, :LicenseStatus, :ProjectId, :HasAssetScan, :MachineType, :KernelVersion, :ProtectType, :CloudTags
14707
14728
 
14708
- def initialize(machinename=nil, machineos=nil, machinestatus=nil, uuid=nil, quuid=nil, vulnum=nil, machineip=nil, isproversion=nil, machinewanip=nil, paymode=nil, malwarenum=nil, tag=nil, baselinenum=nil, cyberattacknum=nil, securitystatus=nil, invasionnum=nil, regioninfo=nil, instancestate=nil, licensestatus=nil, projectid=nil, hasassetscan=nil, machinetype=nil, kernelversion=nil, protecttype=nil)
14729
+ def initialize(machinename=nil, machineos=nil, machinestatus=nil, uuid=nil, quuid=nil, vulnum=nil, machineip=nil, isproversion=nil, machinewanip=nil, paymode=nil, malwarenum=nil, tag=nil, baselinenum=nil, cyberattacknum=nil, securitystatus=nil, invasionnum=nil, regioninfo=nil, instancestate=nil, licensestatus=nil, projectid=nil, hasassetscan=nil, machinetype=nil, kernelversion=nil, protecttype=nil, cloudtags=nil)
14709
14730
  @MachineName = machinename
14710
14731
  @MachineOs = machineos
14711
14732
  @MachineStatus = machinestatus
@@ -14730,6 +14751,7 @@ module TencentCloud
14730
14751
  @MachineType = machinetype
14731
14752
  @KernelVersion = kernelversion
14732
14753
  @ProtectType = protecttype
14754
+ @CloudTags = cloudtags
14733
14755
  end
14734
14756
 
14735
14757
  def deserialize(params)
@@ -14767,6 +14789,14 @@ module TencentCloud
14767
14789
  @MachineType = params['MachineType']
14768
14790
  @KernelVersion = params['KernelVersion']
14769
14791
  @ProtectType = params['ProtectType']
14792
+ unless params['CloudTags'].nil?
14793
+ @CloudTags = []
14794
+ params['CloudTags'].each do |i|
14795
+ tags_tmp = Tags.new
14796
+ tags_tmp.deserialize(i)
14797
+ @CloudTags << tags_tmp
14798
+ end
14799
+ end
14770
14800
  end
14771
14801
  end
14772
14802
 
@@ -17122,6 +17152,26 @@ module TencentCloud
17122
17152
  end
17123
17153
  end
17124
17154
 
17155
+ # 平台标签
17156
+ class Tags < TencentCloud::Common::AbstractModel
17157
+ # @param TagKey: 标签键
17158
+ # @type TagKey: String
17159
+ # @param TagValue: 标签值
17160
+ # @type TagValue: String
17161
+
17162
+ attr_accessor :TagKey, :TagValue
17163
+
17164
+ def initialize(tagkey=nil, tagvalue=nil)
17165
+ @TagKey = tagkey
17166
+ @TagValue = tagvalue
17167
+ end
17168
+
17169
+ def deserialize(params)
17170
+ @TagKey = params['TagKey']
17171
+ @TagValue = params['TagValue']
17172
+ end
17173
+ end
17174
+
17125
17175
  # 任务扫描状态列表
17126
17176
  class TaskStatus < TencentCloud::Common::AbstractModel
17127
17177
  # @param Scanning: 扫描中(包含初始化)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cwp
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.390
4
+ version: 3.0.393
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-18 00:00:00.000000000 Z
11
+ date: 2022-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common