tencentcloud-sdk-cwp 1.0.343 → 1.0.346

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 +93 -24
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 63cdc386d380096f66001cbbd9777091fdcdfc14
4
- data.tar.gz: e6ed18e6a1504bfce424fd52bfc8c972c2a9df08
3
+ metadata.gz: e6ad87783f51a292d049be145aebabc4dda9e3ca
4
+ data.tar.gz: 38eac3f6774caaf033427c272eb9105ca563f303
5
5
  SHA512:
6
- metadata.gz: aeb1134fbfe106515450a91c908cf1af23c35df5203ed40887fef2abdccaf5be7dc6cc1d0bab5614ccd3534979c6d8a563392ffee871c1deb905a2b76ae64f01
7
- data.tar.gz: b5e7a4f3877fe2635b2da7035200e85278983c1105d87c220d58bc52aef8e853767a55d670ab0bf8b0b3614430ecb5a8fe0841336a37e6c4260a1d6ddecc6818
6
+ metadata.gz: a10349c983dec72b1527143fde959126643eb3799782d7674f07365a226f08fead3ede52ee4263c177d6eacc06026c8ca380882e53b98b4e5b9b47949469c730
7
+ data.tar.gz: 2d03819b43b29b2f1c3489b4480c0ca72496fc18f502b04885ef2bb4264a3fc53d46539531fa8e816d33d92b70a691a3a57d44623fb0b7c4ff6dfd4b29fd0afe
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.343
1
+ 1.0.346
@@ -7724,10 +7724,11 @@ module TencentCloud
7724
7724
  # <li>Level - String - 是否必填:否 - 漏洞等级筛选 1:低 2:中 3:高 4:提示</li>
7725
7725
  # <li>VulName- String - 是否必填:否 - 漏洞名称搜索</li>
7726
7726
  # <li>Uuids- String - 是否必填:否 - 主机uuid</li>
7727
+ # <li>IsSupportDefense - int- 是否必填:否 - 是否支持防御 0:不支持 1:支持</li>
7727
7728
  # @type Filters: Array
7728
7729
  # @param Order: 排序方式 desc , asc
7729
7730
  # @type Order: String
7730
- # @param By: 排序字段 PublishDate
7731
+ # @param By: 排序字段 PublishDate LastScanTime HostCount
7731
7732
  # @type By: String
7732
7733
 
7733
7734
  attr_accessor :Limit, :Offset, :Filters, :Order, :By
@@ -10602,12 +10603,15 @@ module TencentCloud
10602
10603
  # @param StoppingAll: 任务是否全部正在被停止 ture是
10603
10604
  # 注意:此字段可能返回 null,表示取不到有效值。
10604
10605
  # @type StoppingAll: Boolean
10606
+ # @param VulCount: 扫描出漏洞个数
10607
+ # 注意:此字段可能返回 null,表示取不到有效值。
10608
+ # @type VulCount: Integer
10605
10609
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
10606
10610
  # @type RequestId: String
10607
10611
 
10608
- attr_accessor :ScanTaskDetailList, :TotalCount, :ScanMachineCount, :RiskMachineCount, :ScanBeginTime, :ScanEndTime, :ScanTime, :ScanProgress, :ScanLeftTime, :ScanContent, :VulInfo, :RiskEventCount, :Type, :StoppingAll, :RequestId
10612
+ attr_accessor :ScanTaskDetailList, :TotalCount, :ScanMachineCount, :RiskMachineCount, :ScanBeginTime, :ScanEndTime, :ScanTime, :ScanProgress, :ScanLeftTime, :ScanContent, :VulInfo, :RiskEventCount, :Type, :StoppingAll, :VulCount, :RequestId
10609
10613
 
10610
- def initialize(scantaskdetaillist=nil, totalcount=nil, scanmachinecount=nil, riskmachinecount=nil, scanbegintime=nil, scanendtime=nil, scantime=nil, scanprogress=nil, scanlefttime=nil, scancontent=nil, vulinfo=nil, riskeventcount=nil, type=nil, stoppingall=nil, requestid=nil)
10614
+ def initialize(scantaskdetaillist=nil, totalcount=nil, scanmachinecount=nil, riskmachinecount=nil, scanbegintime=nil, scanendtime=nil, scantime=nil, scanprogress=nil, scanlefttime=nil, scancontent=nil, vulinfo=nil, riskeventcount=nil, type=nil, stoppingall=nil, vulcount=nil, requestid=nil)
10611
10615
  @ScanTaskDetailList = scantaskdetaillist
10612
10616
  @TotalCount = totalcount
10613
10617
  @ScanMachineCount = scanmachinecount
@@ -10622,6 +10626,7 @@ module TencentCloud
10622
10626
  @RiskEventCount = riskeventcount
10623
10627
  @Type = type
10624
10628
  @StoppingAll = stoppingall
10629
+ @VulCount = vulcount
10625
10630
  @RequestId = requestid
10626
10631
  end
10627
10632
 
@@ -10654,6 +10659,7 @@ module TencentCloud
10654
10659
  @RiskEventCount = params['RiskEventCount']
10655
10660
  @Type = params['Type']
10656
10661
  @StoppingAll = params['StoppingAll']
10662
+ @VulCount = params['VulCount']
10657
10663
  @RequestId = params['RequestId']
10658
10664
  end
10659
10665
  end
@@ -11954,19 +11960,23 @@ module TencentCloud
11954
11960
  class DescribeVulHostTopRequest < TencentCloud::Common::AbstractModel
11955
11961
  # @param Top: 获取top值,1-100
11956
11962
  # @type Top: Integer
11957
- # @param VulCategory: 1:web-cms 漏洞,2.应用漏洞 3:安全基线 4: Linux软件漏洞 5: windows系统漏洞 6:应急漏洞
11963
+ # @param VulCategory: 1:web-cms 漏洞,2.应用漏洞 4: Linux软件漏洞 5: windows系统漏洞 6:应急漏洞,不填或者填0时返回 1,2,4,5 的总统计数据
11958
11964
  # @type VulCategory: Integer
11965
+ # @param IsFollowVul: 是否仅统计重点关注漏洞 1=仅统计重点关注漏洞, 0=统计全部漏洞
11966
+ # @type IsFollowVul: Integer
11959
11967
 
11960
- attr_accessor :Top, :VulCategory
11968
+ attr_accessor :Top, :VulCategory, :IsFollowVul
11961
11969
 
11962
- def initialize(top=nil, vulcategory=nil)
11970
+ def initialize(top=nil, vulcategory=nil, isfollowvul=nil)
11963
11971
  @Top = top
11964
11972
  @VulCategory = vulcategory
11973
+ @IsFollowVul = isfollowvul
11965
11974
  end
11966
11975
 
11967
11976
  def deserialize(params)
11968
11977
  @Top = params['Top']
11969
11978
  @VulCategory = params['VulCategory']
11979
+ @IsFollowVul = params['IsFollowVul']
11970
11980
  end
11971
11981
  end
11972
11982
 
@@ -12058,12 +12068,15 @@ module TencentCloud
12058
12068
  # @param Labels: 漏洞标签 多个逗号分割
12059
12069
  # 注意:此字段可能返回 null,表示取不到有效值。
12060
12070
  # @type Labels: String
12071
+ # @param DefenseAttackCount: 已防御的攻击次数
12072
+ # 注意:此字段可能返回 null,表示取不到有效值。
12073
+ # @type DefenseAttackCount: Integer
12061
12074
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
12062
12075
  # @type RequestId: String
12063
12076
 
12064
- attr_accessor :VulId, :VulName, :VulLevel, :VulType, :Description, :RepairPlan, :CveId, :Reference, :CVSS, :PublicDate, :CvssScore, :CveInfo, :CvssScoreFloat, :Labels, :RequestId
12077
+ attr_accessor :VulId, :VulName, :VulLevel, :VulType, :Description, :RepairPlan, :CveId, :Reference, :CVSS, :PublicDate, :CvssScore, :CveInfo, :CvssScoreFloat, :Labels, :DefenseAttackCount, :RequestId
12065
12078
 
12066
- 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)
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)
12067
12080
  @VulId = vulid
12068
12081
  @VulName = vulname
12069
12082
  @VulLevel = vullevel
@@ -12078,6 +12091,7 @@ module TencentCloud
12078
12091
  @CveInfo = cveinfo
12079
12092
  @CvssScoreFloat = cvssscorefloat
12080
12093
  @Labels = labels
12094
+ @DefenseAttackCount = defenseattackcount
12081
12095
  @RequestId = requestid
12082
12096
  end
12083
12097
 
@@ -12096,23 +12110,28 @@ module TencentCloud
12096
12110
  @CveInfo = params['CveInfo']
12097
12111
  @CvssScoreFloat = params['CvssScoreFloat']
12098
12112
  @Labels = params['Labels']
12113
+ @DefenseAttackCount = params['DefenseAttackCount']
12099
12114
  @RequestId = params['RequestId']
12100
12115
  end
12101
12116
  end
12102
12117
 
12103
12118
  # DescribeVulLevelCount请求参数结构体
12104
12119
  class DescribeVulLevelCountRequest < TencentCloud::Common::AbstractModel
12105
- # @param VulCategory: 1:web-cms 漏洞,2.应用漏洞 3:安全基线 4: Linux软件漏洞 5: windows系统漏洞 6:应急漏洞
12120
+ # @param VulCategory: 1:web-cms 漏洞,2.应用漏洞 3:安全基线 4: Linux软件漏洞 5: windows系统漏洞 6:应急漏洞,不填或者填0时返回 1,2,4,5 的总统计数据
12106
12121
  # @type VulCategory: Integer
12122
+ # @param IsFollowVul: 是否仅统计重点关注漏洞 1=仅统计重点关注漏洞, 0=统计全部漏洞
12123
+ # @type IsFollowVul: Integer
12107
12124
 
12108
- attr_accessor :VulCategory
12125
+ attr_accessor :VulCategory, :IsFollowVul
12109
12126
 
12110
- def initialize(vulcategory=nil)
12127
+ def initialize(vulcategory=nil, isfollowvul=nil)
12111
12128
  @VulCategory = vulcategory
12129
+ @IsFollowVul = isfollowvul
12112
12130
  end
12113
12131
 
12114
12132
  def deserialize(params)
12115
12133
  @VulCategory = params['VulCategory']
12134
+ @IsFollowVul = params['IsFollowVul']
12116
12135
  end
12117
12136
  end
12118
12137
 
@@ -12156,6 +12175,8 @@ module TencentCloud
12156
12175
  # <li>Uuid- String - 是否必填:否 - 主机uuid查询</li>
12157
12176
  # <li>VulName- string -</li>
12158
12177
  # <li>VulCategory- string - 是否必填:否 - 漏洞类别 1: web-cms漏洞 2:应用漏洞 4: Linux软件漏洞 5: Windows系统漏洞</li>
12178
+ # <li>IsSupportDefense - int- 是否必填:否 - 是否支持防御 0:不支持 1:支持</li>
12179
+ # <li>Labels- string- 是否必填:否 - 标签搜索</li>
12159
12180
  # @type Filters: Array
12160
12181
  # @param By: 可选排序字段 Level,LastTime,HostCount
12161
12182
  # @type By: String
@@ -12230,19 +12251,23 @@ module TencentCloud
12230
12251
  class DescribeVulTopRequest < TencentCloud::Common::AbstractModel
12231
12252
  # @param Top: 漏洞风险服务器top,1-100
12232
12253
  # @type Top: Integer
12233
- # @param VulCategory: 1:web-cms 漏洞,2.应用漏洞 3:安全基线 4: Linux软件漏洞 5: windows系统漏洞 6:应急漏洞
12254
+ # @param VulCategory: 1:web-cms 漏洞,2.应用漏洞 4: Linux软件漏洞 5: windows系统漏洞 6:应急漏洞,不填或者填0时返回 1,2,4,5 的总统计数据
12234
12255
  # @type VulCategory: Integer
12256
+ # @param IsFollowVul: 是否仅统计重点关注漏洞 1=仅统计重点关注漏洞, 0=统计全部漏洞
12257
+ # @type IsFollowVul: Integer
12235
12258
 
12236
- attr_accessor :Top, :VulCategory
12259
+ attr_accessor :Top, :VulCategory, :IsFollowVul
12237
12260
 
12238
- def initialize(top=nil, vulcategory=nil)
12261
+ def initialize(top=nil, vulcategory=nil, isfollowvul=nil)
12239
12262
  @Top = top
12240
12263
  @VulCategory = vulcategory
12264
+ @IsFollowVul = isfollowvul
12241
12265
  end
12242
12266
 
12243
12267
  def deserialize(params)
12244
12268
  @Top = params['Top']
12245
12269
  @VulCategory = params['VulCategory']
12270
+ @IsFollowVul = params['IsFollowVul']
12246
12271
  end
12247
12272
  end
12248
12273
 
@@ -12807,10 +12832,16 @@ module TencentCloud
12807
12832
  # @param HostCount: 影响机器数
12808
12833
  # 注意:此字段可能返回 null,表示取不到有效值。
12809
12834
  # @type HostCount: Integer
12835
+ # @param IsSupportDefense: 是否支持防御, 0:不支持 1:支持
12836
+ # 注意:此字段可能返回 null,表示取不到有效值。
12837
+ # @type IsSupportDefense: Integer
12838
+ # @param DefenseAttackCount: 已防御的攻击次数
12839
+ # 注意:此字段可能返回 null,表示取不到有效值。
12840
+ # @type DefenseAttackCount: Integer
12810
12841
 
12811
- attr_accessor :VulId, :Level, :VulName, :PublishDate, :Category, :Status, :LastScanTime, :Progress, :CveId, :CvssScore, :Labels, :HostCount
12842
+ attr_accessor :VulId, :Level, :VulName, :PublishDate, :Category, :Status, :LastScanTime, :Progress, :CveId, :CvssScore, :Labels, :HostCount, :IsSupportDefense, :DefenseAttackCount
12812
12843
 
12813
- 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)
12844
+ 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, issupportdefense=nil, defenseattackcount=nil)
12814
12845
  @VulId = vulid
12815
12846
  @Level = level
12816
12847
  @VulName = vulname
@@ -12823,6 +12854,8 @@ module TencentCloud
12823
12854
  @CvssScore = cvssscore
12824
12855
  @Labels = labels
12825
12856
  @HostCount = hostcount
12857
+ @IsSupportDefense = issupportdefense
12858
+ @DefenseAttackCount = defenseattackcount
12826
12859
  end
12827
12860
 
12828
12861
  def deserialize(params)
@@ -12838,6 +12871,8 @@ module TencentCloud
12838
12871
  @CvssScore = params['CvssScore']
12839
12872
  @Labels = params['Labels']
12840
12873
  @HostCount = params['HostCount']
12874
+ @IsSupportDefense = params['IsSupportDefense']
12875
+ @DefenseAttackCount = params['DefenseAttackCount']
12841
12876
  end
12842
12877
  end
12843
12878
 
@@ -14259,10 +14294,13 @@ module TencentCloud
14259
14294
  # @param Location: 位置名称
14260
14295
  # 注意:此字段可能返回 null,表示取不到有效值。
14261
14296
  # @type Location: String
14297
+ # @param Quuid: 主机quuid
14298
+ # 注意:此字段可能返回 null,表示取不到有效值。
14299
+ # @type Quuid: String
14262
14300
 
14263
- attr_accessor :Id, :Uuid, :MachineIp, :MachineName, :UserName, :SrcIp, :Status, :Country, :City, :Province, :LoginTime, :ModifyTime, :IsRiskArea, :IsRiskUser, :IsRiskTime, :IsRiskSrcIp, :RiskLevel, :Location
14301
+ attr_accessor :Id, :Uuid, :MachineIp, :MachineName, :UserName, :SrcIp, :Status, :Country, :City, :Province, :LoginTime, :ModifyTime, :IsRiskArea, :IsRiskUser, :IsRiskTime, :IsRiskSrcIp, :RiskLevel, :Location, :Quuid
14264
14302
 
14265
- def initialize(id=nil, uuid=nil, machineip=nil, machinename=nil, username=nil, srcip=nil, status=nil, country=nil, city=nil, province=nil, logintime=nil, modifytime=nil, isriskarea=nil, isriskuser=nil, isrisktime=nil, isrisksrcip=nil, risklevel=nil, location=nil)
14303
+ def initialize(id=nil, uuid=nil, machineip=nil, machinename=nil, username=nil, srcip=nil, status=nil, country=nil, city=nil, province=nil, logintime=nil, modifytime=nil, isriskarea=nil, isriskuser=nil, isrisktime=nil, isrisksrcip=nil, risklevel=nil, location=nil, quuid=nil)
14266
14304
  @Id = id
14267
14305
  @Uuid = uuid
14268
14306
  @MachineIp = machineip
@@ -14281,6 +14319,7 @@ module TencentCloud
14281
14319
  @IsRiskSrcIp = isrisksrcip
14282
14320
  @RiskLevel = risklevel
14283
14321
  @Location = location
14322
+ @Quuid = quuid
14284
14323
  end
14285
14324
 
14286
14325
  def deserialize(params)
@@ -14302,6 +14341,7 @@ module TencentCloud
14302
14341
  @IsRiskSrcIp = params['IsRiskSrcIp']
14303
14342
  @RiskLevel = params['RiskLevel']
14304
14343
  @Location = params['Location']
14344
+ @Quuid = params['Quuid']
14305
14345
  end
14306
14346
  end
14307
14347
 
@@ -16361,10 +16401,12 @@ module TencentCloud
16361
16401
  # @type Id: Integer
16362
16402
  # @param FailType: 失败详情
16363
16403
  # @type FailType: Integer
16404
+ # @param MachineWanIp: 外网ip
16405
+ # @type MachineWanIp: String
16364
16406
 
16365
- attr_accessor :HostIp, :HostName, :OsName, :RiskNum, :ScanBeginTime, :ScanEndTime, :Uuid, :Quuid, :Status, :Description, :Id, :FailType
16407
+ attr_accessor :HostIp, :HostName, :OsName, :RiskNum, :ScanBeginTime, :ScanEndTime, :Uuid, :Quuid, :Status, :Description, :Id, :FailType, :MachineWanIp
16366
16408
 
16367
- def initialize(hostip=nil, hostname=nil, osname=nil, risknum=nil, scanbegintime=nil, scanendtime=nil, uuid=nil, quuid=nil, status=nil, description=nil, id=nil, failtype=nil)
16409
+ def initialize(hostip=nil, hostname=nil, osname=nil, risknum=nil, scanbegintime=nil, scanendtime=nil, uuid=nil, quuid=nil, status=nil, description=nil, id=nil, failtype=nil, machinewanip=nil)
16368
16410
  @HostIp = hostip
16369
16411
  @HostName = hostname
16370
16412
  @OsName = osname
@@ -16377,6 +16419,7 @@ module TencentCloud
16377
16419
  @Description = description
16378
16420
  @Id = id
16379
16421
  @FailType = failtype
16422
+ @MachineWanIp = machinewanip
16380
16423
  end
16381
16424
 
16382
16425
  def deserialize(params)
@@ -16392,6 +16435,7 @@ module TencentCloud
16392
16435
  @Description = params['Description']
16393
16436
  @Id = params['Id']
16394
16437
  @FailType = params['FailType']
16438
+ @MachineWanIp = params['MachineWanIp']
16395
16439
  end
16396
16440
  end
16397
16441
 
@@ -17404,10 +17448,13 @@ module TencentCloud
17404
17448
  # @param InstanceState: 实例状态:"PENDING"-创建中 "LAUNCH_FAILED"-创建失败 "RUNNING"-运行中 "STOPPED"-关机 "STARTING"-表示开机中 "STOPPING"-表示关机中 "REBOOTING"-重启中 "SHUTDOWN"-表示停止待销毁 "TERMINATING"-表示销毁中 "
17405
17449
  # 注意:此字段可能返回 null,表示取不到有效值。
17406
17450
  # @type InstanceState: String
17451
+ # @param PublicIpAddresses: 外网ip
17452
+ # 注意:此字段可能返回 null,表示取不到有效值。
17453
+ # @type PublicIpAddresses: String
17407
17454
 
17408
- attr_accessor :EventId, :Status, :LastTime, :Level, :Quuid, :Uuid, :HostIp, :AliasName, :Tags, :Description, :HostVersion, :IsSupportAutoFix, :FixStatusMsg, :FirstDiscoveryTime, :InstanceState
17455
+ attr_accessor :EventId, :Status, :LastTime, :Level, :Quuid, :Uuid, :HostIp, :AliasName, :Tags, :Description, :HostVersion, :IsSupportAutoFix, :FixStatusMsg, :FirstDiscoveryTime, :InstanceState, :PublicIpAddresses
17409
17456
 
17410
- 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, firstdiscoverytime=nil, instancestate=nil)
17457
+ 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, firstdiscoverytime=nil, instancestate=nil, publicipaddresses=nil)
17411
17458
  @EventId = eventid
17412
17459
  @Status = status
17413
17460
  @LastTime = lasttime
@@ -17423,6 +17470,7 @@ module TencentCloud
17423
17470
  @FixStatusMsg = fixstatusmsg
17424
17471
  @FirstDiscoveryTime = firstdiscoverytime
17425
17472
  @InstanceState = instancestate
17473
+ @PublicIpAddresses = publicipaddresses
17426
17474
  end
17427
17475
 
17428
17476
  def deserialize(params)
@@ -17441,6 +17489,7 @@ module TencentCloud
17441
17489
  @FixStatusMsg = params['FixStatusMsg']
17442
17490
  @FirstDiscoveryTime = params['FirstDiscoveryTime']
17443
17491
  @InstanceState = params['InstanceState']
17492
+ @PublicIpAddresses = params['PublicIpAddresses']
17444
17493
  end
17445
17494
  end
17446
17495
 
@@ -17534,10 +17583,22 @@ module TencentCloud
17534
17583
  # @param TaskId: 最后扫描任务的id
17535
17584
  # 注意:此字段可能返回 null,表示取不到有效值。
17536
17585
  # @type TaskId: Integer
17586
+ # @param IsSupportDefense: 是否支持防御, 0:不支持 1:支持
17587
+ # 注意:此字段可能返回 null,表示取不到有效值。
17588
+ # @type IsSupportDefense: Integer
17589
+ # @param DefenseAttackCount: 已防御的攻击次数
17590
+ # 注意:此字段可能返回 null,表示取不到有效值。
17591
+ # @type DefenseAttackCount: Integer
17592
+ # @param FirstAppearTime: 首次出现时间
17593
+ # 注意:此字段可能返回 null,表示取不到有效值。
17594
+ # @type FirstAppearTime: String
17595
+ # @param VulCategory: 漏洞类别 1: web-cms漏洞 2:应用漏洞 4: Linux软件漏洞 5: Windows系统漏洞
17596
+ # 注意:此字段可能返回 null,表示取不到有效值。
17597
+ # @type VulCategory: Integer
17537
17598
 
17538
- attr_accessor :Ids, :Name, :Status, :VulId, :PublishTime, :LastTime, :HostCount, :Level, :From, :Descript, :PublishTimeWisteria, :NameWisteria, :DescriptWisteria, :StatusStr, :CveId, :CvssScore, :Labels, :FixSwitch, :TaskId
17599
+ attr_accessor :Ids, :Name, :Status, :VulId, :PublishTime, :LastTime, :HostCount, :Level, :From, :Descript, :PublishTimeWisteria, :NameWisteria, :DescriptWisteria, :StatusStr, :CveId, :CvssScore, :Labels, :FixSwitch, :TaskId, :IsSupportDefense, :DefenseAttackCount, :FirstAppearTime, :VulCategory
17539
17600
 
17540
- 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)
17601
+ 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, issupportdefense=nil, defenseattackcount=nil, firstappeartime=nil, vulcategory=nil)
17541
17602
  @Ids = ids
17542
17603
  @Name = name
17543
17604
  @Status = status
@@ -17557,6 +17618,10 @@ module TencentCloud
17557
17618
  @Labels = labels
17558
17619
  @FixSwitch = fixswitch
17559
17620
  @TaskId = taskid
17621
+ @IsSupportDefense = issupportdefense
17622
+ @DefenseAttackCount = defenseattackcount
17623
+ @FirstAppearTime = firstappeartime
17624
+ @VulCategory = vulcategory
17560
17625
  end
17561
17626
 
17562
17627
  def deserialize(params)
@@ -17579,6 +17644,10 @@ module TencentCloud
17579
17644
  @Labels = params['Labels']
17580
17645
  @FixSwitch = params['FixSwitch']
17581
17646
  @TaskId = params['TaskId']
17647
+ @IsSupportDefense = params['IsSupportDefense']
17648
+ @DefenseAttackCount = params['DefenseAttackCount']
17649
+ @FirstAppearTime = params['FirstAppearTime']
17650
+ @VulCategory = params['VulCategory']
17582
17651
  end
17583
17652
  end
17584
17653
 
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.343
4
+ version: 1.0.346
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-06-27 00:00:00.000000000 Z
11
+ date: 2022-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common