tencentcloud-sdk-cwp 3.0.1094 → 3.0.1097

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 +91 -35
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a4f7b5730e80b35eb74e6f7b50cd9a0f1037e1bc
4
- data.tar.gz: c9d8ab633a31b94d81f2efb347476ad0b20ef72a
3
+ metadata.gz: 272b2a747c7c1bc072fd305b55a9939c5bce02de
4
+ data.tar.gz: 44c78cc94e471ea97cd1923d5174d5f0defef88a
5
5
  SHA512:
6
- metadata.gz: b1d8513abb98998af8cb7d2df7ca8ec7e48d4fa3ea0fd40ce362ee499cc62d95abb621e406527929c8c06071e3cbd9b5deee9895da287b3462e1148ab74a8e09
7
- data.tar.gz: 2466a29bdd847fe98555ba5906aad79ae03e8efde7cdceb81d49ea44b68c6938daae7c15eb245bb8e159fae2b7f8baf95cf69ff4becaff376804b69f26624e03
6
+ metadata.gz: 55e8080b55d6f656ccedb3194032cadf0ac08ec6d9d1f0ce65afb79f7dcdd2751d6b7b9ba296bafa501bea6ffc822097e5e93c7dc6b8550217b3c37525713675
7
+ data.tar.gz: 748b342f241042a3eccf6738082a46b3238fb3f88b10d31f80d2eb8400da7a72b473084f5be1cb61d1d24d3828122801fc95202927ebf07692db50807819a107
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1094
1
+ 3.0.1097
@@ -4235,10 +4235,12 @@ module TencentCloud
4235
4235
  # @type MachineType: Integer
4236
4236
  # @param DetectBy: 检测来源 0:bash日志 1:实时监控
4237
4237
  # @type DetectBy: Integer
4238
+ # @param BashCmdDecoded: 执行命令(解码后)
4239
+ # @type BashCmdDecoded: String
4238
4240
 
4239
- attr_accessor :Id, :Uuid, :Quuid, :HostIp, :Platform, :BashCmd, :RuleId, :RuleName, :RuleLevel, :Status, :CreateTime, :MachineName, :Exe, :ModifyTime, :RuleCategory, :RegexBashCmd, :PsTree, :SuggestScheme, :HarmDescribe, :Tags, :References, :MachineWanIp, :MachineStatus, :User, :Pid, :MachineType, :DetectBy
4241
+ attr_accessor :Id, :Uuid, :Quuid, :HostIp, :Platform, :BashCmd, :RuleId, :RuleName, :RuleLevel, :Status, :CreateTime, :MachineName, :Exe, :ModifyTime, :RuleCategory, :RegexBashCmd, :PsTree, :SuggestScheme, :HarmDescribe, :Tags, :References, :MachineWanIp, :MachineStatus, :User, :Pid, :MachineType, :DetectBy, :BashCmdDecoded
4240
4242
 
4241
- def initialize(id=nil, uuid=nil, quuid=nil, hostip=nil, platform=nil, bashcmd=nil, ruleid=nil, rulename=nil, rulelevel=nil, status=nil, createtime=nil, machinename=nil, exe=nil, modifytime=nil, rulecategory=nil, regexbashcmd=nil, pstree=nil, suggestscheme=nil, harmdescribe=nil, tags=nil, references=nil, machinewanip=nil, machinestatus=nil, user=nil, pid=nil, machinetype=nil, detectby=nil)
4243
+ def initialize(id=nil, uuid=nil, quuid=nil, hostip=nil, platform=nil, bashcmd=nil, ruleid=nil, rulename=nil, rulelevel=nil, status=nil, createtime=nil, machinename=nil, exe=nil, modifytime=nil, rulecategory=nil, regexbashcmd=nil, pstree=nil, suggestscheme=nil, harmdescribe=nil, tags=nil, references=nil, machinewanip=nil, machinestatus=nil, user=nil, pid=nil, machinetype=nil, detectby=nil, bashcmddecoded=nil)
4242
4244
  @Id = id
4243
4245
  @Uuid = uuid
4244
4246
  @Quuid = quuid
@@ -4266,6 +4268,7 @@ module TencentCloud
4266
4268
  @Pid = pid
4267
4269
  @MachineType = machinetype
4268
4270
  @DetectBy = detectby
4271
+ @BashCmdDecoded = bashcmddecoded
4269
4272
  end
4270
4273
 
4271
4274
  def deserialize(params)
@@ -4296,6 +4299,7 @@ module TencentCloud
4296
4299
  @Pid = params['Pid']
4297
4300
  @MachineType = params['MachineType']
4298
4301
  @DetectBy = params['DetectBy']
4302
+ @BashCmdDecoded = params['BashCmdDecoded']
4299
4303
  end
4300
4304
  end
4301
4305
 
@@ -4419,8 +4423,8 @@ module TencentCloud
4419
4423
 
4420
4424
  attr_accessor :Id, :Uuid, :Name, :Level, :Rule, :Decription, :Operator, :IsGlobal, :Status, :CreateTime, :ModifyTime, :Hostip, :Uuids, :White, :DealOldEvents, :Description
4421
4425
  extend Gem::Deprecate
4422
- deprecate :Decription, :none, 2025, 6
4423
- deprecate :Decription=, :none, 2025, 6
4426
+ deprecate :Decription, :none, 2025, 7
4427
+ deprecate :Decription=, :none, 2025, 7
4424
4428
 
4425
4429
  def initialize(id=nil, uuid=nil, name=nil, level=nil, rule=nil, decription=nil, operator=nil, isglobal=nil, status=nil, createtime=nil, modifytime=nil, hostip=nil, uuids=nil, white=nil, dealoldevents=nil, description=nil)
4426
4430
  @Id = id
@@ -17209,16 +17213,16 @@ module TencentCloud
17209
17213
 
17210
17214
  attr_accessor :MachineCnt, :TencentCloudMachineCnt, :AliCloudMachineCnt, :BaiduCloudMachineCnt, :IDCMachineCnt, :OtherCloudMachineCnt, :ProtectMachineCnt, :BaseMachineCnt, :SpecialtyMachineCnt, :FlagshipMachineCnt, :RiskMachineCnt, :CompareYesterdayRiskMachineCnt, :CompareYesterdayNotProtectMachineCnt, :CompareYesterdayDeadlineMachineCnt, :DeadlineMachineCnt, :NotProtectMachineCnt, :LHGeneralDiscountCnt, :CompareYesterdayMachineCnt, :MachineDestroyAfterOfflineHours, :CloudFrom, :RequestId
17211
17215
  extend Gem::Deprecate
17212
- deprecate :TencentCloudMachineCnt, :none, 2025, 6
17213
- deprecate :TencentCloudMachineCnt=, :none, 2025, 6
17214
- deprecate :AliCloudMachineCnt, :none, 2025, 6
17215
- deprecate :AliCloudMachineCnt=, :none, 2025, 6
17216
- deprecate :BaiduCloudMachineCnt, :none, 2025, 6
17217
- deprecate :BaiduCloudMachineCnt=, :none, 2025, 6
17218
- deprecate :IDCMachineCnt, :none, 2025, 6
17219
- deprecate :IDCMachineCnt=, :none, 2025, 6
17220
- deprecate :OtherCloudMachineCnt, :none, 2025, 6
17221
- deprecate :OtherCloudMachineCnt=, :none, 2025, 6
17216
+ deprecate :TencentCloudMachineCnt, :none, 2025, 7
17217
+ deprecate :TencentCloudMachineCnt=, :none, 2025, 7
17218
+ deprecate :AliCloudMachineCnt, :none, 2025, 7
17219
+ deprecate :AliCloudMachineCnt=, :none, 2025, 7
17220
+ deprecate :BaiduCloudMachineCnt, :none, 2025, 7
17221
+ deprecate :BaiduCloudMachineCnt=, :none, 2025, 7
17222
+ deprecate :IDCMachineCnt, :none, 2025, 7
17223
+ deprecate :IDCMachineCnt=, :none, 2025, 7
17224
+ deprecate :OtherCloudMachineCnt, :none, 2025, 7
17225
+ deprecate :OtherCloudMachineCnt=, :none, 2025, 7
17222
17226
 
17223
17227
  def initialize(machinecnt=nil, tencentcloudmachinecnt=nil, alicloudmachinecnt=nil, baiducloudmachinecnt=nil, idcmachinecnt=nil, othercloudmachinecnt=nil, protectmachinecnt=nil, basemachinecnt=nil, specialtymachinecnt=nil, flagshipmachinecnt=nil, riskmachinecnt=nil, compareyesterdayriskmachinecnt=nil, compareyesterdaynotprotectmachinecnt=nil, compareyesterdaydeadlinemachinecnt=nil, deadlinemachinecnt=nil, notprotectmachinecnt=nil, lhgeneraldiscountcnt=nil, compareyesterdaymachinecnt=nil, machinedestroyafterofflinehours=nil, cloudfrom=nil, requestid=nil)
17224
17228
  @MachineCnt = machinecnt
@@ -18365,12 +18369,18 @@ module TencentCloud
18365
18369
  # @type ProtectMode: Integer
18366
18370
  # @param ProtectFileScope: 查杀范围 0 脚本类之外的恶意文件,1全部恶意文件
18367
18371
  # @type ProtectFileScope: Integer
18372
+ # @param DoClean: 执行清理开关 0未开启 1开启
18373
+ # @type DoClean: Integer
18374
+ # @param QuaraUuids: 自选的隔离主机集合
18375
+ # @type QuaraUuids: Array
18376
+ # @param QuaraScope: 用户选择的隔离范围,0:默认全隔离 1:用户自选
18377
+ # @type QuaraScope: Integer
18368
18378
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
18369
18379
  # @type RequestId: String
18370
18380
 
18371
- attr_accessor :CheckPattern, :StartTime, :EndTime, :IsGlobal, :QuuidList, :MonitoringPattern, :Cycle, :EnableScan, :Id, :RealTimeMonitoring, :AutoIsolation, :ClickTimeout, :KillProcess, :EngineType, :EnableInspiredEngine, :EnableMemShellScan, :ProtectMode, :ProtectFileScope, :RequestId
18381
+ attr_accessor :CheckPattern, :StartTime, :EndTime, :IsGlobal, :QuuidList, :MonitoringPattern, :Cycle, :EnableScan, :Id, :RealTimeMonitoring, :AutoIsolation, :ClickTimeout, :KillProcess, :EngineType, :EnableInspiredEngine, :EnableMemShellScan, :ProtectMode, :ProtectFileScope, :DoClean, :QuaraUuids, :QuaraScope, :RequestId
18372
18382
 
18373
- def initialize(checkpattern=nil, starttime=nil, endtime=nil, isglobal=nil, quuidlist=nil, monitoringpattern=nil, cycle=nil, enablescan=nil, id=nil, realtimemonitoring=nil, autoisolation=nil, clicktimeout=nil, killprocess=nil, enginetype=nil, enableinspiredengine=nil, enablememshellscan=nil, protectmode=nil, protectfilescope=nil, requestid=nil)
18383
+ def initialize(checkpattern=nil, starttime=nil, endtime=nil, isglobal=nil, quuidlist=nil, monitoringpattern=nil, cycle=nil, enablescan=nil, id=nil, realtimemonitoring=nil, autoisolation=nil, clicktimeout=nil, killprocess=nil, enginetype=nil, enableinspiredengine=nil, enablememshellscan=nil, protectmode=nil, protectfilescope=nil, doclean=nil, quarauuids=nil, quarascope=nil, requestid=nil)
18374
18384
  @CheckPattern = checkpattern
18375
18385
  @StartTime = starttime
18376
18386
  @EndTime = endtime
@@ -18389,6 +18399,9 @@ module TencentCloud
18389
18399
  @EnableMemShellScan = enablememshellscan
18390
18400
  @ProtectMode = protectmode
18391
18401
  @ProtectFileScope = protectfilescope
18402
+ @DoClean = doclean
18403
+ @QuaraUuids = quarauuids
18404
+ @QuaraScope = quarascope
18392
18405
  @RequestId = requestid
18393
18406
  end
18394
18407
 
@@ -18411,6 +18424,9 @@ module TencentCloud
18411
18424
  @EnableMemShellScan = params['EnableMemShellScan']
18412
18425
  @ProtectMode = params['ProtectMode']
18413
18426
  @ProtectFileScope = params['ProtectFileScope']
18427
+ @DoClean = params['DoClean']
18428
+ @QuaraUuids = params['QuaraUuids']
18429
+ @QuaraScope = params['QuaraScope']
18414
18430
  @RequestId = params['RequestId']
18415
18431
  end
18416
18432
  end
@@ -24017,15 +24033,19 @@ module TencentCloud
24017
24033
  class DescribeVulInfoCvssRequest < TencentCloud::Common::AbstractModel
24018
24034
  # @param VulId: 漏洞id
24019
24035
  # @type VulId: Integer
24036
+ # @param Source: 兼容应用防护漏洞防御容器视角告警里漏洞详情,默认是主机视角,可选字段,Source=tcss则为容器视角漏洞详情,后端会把VulId转为主机vul_vuls里的VulId
24037
+ # @type Source: String
24020
24038
 
24021
- attr_accessor :VulId
24039
+ attr_accessor :VulId, :Source
24022
24040
 
24023
- def initialize(vulid=nil)
24041
+ def initialize(vulid=nil, source=nil)
24024
24042
  @VulId = vulid
24043
+ @Source = source
24025
24044
  end
24026
24045
 
24027
24046
  def deserialize(params)
24028
24047
  @VulId = params['VulId']
24048
+ @Source = params['Source']
24029
24049
  end
24030
24050
  end
24031
24051
 
@@ -27529,10 +27549,10 @@ module TencentCloud
27529
27549
 
27530
27550
  attr_accessor :Filters, :Fileds, :Fields, :Where
27531
27551
  extend Gem::Deprecate
27532
- deprecate :Fileds, :none, 2025, 6
27533
- deprecate :Fileds=, :none, 2025, 6
27534
- deprecate :Fields, :none, 2025, 6
27535
- deprecate :Fields=, :none, 2025, 6
27552
+ deprecate :Fileds, :none, 2025, 7
27553
+ deprecate :Fileds=, :none, 2025, 7
27554
+ deprecate :Fields, :none, 2025, 7
27555
+ deprecate :Fields=, :none, 2025, 7
27536
27556
 
27537
27557
  def initialize(filters=nil, fileds=nil, fields=nil, where=nil)
27538
27558
  @Filters = filters
@@ -31751,10 +31771,14 @@ module TencentCloud
31751
31771
  # @type MD5: String
31752
31772
  # @param MachineExtraInfo: 附加信息
31753
31773
  # @type MachineExtraInfo: :class:`Tencentcloud::Cwp.v20180228.models.MachineExtraInfo`
31774
+ # @param DoClean: 是否可以清理
31775
+ # @type DoClean: Boolean
31776
+ # @param FirstDetectionMethod: 首次检出方式 0扫描;1实时监控
31777
+ # @type FirstDetectionMethod: Integer
31754
31778
 
31755
- attr_accessor :HostIp, :Uuid, :FilePath, :VirusName, :Status, :Id, :Alias, :Tags, :FileCreateTime, :FileModifierTime, :CreateTime, :LatestScanTime, :Level, :CheckPlatform, :ProcessExists, :FileExists, :Quuid, :MD5, :MachineExtraInfo
31779
+ attr_accessor :HostIp, :Uuid, :FilePath, :VirusName, :Status, :Id, :Alias, :Tags, :FileCreateTime, :FileModifierTime, :CreateTime, :LatestScanTime, :Level, :CheckPlatform, :ProcessExists, :FileExists, :Quuid, :MD5, :MachineExtraInfo, :DoClean, :FirstDetectionMethod
31756
31780
 
31757
- def initialize(hostip=nil, uuid=nil, filepath=nil, virusname=nil, status=nil, id=nil, _alias=nil, tags=nil, filecreatetime=nil, filemodifiertime=nil, createtime=nil, latestscantime=nil, level=nil, checkplatform=nil, processexists=nil, fileexists=nil, quuid=nil, md5=nil, machineextrainfo=nil)
31781
+ def initialize(hostip=nil, uuid=nil, filepath=nil, virusname=nil, status=nil, id=nil, _alias=nil, tags=nil, filecreatetime=nil, filemodifiertime=nil, createtime=nil, latestscantime=nil, level=nil, checkplatform=nil, processexists=nil, fileexists=nil, quuid=nil, md5=nil, machineextrainfo=nil, doclean=nil, firstdetectionmethod=nil)
31758
31782
  @HostIp = hostip
31759
31783
  @Uuid = uuid
31760
31784
  @FilePath = filepath
@@ -31774,6 +31798,8 @@ module TencentCloud
31774
31798
  @Quuid = quuid
31775
31799
  @MD5 = md5
31776
31800
  @MachineExtraInfo = machineextrainfo
31801
+ @DoClean = doclean
31802
+ @FirstDetectionMethod = firstdetectionmethod
31777
31803
  end
31778
31804
 
31779
31805
  def deserialize(params)
@@ -31799,6 +31825,8 @@ module TencentCloud
31799
31825
  @MachineExtraInfo = MachineExtraInfo.new
31800
31826
  @MachineExtraInfo.deserialize(params['MachineExtraInfo'])
31801
31827
  end
31828
+ @DoClean = params['DoClean']
31829
+ @FirstDetectionMethod = params['FirstDetectionMethod']
31802
31830
  end
31803
31831
  end
31804
31832
 
@@ -31902,10 +31930,12 @@ module TencentCloud
31902
31930
  # @type FileExists: Boolean
31903
31931
  # @param ProcessExists: 木马进程是否存在
31904
31932
  # @type ProcessExists: Boolean
31933
+ # @param FirstDetectionMethod: 首次检出方式0扫描;1实时监控
31934
+ # @type FirstDetectionMethod: Integer
31905
31935
 
31906
- attr_accessor :VirusName, :FileSize, :MD5, :FilePath, :FileCreateTime, :FileModifierTime, :HarmDescribe, :SuggestScheme, :ServersName, :HostIp, :ProcessName, :ProcessID, :Tags, :Breadth, :Heat, :Id, :FileName, :CreateTime, :LatestScanTime, :Reference, :MachineWanIp, :PsTree, :MachineStatus, :Status, :Level, :CheckPlatform, :Uuid, :ModifyTime, :StrFileAccessTime, :MachineExtraInfo, :References, :FileExists, :ProcessExists
31936
+ attr_accessor :VirusName, :FileSize, :MD5, :FilePath, :FileCreateTime, :FileModifierTime, :HarmDescribe, :SuggestScheme, :ServersName, :HostIp, :ProcessName, :ProcessID, :Tags, :Breadth, :Heat, :Id, :FileName, :CreateTime, :LatestScanTime, :Reference, :MachineWanIp, :PsTree, :MachineStatus, :Status, :Level, :CheckPlatform, :Uuid, :ModifyTime, :StrFileAccessTime, :MachineExtraInfo, :References, :FileExists, :ProcessExists, :FirstDetectionMethod
31907
31937
 
31908
- def initialize(virusname=nil, filesize=nil, md5=nil, filepath=nil, filecreatetime=nil, filemodifiertime=nil, harmdescribe=nil, suggestscheme=nil, serversname=nil, hostip=nil, processname=nil, processid=nil, tags=nil, breadth=nil, heat=nil, id=nil, filename=nil, createtime=nil, latestscantime=nil, reference=nil, machinewanip=nil, pstree=nil, machinestatus=nil, status=nil, level=nil, checkplatform=nil, uuid=nil, modifytime=nil, strfileaccesstime=nil, machineextrainfo=nil, references=nil, fileexists=nil, processexists=nil)
31938
+ def initialize(virusname=nil, filesize=nil, md5=nil, filepath=nil, filecreatetime=nil, filemodifiertime=nil, harmdescribe=nil, suggestscheme=nil, serversname=nil, hostip=nil, processname=nil, processid=nil, tags=nil, breadth=nil, heat=nil, id=nil, filename=nil, createtime=nil, latestscantime=nil, reference=nil, machinewanip=nil, pstree=nil, machinestatus=nil, status=nil, level=nil, checkplatform=nil, uuid=nil, modifytime=nil, strfileaccesstime=nil, machineextrainfo=nil, references=nil, fileexists=nil, processexists=nil, firstdetectionmethod=nil)
31909
31939
  @VirusName = virusname
31910
31940
  @FileSize = filesize
31911
31941
  @MD5 = md5
@@ -31939,6 +31969,7 @@ module TencentCloud
31939
31969
  @References = references
31940
31970
  @FileExists = fileexists
31941
31971
  @ProcessExists = processexists
31972
+ @FirstDetectionMethod = firstdetectionmethod
31942
31973
  end
31943
31974
 
31944
31975
  def deserialize(params)
@@ -31978,6 +32009,7 @@ module TencentCloud
31978
32009
  @References = params['References']
31979
32010
  @FileExists = params['FileExists']
31980
32011
  @ProcessExists = params['ProcessExists']
32012
+ @FirstDetectionMethod = params['FirstDetectionMethod']
31981
32013
  end
31982
32014
  end
31983
32015
 
@@ -33628,10 +33660,14 @@ module TencentCloud
33628
33660
  # @type ProtectMode: Integer
33629
33661
  # @param ProtectFileScope: 查杀范围 0 脚本类之外的恶意文件,1全部恶意文件
33630
33662
  # @type ProtectFileScope: Integer
33663
+ # @param QuaraUuids: 自选的隔离主机集合
33664
+ # @type QuaraUuids: Array
33665
+ # @param QuaraScope: 用户选择的隔离范围,0:默认全隔离 1:用户自选
33666
+ # @type QuaraScope: Integer
33631
33667
 
33632
- attr_accessor :CheckPattern, :StartTime, :EndTime, :IsGlobal, :EnableScan, :MonitoringPattern, :Cycle, :RealTimeMonitoring, :QuuidList, :AutoIsolation, :KillProcess, :DoClean, :EngineType, :EnableInspiredEngine, :EnableMemShellScan, :ProtectMode, :ProtectFileScope
33668
+ attr_accessor :CheckPattern, :StartTime, :EndTime, :IsGlobal, :EnableScan, :MonitoringPattern, :Cycle, :RealTimeMonitoring, :QuuidList, :AutoIsolation, :KillProcess, :DoClean, :EngineType, :EnableInspiredEngine, :EnableMemShellScan, :ProtectMode, :ProtectFileScope, :QuaraUuids, :QuaraScope
33633
33669
 
33634
- def initialize(checkpattern=nil, starttime=nil, endtime=nil, isglobal=nil, enablescan=nil, monitoringpattern=nil, cycle=nil, realtimemonitoring=nil, quuidlist=nil, autoisolation=nil, killprocess=nil, doclean=nil, enginetype=nil, enableinspiredengine=nil, enablememshellscan=nil, protectmode=nil, protectfilescope=nil)
33670
+ def initialize(checkpattern=nil, starttime=nil, endtime=nil, isglobal=nil, enablescan=nil, monitoringpattern=nil, cycle=nil, realtimemonitoring=nil, quuidlist=nil, autoisolation=nil, killprocess=nil, doclean=nil, enginetype=nil, enableinspiredengine=nil, enablememshellscan=nil, protectmode=nil, protectfilescope=nil, quarauuids=nil, quarascope=nil)
33635
33671
  @CheckPattern = checkpattern
33636
33672
  @StartTime = starttime
33637
33673
  @EndTime = endtime
@@ -33649,6 +33685,8 @@ module TencentCloud
33649
33685
  @EnableMemShellScan = enablememshellscan
33650
33686
  @ProtectMode = protectmode
33651
33687
  @ProtectFileScope = protectfilescope
33688
+ @QuaraUuids = quarauuids
33689
+ @QuaraScope = quarascope
33652
33690
  end
33653
33691
 
33654
33692
  def deserialize(params)
@@ -33669,6 +33707,8 @@ module TencentCloud
33669
33707
  @EnableMemShellScan = params['EnableMemShellScan']
33670
33708
  @ProtectMode = params['ProtectMode']
33671
33709
  @ProtectFileScope = params['ProtectFileScope']
33710
+ @QuaraUuids = params['QuaraUuids']
33711
+ @QuaraScope = params['QuaraScope']
33672
33712
  end
33673
33713
  end
33674
33714
 
@@ -37679,10 +37719,12 @@ module TencentCloud
37679
37719
  # @type MachineExtraInfo: :class:`Tencentcloud::Cwp.v20180228.models.MachineExtraInfo`
37680
37720
  # @param Uuid: 主机uuid
37681
37721
  # @type Uuid: String
37722
+ # @param FirstDetectionMethod: 首次检出方式 0扫描;1实时监控
37723
+ # @type FirstDetectionMethod: Integer
37682
37724
 
37683
- attr_accessor :EventId, :HostName, :HostIp, :WanIp, :ProcessId, :FilePath, :CmdLine, :StartTime, :DetectTime, :VirusName, :CheckPlatform, :VirusTags, :ThreatDesc, :SuggestSolution, :ReferenceLink, :HandleStatus, :OnlineStatus, :MachineExtraInfo, :Uuid
37725
+ attr_accessor :EventId, :HostName, :HostIp, :WanIp, :ProcessId, :FilePath, :CmdLine, :StartTime, :DetectTime, :VirusName, :CheckPlatform, :VirusTags, :ThreatDesc, :SuggestSolution, :ReferenceLink, :HandleStatus, :OnlineStatus, :MachineExtraInfo, :Uuid, :FirstDetectionMethod
37684
37726
 
37685
- def initialize(eventid=nil, hostname=nil, hostip=nil, wanip=nil, processid=nil, filepath=nil, cmdline=nil, starttime=nil, detecttime=nil, virusname=nil, checkplatform=nil, virustags=nil, threatdesc=nil, suggestsolution=nil, referencelink=nil, handlestatus=nil, onlinestatus=nil, machineextrainfo=nil, uuid=nil)
37727
+ def initialize(eventid=nil, hostname=nil, hostip=nil, wanip=nil, processid=nil, filepath=nil, cmdline=nil, starttime=nil, detecttime=nil, virusname=nil, checkplatform=nil, virustags=nil, threatdesc=nil, suggestsolution=nil, referencelink=nil, handlestatus=nil, onlinestatus=nil, machineextrainfo=nil, uuid=nil, firstdetectionmethod=nil)
37686
37728
  @EventId = eventid
37687
37729
  @HostName = hostname
37688
37730
  @HostIp = hostip
@@ -37702,6 +37744,7 @@ module TencentCloud
37702
37744
  @OnlineStatus = onlinestatus
37703
37745
  @MachineExtraInfo = machineextrainfo
37704
37746
  @Uuid = uuid
37747
+ @FirstDetectionMethod = firstdetectionmethod
37705
37748
  end
37706
37749
 
37707
37750
  def deserialize(params)
@@ -37727,6 +37770,7 @@ module TencentCloud
37727
37770
  @MachineExtraInfo.deserialize(params['MachineExtraInfo'])
37728
37771
  end
37729
37772
  @Uuid = params['Uuid']
37773
+ @FirstDetectionMethod = params['FirstDetectionMethod']
37730
37774
  end
37731
37775
  end
37732
37776
 
@@ -38066,18 +38110,26 @@ module TencentCloud
38066
38110
  class ScanVulResponse < TencentCloud::Common::AbstractModel
38067
38111
  # @param TaskId: 任务id
38068
38112
  # @type TaskId: Integer
38113
+ # @param BasicVersionCount: 自选主机里面包含基础版个数
38114
+ # @type BasicVersionCount: Integer
38115
+ # @param SuccessCount: 创建扫描任务机器个数
38116
+ # @type SuccessCount: Integer
38069
38117
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
38070
38118
  # @type RequestId: String
38071
38119
 
38072
- attr_accessor :TaskId, :RequestId
38120
+ attr_accessor :TaskId, :BasicVersionCount, :SuccessCount, :RequestId
38073
38121
 
38074
- def initialize(taskid=nil, requestid=nil)
38122
+ def initialize(taskid=nil, basicversioncount=nil, successcount=nil, requestid=nil)
38075
38123
  @TaskId = taskid
38124
+ @BasicVersionCount = basicversioncount
38125
+ @SuccessCount = successcount
38076
38126
  @RequestId = requestid
38077
38127
  end
38078
38128
 
38079
38129
  def deserialize(params)
38080
38130
  @TaskId = params['TaskId']
38131
+ @BasicVersionCount = params['BasicVersionCount']
38132
+ @SuccessCount = params['SuccessCount']
38081
38133
  @RequestId = params['RequestId']
38082
38134
  end
38083
38135
  end
@@ -41336,7 +41388,7 @@ module TencentCloud
41336
41388
 
41337
41389
  # 告警更新或插入的参数
41338
41390
  class WarningObject < TencentCloud::Common::AbstractModel
41339
- # @param Type: 事件告警类型;1:离线,2:木马,3:异常登录,4:爆破,5:漏洞(已拆分为9-12四种类型)6:高位命令,7:反弹sell,8:本地提权,9:系统组件漏洞,10:web应用漏洞,11:应急漏洞,12:安全基线,14:恶意请求,15: 网络攻击,16:Windows系统漏洞,17:Linux软件漏洞
41391
+ # @param Type: 事件告警类型;1:离线,2:木马,3:异常登录,4:爆破,5:漏洞(已拆分为9-12四种类型)6:高危命令,7:反弹sell,8:本地提权,9:系统组件漏洞,10:web应用漏洞,11:应急漏洞,12:安全基线,14:恶意请求,15: 网络攻击,16:Windows系统漏洞,17:Linux软件漏洞
41340
41392
  # @type Type: Integer
41341
41393
  # @param DisablePhoneWarning: 1: 关闭告警 0: 开启告警
41342
41394
  # @type DisablePhoneWarning: Integer
@@ -41348,16 +41400,19 @@ module TencentCloud
41348
41400
  # @type ControlBits: String
41349
41401
  # @param HostRange: 告警主机范围类型,0:全部主机,1:按所属项目选,2:按腾讯云标签选,3:按主机安全标签选,4:自选主机
41350
41402
  # @type HostRange: Integer
41403
+ # @param Unit: 单位
41404
+ # @type Unit: String
41351
41405
 
41352
- attr_accessor :Type, :DisablePhoneWarning, :BeginTime, :EndTime, :ControlBits, :HostRange
41406
+ attr_accessor :Type, :DisablePhoneWarning, :BeginTime, :EndTime, :ControlBits, :HostRange, :Unit
41353
41407
 
41354
- def initialize(type=nil, disablephonewarning=nil, begintime=nil, endtime=nil, controlbits=nil, hostrange=nil)
41408
+ def initialize(type=nil, disablephonewarning=nil, begintime=nil, endtime=nil, controlbits=nil, hostrange=nil, unit=nil)
41355
41409
  @Type = type
41356
41410
  @DisablePhoneWarning = disablephonewarning
41357
41411
  @BeginTime = begintime
41358
41412
  @EndTime = endtime
41359
41413
  @ControlBits = controlbits
41360
41414
  @HostRange = hostrange
41415
+ @Unit = unit
41361
41416
  end
41362
41417
 
41363
41418
  def deserialize(params)
@@ -41367,6 +41422,7 @@ module TencentCloud
41367
41422
  @EndTime = params['EndTime']
41368
41423
  @ControlBits = params['ControlBits']
41369
41424
  @HostRange = params['HostRange']
41425
+ @Unit = params['Unit']
41370
41426
  end
41371
41427
  end
41372
41428
 
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.1094
4
+ version: 3.0.1097
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-07-05 00:00:00.000000000 Z
11
+ date: 2025-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common