tencentcloud-sdk-cwp 3.0.1094 → 3.0.1095

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 +85 -33
  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: 8d6422d6ec20b9470f8f4d3aaddf26d4369f57a0
4
+ data.tar.gz: fbc8eafb96a1babf583250c178deaf1c682d6088
5
5
  SHA512:
6
- metadata.gz: b1d8513abb98998af8cb7d2df7ca8ec7e48d4fa3ea0fd40ce362ee499cc62d95abb621e406527929c8c06071e3cbd9b5deee9895da287b3462e1148ab74a8e09
7
- data.tar.gz: 2466a29bdd847fe98555ba5906aad79ae03e8efde7cdceb81d49ea44b68c6938daae7c15eb245bb8e159fae2b7f8baf95cf69ff4becaff376804b69f26624e03
6
+ metadata.gz: 18d779d798ce435fd8e27f662750f9a925ce0416a7fd93d46c1a615dbb0e3eb03d2325e921e53cbf12f669ebe2762a529dd69c906c69ae3bb03c189eedef9de2
7
+ data.tar.gz: 432e50d2a68463e1c0f716abe7823dee4e788e6942b68f872baa261a15d14f2eb9845154a15139bd78f03ddb8c71dd2140aea51ced05a00da0d6397ae4d1ade4
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1094
1
+ 3.0.1095
@@ -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
@@ -27529,10 +27545,10 @@ module TencentCloud
27529
27545
 
27530
27546
  attr_accessor :Filters, :Fileds, :Fields, :Where
27531
27547
  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
27548
+ deprecate :Fileds, :none, 2025, 7
27549
+ deprecate :Fileds=, :none, 2025, 7
27550
+ deprecate :Fields, :none, 2025, 7
27551
+ deprecate :Fields=, :none, 2025, 7
27536
27552
 
27537
27553
  def initialize(filters=nil, fileds=nil, fields=nil, where=nil)
27538
27554
  @Filters = filters
@@ -31751,10 +31767,14 @@ module TencentCloud
31751
31767
  # @type MD5: String
31752
31768
  # @param MachineExtraInfo: 附加信息
31753
31769
  # @type MachineExtraInfo: :class:`Tencentcloud::Cwp.v20180228.models.MachineExtraInfo`
31770
+ # @param DoClean: 是否可以清理
31771
+ # @type DoClean: Boolean
31772
+ # @param FirstDetectionMethod: 首次检出方式 0扫描;1实时监控
31773
+ # @type FirstDetectionMethod: Integer
31754
31774
 
31755
- attr_accessor :HostIp, :Uuid, :FilePath, :VirusName, :Status, :Id, :Alias, :Tags, :FileCreateTime, :FileModifierTime, :CreateTime, :LatestScanTime, :Level, :CheckPlatform, :ProcessExists, :FileExists, :Quuid, :MD5, :MachineExtraInfo
31775
+ attr_accessor :HostIp, :Uuid, :FilePath, :VirusName, :Status, :Id, :Alias, :Tags, :FileCreateTime, :FileModifierTime, :CreateTime, :LatestScanTime, :Level, :CheckPlatform, :ProcessExists, :FileExists, :Quuid, :MD5, :MachineExtraInfo, :DoClean, :FirstDetectionMethod
31756
31776
 
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)
31777
+ 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
31778
  @HostIp = hostip
31759
31779
  @Uuid = uuid
31760
31780
  @FilePath = filepath
@@ -31774,6 +31794,8 @@ module TencentCloud
31774
31794
  @Quuid = quuid
31775
31795
  @MD5 = md5
31776
31796
  @MachineExtraInfo = machineextrainfo
31797
+ @DoClean = doclean
31798
+ @FirstDetectionMethod = firstdetectionmethod
31777
31799
  end
31778
31800
 
31779
31801
  def deserialize(params)
@@ -31799,6 +31821,8 @@ module TencentCloud
31799
31821
  @MachineExtraInfo = MachineExtraInfo.new
31800
31822
  @MachineExtraInfo.deserialize(params['MachineExtraInfo'])
31801
31823
  end
31824
+ @DoClean = params['DoClean']
31825
+ @FirstDetectionMethod = params['FirstDetectionMethod']
31802
31826
  end
31803
31827
  end
31804
31828
 
@@ -31902,10 +31926,12 @@ module TencentCloud
31902
31926
  # @type FileExists: Boolean
31903
31927
  # @param ProcessExists: 木马进程是否存在
31904
31928
  # @type ProcessExists: Boolean
31929
+ # @param FirstDetectionMethod: 首次检出方式0扫描;1实时监控
31930
+ # @type FirstDetectionMethod: Integer
31905
31931
 
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
31932
+ 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
31933
 
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)
31934
+ 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
31935
  @VirusName = virusname
31910
31936
  @FileSize = filesize
31911
31937
  @MD5 = md5
@@ -31939,6 +31965,7 @@ module TencentCloud
31939
31965
  @References = references
31940
31966
  @FileExists = fileexists
31941
31967
  @ProcessExists = processexists
31968
+ @FirstDetectionMethod = firstdetectionmethod
31942
31969
  end
31943
31970
 
31944
31971
  def deserialize(params)
@@ -31978,6 +32005,7 @@ module TencentCloud
31978
32005
  @References = params['References']
31979
32006
  @FileExists = params['FileExists']
31980
32007
  @ProcessExists = params['ProcessExists']
32008
+ @FirstDetectionMethod = params['FirstDetectionMethod']
31981
32009
  end
31982
32010
  end
31983
32011
 
@@ -33628,10 +33656,14 @@ module TencentCloud
33628
33656
  # @type ProtectMode: Integer
33629
33657
  # @param ProtectFileScope: 查杀范围 0 脚本类之外的恶意文件,1全部恶意文件
33630
33658
  # @type ProtectFileScope: Integer
33659
+ # @param QuaraUuids: 自选的隔离主机集合
33660
+ # @type QuaraUuids: Array
33661
+ # @param QuaraScope: 用户选择的隔离范围,0:默认全隔离 1:用户自选
33662
+ # @type QuaraScope: Integer
33631
33663
 
33632
- attr_accessor :CheckPattern, :StartTime, :EndTime, :IsGlobal, :EnableScan, :MonitoringPattern, :Cycle, :RealTimeMonitoring, :QuuidList, :AutoIsolation, :KillProcess, :DoClean, :EngineType, :EnableInspiredEngine, :EnableMemShellScan, :ProtectMode, :ProtectFileScope
33664
+ attr_accessor :CheckPattern, :StartTime, :EndTime, :IsGlobal, :EnableScan, :MonitoringPattern, :Cycle, :RealTimeMonitoring, :QuuidList, :AutoIsolation, :KillProcess, :DoClean, :EngineType, :EnableInspiredEngine, :EnableMemShellScan, :ProtectMode, :ProtectFileScope, :QuaraUuids, :QuaraScope
33633
33665
 
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)
33666
+ 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
33667
  @CheckPattern = checkpattern
33636
33668
  @StartTime = starttime
33637
33669
  @EndTime = endtime
@@ -33649,6 +33681,8 @@ module TencentCloud
33649
33681
  @EnableMemShellScan = enablememshellscan
33650
33682
  @ProtectMode = protectmode
33651
33683
  @ProtectFileScope = protectfilescope
33684
+ @QuaraUuids = quarauuids
33685
+ @QuaraScope = quarascope
33652
33686
  end
33653
33687
 
33654
33688
  def deserialize(params)
@@ -33669,6 +33703,8 @@ module TencentCloud
33669
33703
  @EnableMemShellScan = params['EnableMemShellScan']
33670
33704
  @ProtectMode = params['ProtectMode']
33671
33705
  @ProtectFileScope = params['ProtectFileScope']
33706
+ @QuaraUuids = params['QuaraUuids']
33707
+ @QuaraScope = params['QuaraScope']
33672
33708
  end
33673
33709
  end
33674
33710
 
@@ -37679,10 +37715,12 @@ module TencentCloud
37679
37715
  # @type MachineExtraInfo: :class:`Tencentcloud::Cwp.v20180228.models.MachineExtraInfo`
37680
37716
  # @param Uuid: 主机uuid
37681
37717
  # @type Uuid: String
37718
+ # @param FirstDetectionMethod: 首次检出方式 0扫描;1实时监控
37719
+ # @type FirstDetectionMethod: Integer
37682
37720
 
37683
- attr_accessor :EventId, :HostName, :HostIp, :WanIp, :ProcessId, :FilePath, :CmdLine, :StartTime, :DetectTime, :VirusName, :CheckPlatform, :VirusTags, :ThreatDesc, :SuggestSolution, :ReferenceLink, :HandleStatus, :OnlineStatus, :MachineExtraInfo, :Uuid
37721
+ attr_accessor :EventId, :HostName, :HostIp, :WanIp, :ProcessId, :FilePath, :CmdLine, :StartTime, :DetectTime, :VirusName, :CheckPlatform, :VirusTags, :ThreatDesc, :SuggestSolution, :ReferenceLink, :HandleStatus, :OnlineStatus, :MachineExtraInfo, :Uuid, :FirstDetectionMethod
37684
37722
 
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)
37723
+ 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
37724
  @EventId = eventid
37687
37725
  @HostName = hostname
37688
37726
  @HostIp = hostip
@@ -37702,6 +37740,7 @@ module TencentCloud
37702
37740
  @OnlineStatus = onlinestatus
37703
37741
  @MachineExtraInfo = machineextrainfo
37704
37742
  @Uuid = uuid
37743
+ @FirstDetectionMethod = firstdetectionmethod
37705
37744
  end
37706
37745
 
37707
37746
  def deserialize(params)
@@ -37727,6 +37766,7 @@ module TencentCloud
37727
37766
  @MachineExtraInfo.deserialize(params['MachineExtraInfo'])
37728
37767
  end
37729
37768
  @Uuid = params['Uuid']
37769
+ @FirstDetectionMethod = params['FirstDetectionMethod']
37730
37770
  end
37731
37771
  end
37732
37772
 
@@ -38066,18 +38106,26 @@ module TencentCloud
38066
38106
  class ScanVulResponse < TencentCloud::Common::AbstractModel
38067
38107
  # @param TaskId: 任务id
38068
38108
  # @type TaskId: Integer
38109
+ # @param BasicVersionCount: 自选主机里面包含基础版个数
38110
+ # @type BasicVersionCount: Integer
38111
+ # @param SuccessCount: 创建扫描任务机器个数
38112
+ # @type SuccessCount: Integer
38069
38113
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
38070
38114
  # @type RequestId: String
38071
38115
 
38072
- attr_accessor :TaskId, :RequestId
38116
+ attr_accessor :TaskId, :BasicVersionCount, :SuccessCount, :RequestId
38073
38117
 
38074
- def initialize(taskid=nil, requestid=nil)
38118
+ def initialize(taskid=nil, basicversioncount=nil, successcount=nil, requestid=nil)
38075
38119
  @TaskId = taskid
38120
+ @BasicVersionCount = basicversioncount
38121
+ @SuccessCount = successcount
38076
38122
  @RequestId = requestid
38077
38123
  end
38078
38124
 
38079
38125
  def deserialize(params)
38080
38126
  @TaskId = params['TaskId']
38127
+ @BasicVersionCount = params['BasicVersionCount']
38128
+ @SuccessCount = params['SuccessCount']
38081
38129
  @RequestId = params['RequestId']
38082
38130
  end
38083
38131
  end
@@ -41336,7 +41384,7 @@ module TencentCloud
41336
41384
 
41337
41385
  # 告警更新或插入的参数
41338
41386
  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软件漏洞
41387
+ # @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
41388
  # @type Type: Integer
41341
41389
  # @param DisablePhoneWarning: 1: 关闭告警 0: 开启告警
41342
41390
  # @type DisablePhoneWarning: Integer
@@ -41348,16 +41396,19 @@ module TencentCloud
41348
41396
  # @type ControlBits: String
41349
41397
  # @param HostRange: 告警主机范围类型,0:全部主机,1:按所属项目选,2:按腾讯云标签选,3:按主机安全标签选,4:自选主机
41350
41398
  # @type HostRange: Integer
41399
+ # @param Unit: 单位
41400
+ # @type Unit: String
41351
41401
 
41352
- attr_accessor :Type, :DisablePhoneWarning, :BeginTime, :EndTime, :ControlBits, :HostRange
41402
+ attr_accessor :Type, :DisablePhoneWarning, :BeginTime, :EndTime, :ControlBits, :HostRange, :Unit
41353
41403
 
41354
- def initialize(type=nil, disablephonewarning=nil, begintime=nil, endtime=nil, controlbits=nil, hostrange=nil)
41404
+ def initialize(type=nil, disablephonewarning=nil, begintime=nil, endtime=nil, controlbits=nil, hostrange=nil, unit=nil)
41355
41405
  @Type = type
41356
41406
  @DisablePhoneWarning = disablephonewarning
41357
41407
  @BeginTime = begintime
41358
41408
  @EndTime = endtime
41359
41409
  @ControlBits = controlbits
41360
41410
  @HostRange = hostrange
41411
+ @Unit = unit
41361
41412
  end
41362
41413
 
41363
41414
  def deserialize(params)
@@ -41367,6 +41418,7 @@ module TencentCloud
41367
41418
  @EndTime = params['EndTime']
41368
41419
  @ControlBits = params['ControlBits']
41369
41420
  @HostRange = params['HostRange']
41421
+ @Unit = params['Unit']
41370
41422
  end
41371
41423
  end
41372
41424
 
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.1095
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-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common