tencentcloud-sdk-cwp 3.0.389 → 3.0.394

Sign up to get free protection for your applications and to get access to all the features.
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: 480e2a2c246a85b7933255f96b74022cfc883254
4
- data.tar.gz: 593f91a8e2ef9cb61fefa07ebb1fb28cb6d9b6ef
3
+ metadata.gz: 850b1a5709175caabe851f1526f879029c0bcf4a
4
+ data.tar.gz: ee391b39e8f5679c3880a7e80dbbc0b5bf8f8793
5
5
  SHA512:
6
- metadata.gz: bd5cfd24751a2f3546eb61efbc771c8d5a1820c90d403500398e17c0f741823bf9a4a7110bfc024d73087d626b9521a992f54ba48318f7861420d9ea149e0f04
7
- data.tar.gz: 88195a4565852d08956c3f892d86d12721049f3fddc00ccc1b36642ec3ed38a522c5ddf8a709f4da70c39b39a50dc3d609ddbce3aac65651d4ba59ce003ce69c
6
+ metadata.gz: 999ff18a75553d14bfa651afe96785ab8bcfa77fdaaaffda63ae1c31501acee4c9591c7cfb2e325a730a05613148a9c8ddacb73dc7775991b41e7348884ff6fc
7
+ data.tar.gz: 8350878a4a2d8b08b19475844f54e5a8e3ba5de46d64e18aaef8b98a32328e528c91d4b4886b24dcaa9f250994aedaade7ef9e6f1c915a69155b3e405c18be13
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.389
1
+ 3.0.394
@@ -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.389
4
+ version: 3.0.394
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-17 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