tencentcloud-sdk-cwp 1.0.204 → 1.0.205

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 +142 -36
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a9fc727628742714fdc43c5fefe51a875b91f2b5
4
- data.tar.gz: 825c7dd321a327cc32aa5487c9b0b9c4d2a451d3
3
+ metadata.gz: 2710df4f553df05317b5cf179b0221811f4565fc
4
+ data.tar.gz: 740cd4fb174661a4a1c6ff7357e0b24429016415
5
5
  SHA512:
6
- metadata.gz: 5b71ebbbeab5bc4d33b56e75ea0ff1a49254d6964bdff04543c19857dc02084c9dc2b9aa73624e446e5edcfb2b12cd966eb9761d796e69f9a8c8df9afa499921
7
- data.tar.gz: 0f3ce4a70733b751c272c51c9e22eb5a3f4a9207668e3b10fa93c2de3faab469584506558795fa77fdb2bee06e4fad956a96924843d9e2430158816e66e1d96f
6
+ metadata.gz: 7287321df7c0730efa7fe78c8e55a5dd471bba4fbb6b6c87124a91cbf7c4571134a75e464e273087216480fdd628b8fd85f049982c9b314aae9cba26aa0f11c7
7
+ data.tar.gz: 467a6ef96cf20489634e2fdec934cff640eee0173653f8d0fb299e343b16227a914c69560943f4a4c016ce68a7f3ec845f474cc225e95070d1bc36834906d407
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.204
1
+ 1.0.205
@@ -10462,17 +10462,29 @@ module TencentCloud
10462
10462
  # @type VulId: Array
10463
10463
  # @param Type: 0一键检测 1定时检测
10464
10464
  # @type Type: Integer
10465
+ # @param ScanBeginTime: 开始扫描时间
10466
+ # 注意:此字段可能返回 null,表示取不到有效值。
10467
+ # @type ScanBeginTime: String
10468
+ # @param RiskEventCount: 扫描漏洞数
10469
+ # 注意:此字段可能返回 null,表示取不到有效值。
10470
+ # @type RiskEventCount: Integer
10471
+ # @param ScanEndTime: 扫描结束时间
10472
+ # 注意:此字段可能返回 null,表示取不到有效值。
10473
+ # @type ScanEndTime: String
10465
10474
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
10466
10475
  # @type RequestId: String
10467
10476
 
10468
- attr_accessor :ScanState, :Schedule, :TaskId, :VulId, :Type, :RequestId
10477
+ attr_accessor :ScanState, :Schedule, :TaskId, :VulId, :Type, :ScanBeginTime, :RiskEventCount, :ScanEndTime, :RequestId
10469
10478
 
10470
- def initialize(scanstate=nil, schedule=nil, taskid=nil, vulid=nil, type=nil, requestid=nil)
10479
+ def initialize(scanstate=nil, schedule=nil, taskid=nil, vulid=nil, type=nil, scanbegintime=nil, riskeventcount=nil, scanendtime=nil, requestid=nil)
10471
10480
  @ScanState = scanstate
10472
10481
  @Schedule = schedule
10473
10482
  @TaskId = taskid
10474
10483
  @VulId = vulid
10475
10484
  @Type = type
10485
+ @ScanBeginTime = scanbegintime
10486
+ @RiskEventCount = riskeventcount
10487
+ @ScanEndTime = scanendtime
10476
10488
  @RequestId = requestid
10477
10489
  end
10478
10490
 
@@ -10482,6 +10494,9 @@ module TencentCloud
10482
10494
  @TaskId = params['TaskId']
10483
10495
  @VulId = params['VulId']
10484
10496
  @Type = params['Type']
10497
+ @ScanBeginTime = params['ScanBeginTime']
10498
+ @RiskEventCount = params['RiskEventCount']
10499
+ @ScanEndTime = params['ScanEndTime']
10485
10500
  @RequestId = params['RequestId']
10486
10501
  end
10487
10502
  end
@@ -10917,7 +10932,7 @@ module TencentCloud
10917
10932
  # @type PrivilegeRules: :class:`Tencentcloud::Cwp.v20180228.models.SecurityEventInfo`
10918
10933
  # @param ReverseShell: 反弹Shell相关风险事件
10919
10934
  # @type ReverseShell: :class:`Tencentcloud::Cwp.v20180228.models.SecurityEventInfo`
10920
- # @param SysVul: 系统组件相关风险事件
10935
+ # @param SysVul: 应用漏洞风险事件
10921
10936
  # @type SysVul: :class:`Tencentcloud::Cwp.v20180228.models.SecurityEventInfo`
10922
10937
  # @param WebVul: Web应用漏洞相关风险事件
10923
10938
  # @type WebVul: :class:`Tencentcloud::Cwp.v20180228.models.SecurityEventInfo`
@@ -10931,12 +10946,18 @@ module TencentCloud
10931
10946
  # @type EffectMachineCount: Integer
10932
10947
  # @param EventsCount: 所有事件总数
10933
10948
  # @type EventsCount: Integer
10949
+ # @param WindowVul: window 系统漏洞事件总数
10950
+ # 注意:此字段可能返回 null,表示取不到有效值。
10951
+ # @type WindowVul: :class:`Tencentcloud::Cwp.v20180228.models.SecurityEventInfo`
10952
+ # @param LinuxVul: linux系统漏洞事件总数
10953
+ # 注意:此字段可能返回 null,表示取不到有效值。
10954
+ # @type LinuxVul: :class:`Tencentcloud::Cwp.v20180228.models.SecurityEventInfo`
10934
10955
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
10935
10956
  # @type RequestId: String
10936
10957
 
10937
- attr_accessor :Malware, :HostLogin, :BruteAttack, :RiskDns, :Bash, :PrivilegeRules, :ReverseShell, :SysVul, :WebVul, :EmergencyVul, :BaseLine, :AttackLogs, :EffectMachineCount, :EventsCount, :RequestId
10958
+ attr_accessor :Malware, :HostLogin, :BruteAttack, :RiskDns, :Bash, :PrivilegeRules, :ReverseShell, :SysVul, :WebVul, :EmergencyVul, :BaseLine, :AttackLogs, :EffectMachineCount, :EventsCount, :WindowVul, :LinuxVul, :RequestId
10938
10959
 
10939
- def initialize(malware=nil, hostlogin=nil, bruteattack=nil, riskdns=nil, bash=nil, privilegerules=nil, reverseshell=nil, sysvul=nil, webvul=nil, emergencyvul=nil, baseline=nil, attacklogs=nil, effectmachinecount=nil, eventscount=nil, requestid=nil)
10960
+ def initialize(malware=nil, hostlogin=nil, bruteattack=nil, riskdns=nil, bash=nil, privilegerules=nil, reverseshell=nil, sysvul=nil, webvul=nil, emergencyvul=nil, baseline=nil, attacklogs=nil, effectmachinecount=nil, eventscount=nil, windowvul=nil, linuxvul=nil, requestid=nil)
10940
10961
  @Malware = malware
10941
10962
  @HostLogin = hostlogin
10942
10963
  @BruteAttack = bruteattack
@@ -10951,6 +10972,8 @@ module TencentCloud
10951
10972
  @AttackLogs = attacklogs
10952
10973
  @EffectMachineCount = effectmachinecount
10953
10974
  @EventsCount = eventscount
10975
+ @WindowVul = windowvul
10976
+ @LinuxVul = linuxvul
10954
10977
  @RequestId = requestid
10955
10978
  end
10956
10979
 
@@ -11005,6 +11028,14 @@ module TencentCloud
11005
11028
  end
11006
11029
  @EffectMachineCount = params['EffectMachineCount']
11007
11030
  @EventsCount = params['EventsCount']
11031
+ unless params['WindowVul'].nil?
11032
+ @WindowVul = SecurityEventInfo.new
11033
+ @WindowVul.deserialize(params['WindowVul'])
11034
+ end
11035
+ unless params['LinuxVul'].nil?
11036
+ @LinuxVul = SecurityEventInfo.new
11037
+ @LinuxVul.deserialize(params['LinuxVul'])
11038
+ end
11008
11039
  @RequestId = params['RequestId']
11009
11040
  end
11010
11041
  end
@@ -11600,7 +11631,7 @@ module TencentCloud
11600
11631
  # @param Filters: 过滤条件。
11601
11632
  # <li>AliasName - String - 主机名筛选</li>
11602
11633
  # <li>TagIds - String - 主机标签id串,多个用英文逗号分隔</li>
11603
- # <li>Status - String - 状态,0: 待处理 1:忽略 3:已修复 5:检测中 6:修复这中.</li>
11634
+ # <li>Status - String - 状态,0: 待处理 1:忽略 3:已修复 5:检测中 6:修复中 8=:修复失败.</li>
11604
11635
  # <li>Uuid - String数组 - Uuid串数组</li>
11605
11636
  # @type Filters: Array
11606
11637
 
@@ -11782,7 +11813,7 @@ module TencentCloud
11782
11813
  # @param VulLevel: 危害等级:1-低危;2-中危;3-高危;4-严重
11783
11814
  # 注意:此字段可能返回 null,表示取不到有效值。
11784
11815
  # @type VulLevel: Integer
11785
- # @param VulType: 漏洞分类 1: web应用漏洞 2:系统组件漏洞
11816
+ # @param VulType: 漏洞分类 1: web应用漏洞 2:应用漏洞3:安全基线 4: Linux系统漏洞 5: Windows系统漏洞
11786
11817
  # 注意:此字段可能返回 null,表示取不到有效值。
11787
11818
  # @type VulType: Integer
11788
11819
  # @param Description: 漏洞描述信息
@@ -11812,12 +11843,15 @@ module TencentCloud
11812
11843
  # @param CvssScoreFloat: cvss 分数 浮点型
11813
11844
  # 注意:此字段可能返回 null,表示取不到有效值。
11814
11845
  # @type CvssScoreFloat: Float
11846
+ # @param Labels: 漏洞标签 多个逗号分割
11847
+ # 注意:此字段可能返回 null,表示取不到有效值。
11848
+ # @type Labels: String
11815
11849
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
11816
11850
  # @type RequestId: String
11817
11851
 
11818
- attr_accessor :VulId, :VulName, :VulLevel, :VulType, :Description, :RepairPlan, :CveId, :Reference, :CVSS, :PublicDate, :CvssScore, :CveInfo, :CvssScoreFloat, :RequestId
11852
+ attr_accessor :VulId, :VulName, :VulLevel, :VulType, :Description, :RepairPlan, :CveId, :Reference, :CVSS, :PublicDate, :CvssScore, :CveInfo, :CvssScoreFloat, :Labels, :RequestId
11819
11853
 
11820
- 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, requestid=nil)
11854
+ 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, requestid=nil)
11821
11855
  @VulId = vulid
11822
11856
  @VulName = vulname
11823
11857
  @VulLevel = vullevel
@@ -11831,6 +11865,7 @@ module TencentCloud
11831
11865
  @CvssScore = cvssscore
11832
11866
  @CveInfo = cveinfo
11833
11867
  @CvssScoreFloat = cvssscorefloat
11868
+ @Labels = labels
11834
11869
  @RequestId = requestid
11835
11870
  end
11836
11871
 
@@ -11848,18 +11883,24 @@ module TencentCloud
11848
11883
  @CvssScore = params['CvssScore']
11849
11884
  @CveInfo = params['CveInfo']
11850
11885
  @CvssScoreFloat = params['CvssScoreFloat']
11886
+ @Labels = params['Labels']
11851
11887
  @RequestId = params['RequestId']
11852
11888
  end
11853
11889
  end
11854
11890
 
11855
11891
  # DescribeVulLevelCount请求参数结构体
11856
11892
  class DescribeVulLevelCountRequest < TencentCloud::Common::AbstractModel
11893
+ # @param VulCategory: 1: web应用漏洞 2=系统组件漏洞3:安全基线 4: Linux系统漏洞 5: windows补丁 6:应急漏洞
11894
+ # @type VulCategory: Integer
11857
11895
 
11896
+ attr_accessor :VulCategory
11858
11897
 
11859
- def initialize()
11898
+ def initialize(vulcategory=nil)
11899
+ @VulCategory = vulcategory
11860
11900
  end
11861
11901
 
11862
11902
  def deserialize(params)
11903
+ @VulCategory = params['VulCategory']
11863
11904
  end
11864
11905
  end
11865
11906
 
@@ -11898,22 +11939,25 @@ module TencentCloud
11898
11939
  # @param Offset: 偏移量,默认为0。
11899
11940
  # @type Offset: Integer
11900
11941
  # @param Filters: 过滤条件。
11901
- # <li>IfEmergency - String - 是否必填:否 - 是否为应急漏洞,查询应急漏洞传:yes</li>
11902
- # <li>Status - String - 是否必填:是 - 漏洞状态筛选,0: 待处理 1:忽略 3:已修复 5:检测中,6:修复中 控制台仅处理0,1,3,5,6五种状态</li>
11903
- # <li>Level - String - 是否必填:否 - 漏洞等级筛选 1:低 2:中 3:高 4:提示</li>
11904
- # <li>VulName- String - 是否必填:否 - 漏洞名称搜索</li>
11905
- # <li>LastDay- int - 是否必填:否 - 查询近几日的数据,需要 -1 之后传入,例如近3日数据,传2</li>
11906
- # <li>OrderBy - String 是否必填:否 默认按照处理状态,威胁等级,检测时间排序 -排序字段,支持:level,lastTime的动态排序 hostCount 影响主机台数排序</li>
11907
- # <li>IsShowFollowVul - String 是否必填:否 是否仅展示重点关注漏洞 0=展示全部 1=仅展示重点关注漏洞</li>
11908
- # <li>VulCategory- String 是否必填:否 1: web应用漏洞 2:系统组件漏洞3:安全基线 4: Linux系统漏洞 5: windows补丁</li>
11942
+ # <li>Status - String - 是否必填:否 - 处理状态 0 -- 待处理 1 -- 已加白 2 -- 已删除 3 - 已忽略</li>
11943
+ # <li>ModifyTime - String - 是否必填:否 - 最近发生时间</li>
11944
+ # <li>Uuid- String - 是否必填:否 - 主机uuid查询</li>
11945
+ # <li>VulName- string -</li>
11946
+ # <li>HostIp- string - 是否必填:否 - 主机ip</li>
11909
11947
  # @type Filters: Array
11948
+ # @param By: 可选排序字段 Level,LastTime,HostCount
11949
+ # @type By: String
11950
+ # @param Order: 排序顺序:desc 默认asc
11951
+ # @type Order: String
11910
11952
 
11911
- attr_accessor :Limit, :Offset, :Filters
11953
+ attr_accessor :Limit, :Offset, :Filters, :By, :Order
11912
11954
 
11913
- def initialize(limit=nil, offset=nil, filters=nil)
11955
+ def initialize(limit=nil, offset=nil, filters=nil, by=nil, order=nil)
11914
11956
  @Limit = limit
11915
11957
  @Offset = offset
11916
11958
  @Filters = filters
11959
+ @By = by
11960
+ @Order = order
11917
11961
  end
11918
11962
 
11919
11963
  def deserialize(params)
@@ -11927,6 +11971,8 @@ module TencentCloud
11927
11971
  @Filters << filters_tmp
11928
11972
  end
11929
11973
  end
11974
+ @By = params['By']
11975
+ @Order = params['Order']
11930
11976
  end
11931
11977
  end
11932
11978
 
@@ -11972,7 +12018,7 @@ module TencentCloud
11972
12018
  class DescribeVulTopRequest < TencentCloud::Common::AbstractModel
11973
12019
  # @param Top: 漏洞风险服务器top,1-100
11974
12020
  # @type Top: Integer
11975
- # @param VulCategory: 1: web应用漏洞 2=系统组件漏洞3:安全基线 4: Linux系统漏洞 5: windows补丁,传0的时候表示查应急漏洞
12021
+ # @param VulCategory: 1: web应用漏洞 2=系统组件漏洞3:安全基线 4: Linux系统漏洞 5: windows补丁 6:应急漏洞
11976
12022
  # @type VulCategory: Integer
11977
12023
 
11978
12024
  attr_accessor :Top, :VulCategory
@@ -12529,10 +12575,22 @@ module TencentCloud
12529
12575
  # @type LastScanTime: String
12530
12576
  # @param Progress: 扫描进度
12531
12577
  # @type Progress: Integer
12578
+ # @param CveId: cve编号
12579
+ # 注意:此字段可能返回 null,表示取不到有效值。
12580
+ # @type CveId: String
12581
+ # @param CvssScore: CVSS评分
12582
+ # 注意:此字段可能返回 null,表示取不到有效值。
12583
+ # @type CvssScore: Float
12584
+ # @param Labels: 漏洞标签 多个逗号分割
12585
+ # 注意:此字段可能返回 null,表示取不到有效值。
12586
+ # @type Labels: String
12587
+ # @param HostCount: 影响机器数
12588
+ # 注意:此字段可能返回 null,表示取不到有效值。
12589
+ # @type HostCount: Integer
12532
12590
 
12533
- attr_accessor :VulId, :Level, :VulName, :PublishDate, :Category, :Status, :LastScanTime, :Progress
12591
+ attr_accessor :VulId, :Level, :VulName, :PublishDate, :Category, :Status, :LastScanTime, :Progress, :CveId, :CvssScore, :Labels, :HostCount
12534
12592
 
12535
- def initialize(vulid=nil, level=nil, vulname=nil, publishdate=nil, category=nil, status=nil, lastscantime=nil, progress=nil)
12593
+ def initialize(vulid=nil, level=nil, vulname=nil, publishdate=nil, category=nil, status=nil, lastscantime=nil, progress=nil, cveid=nil, cvssscore=nil, labels=nil, hostcount=nil)
12536
12594
  @VulId = vulid
12537
12595
  @Level = level
12538
12596
  @VulName = vulname
@@ -12541,6 +12599,10 @@ module TencentCloud
12541
12599
  @Status = status
12542
12600
  @LastScanTime = lastscantime
12543
12601
  @Progress = progress
12602
+ @CveId = cveid
12603
+ @CvssScore = cvssscore
12604
+ @Labels = labels
12605
+ @HostCount = hostcount
12544
12606
  end
12545
12607
 
12546
12608
  def deserialize(params)
@@ -12552,6 +12614,10 @@ module TencentCloud
12552
12614
  @Status = params['Status']
12553
12615
  @LastScanTime = params['LastScanTime']
12554
12616
  @Progress = params['Progress']
12617
+ @CveId = params['CveId']
12618
+ @CvssScore = params['CvssScore']
12619
+ @Labels = params['Labels']
12620
+ @HostCount = params['HostCount']
12555
12621
  end
12556
12622
  end
12557
12623
 
@@ -16313,12 +16379,12 @@ module TencentCloud
16313
16379
 
16314
16380
  # ScanVul请求参数结构体
16315
16381
  class ScanVulRequest < TencentCloud::Common::AbstractModel
16316
- # @param VulCategories: 漏洞类型:1: web应用漏洞 2:系统组件漏洞 (多选英文;分隔)
16317
- # @type VulCategories: String
16318
16382
  # @param VulLevels: 危害等级:1-低危;2-中危;3-高危;4-严重 (多选英文;分隔)
16319
16383
  # @type VulLevels: String
16320
16384
  # @param HostType: 服务器分类:1:专业版服务器;2:自选服务器
16321
16385
  # @type HostType: Integer
16386
+ # @param VulCategories: 漏洞类型:1: web应用漏洞(webCMS) 2:系统组件(应用漏洞)漏洞 3:安全基线 4:Linux软件漏洞 5:Windows系统漏洞(多选英文;分隔)
16387
+ # @type VulCategories: String
16322
16388
  # @param QuuidList: 自选服务器时生效,主机quuid的string数组
16323
16389
  # @type QuuidList: Array
16324
16390
  # @param VulEmergency: 是否是应急漏洞 0 否 1 是
@@ -16328,12 +16394,12 @@ module TencentCloud
16328
16394
  # @param VulIds: 需要扫描的漏洞id
16329
16395
  # @type VulIds: Array
16330
16396
 
16331
- attr_accessor :VulCategories, :VulLevels, :HostType, :QuuidList, :VulEmergency, :TimeoutPeriod, :VulIds
16397
+ attr_accessor :VulLevels, :HostType, :VulCategories, :QuuidList, :VulEmergency, :TimeoutPeriod, :VulIds
16332
16398
 
16333
- def initialize(vulcategories=nil, vullevels=nil, hosttype=nil, quuidlist=nil, vulemergency=nil, timeoutperiod=nil, vulids=nil)
16334
- @VulCategories = vulcategories
16399
+ def initialize(vullevels=nil, hosttype=nil, vulcategories=nil, quuidlist=nil, vulemergency=nil, timeoutperiod=nil, vulids=nil)
16335
16400
  @VulLevels = vullevels
16336
16401
  @HostType = hosttype
16402
+ @VulCategories = vulcategories
16337
16403
  @QuuidList = quuidlist
16338
16404
  @VulEmergency = vulemergency
16339
16405
  @TimeoutPeriod = timeoutperiod
@@ -16341,9 +16407,9 @@ module TencentCloud
16341
16407
  end
16342
16408
 
16343
16409
  def deserialize(params)
16344
- @VulCategories = params['VulCategories']
16345
16410
  @VulLevels = params['VulLevels']
16346
16411
  @HostType = params['HostType']
16412
+ @VulCategories = params['VulCategories']
16347
16413
  @QuuidList = params['QuuidList']
16348
16414
  @VulEmergency = params['VulEmergency']
16349
16415
  @TimeoutPeriod = params['TimeoutPeriod']
@@ -17242,7 +17308,7 @@ module TencentCloud
17242
17308
  # @param EventId: 事件id
17243
17309
  # 注意:此字段可能返回 null,表示取不到有效值。
17244
17310
  # @type EventId: Integer
17245
- # @param Status: 状态:0: 待处理 1:忽略 3:已修复 5:检测中 6:修复中
17311
+ # @param Status: 状态:0: 待处理 1:忽略 3:已修复 5:检测中 6:修复中 7: 回滚中 8:修复失败
17246
17312
  # 注意:此字段可能返回 null,表示取不到有效值。
17247
17313
  # @type Status: Integer
17248
17314
  # @param LastTime: 最后检测时间
@@ -17269,10 +17335,19 @@ module TencentCloud
17269
17335
  # @param Description: 说明
17270
17336
  # 注意:此字段可能返回 null,表示取不到有效值。
17271
17337
  # @type Description: String
17338
+ # @param HostVersion: 版本信息 0=普通版本 1=专业版 2=旗舰版
17339
+ # 注意:此字段可能返回 null,表示取不到有效值。
17340
+ # @type HostVersion: Integer
17341
+ # @param IsSupportAutoFix: 是否能自动修复 0 :漏洞不可自动修复, 1:可自动修复, 2:客户端已离线, 3:主机不是旗舰版只能手动修复, 4:机型不允许 ,5:修复中 ,6:已修复, 7:检测中 9:修复失败,10:已忽略 11:漏洞只支持linux不支持Windows 12:漏洞只支持Windows不支持linux,13:修复失败但此时主机已离线,14:修复失败但此时主机不是旗舰版, 15:已手动修复
17342
+ # 注意:此字段可能返回 null,表示取不到有效值。
17343
+ # @type IsSupportAutoFix: Integer
17344
+ # @param FixStatusMsg: 失败原因
17345
+ # 注意:此字段可能返回 null,表示取不到有效值。
17346
+ # @type FixStatusMsg: String
17272
17347
 
17273
- attr_accessor :EventId, :Status, :LastTime, :Level, :Quuid, :Uuid, :HostIp, :AliasName, :Tags, :Description
17348
+ attr_accessor :EventId, :Status, :LastTime, :Level, :Quuid, :Uuid, :HostIp, :AliasName, :Tags, :Description, :HostVersion, :IsSupportAutoFix, :FixStatusMsg
17274
17349
 
17275
- def initialize(eventid=nil, status=nil, lasttime=nil, level=nil, quuid=nil, uuid=nil, hostip=nil, aliasname=nil, tags=nil, description=nil)
17350
+ def initialize(eventid=nil, status=nil, lasttime=nil, level=nil, quuid=nil, uuid=nil, hostip=nil, aliasname=nil, tags=nil, description=nil, hostversion=nil, issupportautofix=nil, fixstatusmsg=nil)
17276
17351
  @EventId = eventid
17277
17352
  @Status = status
17278
17353
  @LastTime = lasttime
@@ -17283,6 +17358,9 @@ module TencentCloud
17283
17358
  @AliasName = aliasname
17284
17359
  @Tags = tags
17285
17360
  @Description = description
17361
+ @HostVersion = hostversion
17362
+ @IsSupportAutoFix = issupportautofix
17363
+ @FixStatusMsg = fixstatusmsg
17286
17364
  end
17287
17365
 
17288
17366
  def deserialize(params)
@@ -17296,6 +17374,9 @@ module TencentCloud
17296
17374
  @AliasName = params['AliasName']
17297
17375
  @Tags = params['Tags']
17298
17376
  @Description = params['Description']
17377
+ @HostVersion = params['HostVersion']
17378
+ @IsSupportAutoFix = params['IsSupportAutoFix']
17379
+ @FixStatusMsg = params['FixStatusMsg']
17299
17380
  end
17300
17381
  end
17301
17382
 
@@ -17344,7 +17425,7 @@ module TencentCloud
17344
17425
  # @type Ids: String
17345
17426
  # @param Name: 漏洞名
17346
17427
  # @type Name: String
17347
- # @param Status: 0: 待处理 1:忽略 3:已修复 5:检测中 6:修复中 控制台仅处理0,1,3,5,6四种状态
17428
+ # @param Status: 0: 待处理 1:忽略 3:已修复 5:检测中 6:修复中 8:修复失败
17348
17429
  # @type Status: Integer
17349
17430
  # @param VulId: 漏洞id
17350
17431
  # @type VulId: Integer
@@ -17374,10 +17455,25 @@ module TencentCloud
17374
17455
  # @param StatusStr: 聚合后事件状态串
17375
17456
  # 注意:此字段可能返回 null,表示取不到有效值。
17376
17457
  # @type StatusStr: String
17458
+ # @param CveId: cve编号
17459
+ # 注意:此字段可能返回 null,表示取不到有效值。
17460
+ # @type CveId: String
17461
+ # @param CvssScore: CVSS评分
17462
+ # 注意:此字段可能返回 null,表示取不到有效值。
17463
+ # @type CvssScore: Float
17464
+ # @param Labels: 漏洞标签 多个逗号分割
17465
+ # 注意:此字段可能返回 null,表示取不到有效值。
17466
+ # @type Labels: String
17467
+ # @param FixSwitch: 是否能自动修复且包含能自动修复的主机, 0=否 1=是
17468
+ # 注意:此字段可能返回 null,表示取不到有效值。
17469
+ # @type FixSwitch: Integer
17470
+ # @param TaskId: 最后扫描任务的id
17471
+ # 注意:此字段可能返回 null,表示取不到有效值。
17472
+ # @type TaskId: Integer
17377
17473
 
17378
- attr_accessor :Ids, :Name, :Status, :VulId, :PublishTime, :LastTime, :HostCount, :Level, :From, :Descript, :PublishTimeWisteria, :NameWisteria, :DescriptWisteria, :StatusStr
17474
+ attr_accessor :Ids, :Name, :Status, :VulId, :PublishTime, :LastTime, :HostCount, :Level, :From, :Descript, :PublishTimeWisteria, :NameWisteria, :DescriptWisteria, :StatusStr, :CveId, :CvssScore, :Labels, :FixSwitch, :TaskId
17379
17475
 
17380
- def initialize(ids=nil, name=nil, status=nil, vulid=nil, publishtime=nil, lasttime=nil, hostcount=nil, level=nil, from=nil, descript=nil, publishtimewisteria=nil, namewisteria=nil, descriptwisteria=nil, statusstr=nil)
17476
+ def initialize(ids=nil, name=nil, status=nil, vulid=nil, publishtime=nil, lasttime=nil, hostcount=nil, level=nil, from=nil, descript=nil, publishtimewisteria=nil, namewisteria=nil, descriptwisteria=nil, statusstr=nil, cveid=nil, cvssscore=nil, labels=nil, fixswitch=nil, taskid=nil)
17381
17477
  @Ids = ids
17382
17478
  @Name = name
17383
17479
  @Status = status
@@ -17392,6 +17488,11 @@ module TencentCloud
17392
17488
  @NameWisteria = namewisteria
17393
17489
  @DescriptWisteria = descriptwisteria
17394
17490
  @StatusStr = statusstr
17491
+ @CveId = cveid
17492
+ @CvssScore = cvssscore
17493
+ @Labels = labels
17494
+ @FixSwitch = fixswitch
17495
+ @TaskId = taskid
17395
17496
  end
17396
17497
 
17397
17498
  def deserialize(params)
@@ -17409,6 +17510,11 @@ module TencentCloud
17409
17510
  @NameWisteria = params['NameWisteria']
17410
17511
  @DescriptWisteria = params['DescriptWisteria']
17411
17512
  @StatusStr = params['StatusStr']
17513
+ @CveId = params['CveId']
17514
+ @CvssScore = params['CvssScore']
17515
+ @Labels = params['Labels']
17516
+ @FixSwitch = params['FixSwitch']
17517
+ @TaskId = params['TaskId']
17412
17518
  end
17413
17519
  end
17414
17520
 
@@ -17486,7 +17592,7 @@ module TencentCloud
17486
17592
 
17487
17593
  # 告警设置列表
17488
17594
  class WarningInfoObj < TencentCloud::Common::AbstractModel
17489
- # @param Type: 事件告警类型;1:离线,2:木马,3:异常登录,4:爆破,5:漏洞(已拆分为9-12四种类型)6:高危命令,7:反弹sell,8:本地提权,9:系统组件漏洞,10:wen应用漏洞,11:应急漏洞,12:安全基线 ,13: 防篡改
17595
+ # @param Type: 事件告警类型;1:离线,2:木马,3:异常登录,4:爆破,5:漏洞(已拆分为9-12四种类型)6:高危命令,7:反弹sell,8:本地提权,9:应用漏洞,10:web-cms漏洞,11:应急漏洞,12:安全基线 ,13: 防篡改,14:恶意请求,15: 网络攻击,16:Windows系统漏洞,17:Linux软件漏洞
17490
17596
  # @type Type: Integer
17491
17597
  # @param DisablePhoneWarning: 1: 关闭告警 0: 开启告警
17492
17598
  # @type DisablePhoneWarning: Integer
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: 1.0.204
4
+ version: 1.0.205
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-17 00:00:00.000000000 Z
11
+ date: 2021-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common