tencentcloud-sdk-cwp 3.0.1040 → 3.0.1042
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180228/models.rb +51 -16
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5e82ab2b01f5abf52963254213e8df77ae889b6
|
4
|
+
data.tar.gz: 251161eac1c3ad6c4ac6ef9221b06e9fd9fd3514
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0011863ca9e56e3745d247fa5fac85ddce3e9b6088b04d59b6c8875ceb9f69a67dde7cc43aa9763a580ac002356464dd0abf1a8b20b2baf9a0c78a7f97a85138
|
7
|
+
data.tar.gz: 27fe57719085bb068ca1d31b9ddc655d7f9f8cd5da0750f67cba81eccb9dd4d8c0147b9021138dee4cc046d0481effc78eb656d2573ae2bbc5c64c3be9e31e69
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1042
|
data/lib/v20180228/models.rb
CHANGED
@@ -17832,7 +17832,6 @@ module TencentCloud
|
|
17832
17832
|
# <li>Ips - String - 是否必填:否 - 通过ip查询 </li>
|
17833
17833
|
# <li>Names - String - 是否必填:否 - 通过实例名查询 </li>
|
17834
17834
|
# <li>InstanceIds - String - 是否必填:否 - 通过实例id查询 </li>
|
17835
|
-
# <li>Status - String - 是否必填:否 - 客户端在线状态(OFFLINE: 离线/关机 | ONLINE: 在线 | UNINSTALLED:未安装 | AGENT_OFFLINE 离线| AGENT_SHUTDOWN 已关机)</li>
|
17836
17835
|
# <li>Version - String 是否必填:否 - 当前防护版本( PRO_VERSION:专业版 | BASIC_VERSION:基础版 | Flagship : 旗舰版 | ProtectedMachines: 专业版+旗舰版)</li>
|
17837
17836
|
# <li>Risk - String 是否必填: 否 - 风险主机( yes ) </li>
|
17838
17837
|
# <li>Os -String 是否必填: 否 - 操作系统( DescribeMachineOsList 接口 值 )
|
@@ -17840,6 +17839,8 @@ module TencentCloud
|
|
17840
17839
|
# <li>Quuid - String - 是否必填: 否 - 云服务器uuid 最大100条.</li>
|
17841
17840
|
# <li>AddedOnTheFifteen- String 是否必填: 否 - 是否只查询15天内新增的主机( 1:是) </li>
|
17842
17841
|
# <li> TagId- String 是否必填: 否 - 查询指定标签关联的主机列表 </li>
|
17842
|
+
# <li> AgentStatus- String 是否必填: 否 - ALL 全部; ONLINE 防护中; OFFLINE 已离线;UNINSTALLED 未安装</li>
|
17843
|
+
# <li> MachineStatus- String 是否必填: 否 - ALL 全部; RUNNING 运行中; STOPPED 已关机; EXPIRED 待回收</li>
|
17843
17844
|
# @type Filters: Array
|
17844
17845
|
# @param ProjectIds: 机器所属业务ID列表
|
17845
17846
|
# @type ProjectIds: Array
|
@@ -27503,16 +27504,21 @@ module TencentCloud
|
|
27503
27504
|
# @type Fileds: Array
|
27504
27505
|
# @param Fields: 需要导出的字段
|
27505
27506
|
# @type Fields: String
|
27507
|
+
# @param Where: 需要导出的字段
|
27508
|
+
# @type Where: Array
|
27506
27509
|
|
27507
|
-
attr_accessor :Filters, :Fileds, :Fields
|
27510
|
+
attr_accessor :Filters, :Fileds, :Fields, :Where
|
27508
27511
|
extend Gem::Deprecate
|
27509
27512
|
deprecate :Fileds, :none, 2025, 4
|
27510
27513
|
deprecate :Fileds=, :none, 2025, 4
|
27514
|
+
deprecate :Fields, :none, 2025, 4
|
27515
|
+
deprecate :Fields=, :none, 2025, 4
|
27511
27516
|
|
27512
|
-
def initialize(filters=nil, fileds=nil, fields=nil)
|
27517
|
+
def initialize(filters=nil, fileds=nil, fields=nil, where=nil)
|
27513
27518
|
@Filters = filters
|
27514
27519
|
@Fileds = fileds
|
27515
27520
|
@Fields = fields
|
27521
|
+
@Where = where
|
27516
27522
|
end
|
27517
27523
|
|
27518
27524
|
def deserialize(params)
|
@@ -27526,6 +27532,7 @@ module TencentCloud
|
|
27526
27532
|
end
|
27527
27533
|
@Fileds = params['Fileds']
|
27528
27534
|
@Fields = params['Fields']
|
27535
|
+
@Where = params['Where']
|
27529
27536
|
end
|
27530
27537
|
end
|
27531
27538
|
|
@@ -30724,10 +30731,18 @@ module TencentCloud
|
|
30724
30731
|
# @type IsSwitchBind: Boolean
|
30725
30732
|
# @param MachineExtraInfo: 主机额外信息
|
30726
30733
|
# @type MachineExtraInfo: :class:`Tencentcloud::Cwp.v20180228.models.MachineExtraInfo`
|
30734
|
+
# @param InstanceState: <li> RUNNING 运行中</li>
|
30735
|
+
# <li> STOPPED 已关机</li>
|
30736
|
+
# <li> EXPIRED 待回收</li>
|
30737
|
+
# @type InstanceState: String
|
30738
|
+
# @param AgentState: <li>ONLINE 已离线 </li>
|
30739
|
+
# <li>OFFLINE 防护中</li>
|
30740
|
+
# <li>UNINSTALLED 未安装客户端</li>
|
30741
|
+
# @type AgentState: String
|
30727
30742
|
|
30728
|
-
attr_accessor :MachineName, :MachineWanIp, :MachineIp, :Quuid, :Uuid, :Tags, :AgentStatus, :IsUnBind, :IsSwitchBind, :MachineExtraInfo
|
30743
|
+
attr_accessor :MachineName, :MachineWanIp, :MachineIp, :Quuid, :Uuid, :Tags, :AgentStatus, :IsUnBind, :IsSwitchBind, :MachineExtraInfo, :InstanceState, :AgentState
|
30729
30744
|
|
30730
|
-
def initialize(machinename=nil, machinewanip=nil, machineip=nil, quuid=nil, uuid=nil, tags=nil, agentstatus=nil, isunbind=nil, isswitchbind=nil, machineextrainfo=nil)
|
30745
|
+
def initialize(machinename=nil, machinewanip=nil, machineip=nil, quuid=nil, uuid=nil, tags=nil, agentstatus=nil, isunbind=nil, isswitchbind=nil, machineextrainfo=nil, instancestate=nil, agentstate=nil)
|
30731
30746
|
@MachineName = machinename
|
30732
30747
|
@MachineWanIp = machinewanip
|
30733
30748
|
@MachineIp = machineip
|
@@ -30738,6 +30753,8 @@ module TencentCloud
|
|
30738
30753
|
@IsUnBind = isunbind
|
30739
30754
|
@IsSwitchBind = isswitchbind
|
30740
30755
|
@MachineExtraInfo = machineextrainfo
|
30756
|
+
@InstanceState = instancestate
|
30757
|
+
@AgentState = agentstate
|
30741
30758
|
end
|
30742
30759
|
|
30743
30760
|
def deserialize(params)
|
@@ -30754,6 +30771,8 @@ module TencentCloud
|
|
30754
30771
|
@MachineExtraInfo = MachineExtraInfo.new
|
30755
30772
|
@MachineExtraInfo.deserialize(params['MachineExtraInfo'])
|
30756
30773
|
end
|
30774
|
+
@InstanceState = params['InstanceState']
|
30775
|
+
@AgentState = params['AgentState']
|
30757
30776
|
end
|
30758
30777
|
end
|
30759
30778
|
|
@@ -31151,12 +31170,12 @@ module TencentCloud
|
|
31151
31170
|
# @type MachineName: String
|
31152
31171
|
# @param MachineOs: 主机系统。
|
31153
31172
|
# @type MachineOs: String
|
31154
|
-
# @param MachineStatus: 主机状态。
|
31155
|
-
# <li>OFFLINE: 离线 </li>
|
31156
|
-
# <li>ONLINE: 在线</li>
|
31157
|
-
# <li>SHUTDOWN: 已关机</li>
|
31158
|
-
# <li>UNINSTALLED: 未防护</li>
|
31173
|
+
# @param MachineStatus: 主机状态。 <li>OFFLINE: 离线 </li> <li>ONLINE: 在线</li> <li>SHUTDOWN: 已关机</li> <li>UNINSTALLED: 未防护</li>
|
31159
31174
|
# @type MachineStatus: String
|
31175
|
+
# @param AgentStatus: ONLINE 防护中; OFFLINE 已离线;UNINStALLED 未安装
|
31176
|
+
# @type AgentStatus: String
|
31177
|
+
# @param InstanceStatus: RUNNING 运行中; STOPED 已关机; EXPIRED 待回收
|
31178
|
+
# @type InstanceStatus: String
|
31160
31179
|
# @param Uuid: 主机安全Uuid,若客户端长时间不在线将返回空字符。
|
31161
31180
|
# @type Uuid: String
|
31162
31181
|
# @param Quuid: CVM或BM机器唯一Uuid。
|
@@ -31221,12 +31240,14 @@ module TencentCloud
|
|
31221
31240
|
# @param Remark: 备注信息
|
31222
31241
|
# @type Remark: String
|
31223
31242
|
|
31224
|
-
attr_accessor :MachineName, :MachineOs, :MachineStatus, :Uuid, :Quuid, :VulNum, :MachineIp, :IsProVersion, :MachineWanIp, :PayMode, :MalwareNum, :Tag, :BaselineNum, :CyberAttackNum, :SecurityStatus, :InvasionNum, :RegionInfo, :InstanceState, :LicenseStatus, :ProjectId, :HasAssetScan, :MachineType, :KernelVersion, :ProtectType, :CloudTags, :IsAddedOnTheFifteen, :IpList, :VpcId, :MachineExtraInfo, :InstanceId, :Remark
|
31243
|
+
attr_accessor :MachineName, :MachineOs, :MachineStatus, :AgentStatus, :InstanceStatus, :Uuid, :Quuid, :VulNum, :MachineIp, :IsProVersion, :MachineWanIp, :PayMode, :MalwareNum, :Tag, :BaselineNum, :CyberAttackNum, :SecurityStatus, :InvasionNum, :RegionInfo, :InstanceState, :LicenseStatus, :ProjectId, :HasAssetScan, :MachineType, :KernelVersion, :ProtectType, :CloudTags, :IsAddedOnTheFifteen, :IpList, :VpcId, :MachineExtraInfo, :InstanceId, :Remark
|
31225
31244
|
|
31226
|
-
def initialize(machinename=nil, machineos=nil, machinestatus=nil, uuid=nil, quuid=nil, vulnum=nil, machineip=nil, isproversion=nil, machinewanip=nil, paymode=nil, malwarenum=nil, tag=nil, baselinenum=nil, cyberattacknum=nil, securitystatus=nil, invasionnum=nil, regioninfo=nil, instancestate=nil, licensestatus=nil, projectid=nil, hasassetscan=nil, machinetype=nil, kernelversion=nil, protecttype=nil, cloudtags=nil, isaddedonthefifteen=nil, iplist=nil, vpcid=nil, machineextrainfo=nil, instanceid=nil, remark=nil)
|
31245
|
+
def initialize(machinename=nil, machineos=nil, machinestatus=nil, agentstatus=nil, instancestatus=nil, uuid=nil, quuid=nil, vulnum=nil, machineip=nil, isproversion=nil, machinewanip=nil, paymode=nil, malwarenum=nil, tag=nil, baselinenum=nil, cyberattacknum=nil, securitystatus=nil, invasionnum=nil, regioninfo=nil, instancestate=nil, licensestatus=nil, projectid=nil, hasassetscan=nil, machinetype=nil, kernelversion=nil, protecttype=nil, cloudtags=nil, isaddedonthefifteen=nil, iplist=nil, vpcid=nil, machineextrainfo=nil, instanceid=nil, remark=nil)
|
31227
31246
|
@MachineName = machinename
|
31228
31247
|
@MachineOs = machineos
|
31229
31248
|
@MachineStatus = machinestatus
|
31249
|
+
@AgentStatus = agentstatus
|
31250
|
+
@InstanceStatus = instancestatus
|
31230
31251
|
@Uuid = uuid
|
31231
31252
|
@Quuid = quuid
|
31232
31253
|
@VulNum = vulnum
|
@@ -31261,6 +31282,8 @@ module TencentCloud
|
|
31261
31282
|
@MachineName = params['MachineName']
|
31262
31283
|
@MachineOs = params['MachineOs']
|
31263
31284
|
@MachineStatus = params['MachineStatus']
|
31285
|
+
@AgentStatus = params['AgentStatus']
|
31286
|
+
@InstanceStatus = params['InstanceStatus']
|
31264
31287
|
@Uuid = params['Uuid']
|
31265
31288
|
@Quuid = params['Quuid']
|
31266
31289
|
@VulNum = params['VulNum']
|
@@ -31843,10 +31866,14 @@ module TencentCloud
|
|
31843
31866
|
# @type MachineExtraInfo: :class:`Tencentcloud::Cwp.v20180228.models.MachineExtraInfo`
|
31844
31867
|
# @param References: 参考链接
|
31845
31868
|
# @type References: Array
|
31869
|
+
# @param FileExists: 木马文件是否存在
|
31870
|
+
# @type FileExists: Boolean
|
31871
|
+
# @param ProcessExists: 木马进程是否存在
|
31872
|
+
# @type ProcessExists: Boolean
|
31846
31873
|
|
31847
|
-
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
|
31874
|
+
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
|
31848
31875
|
|
31849
|
-
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)
|
31876
|
+
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)
|
31850
31877
|
@VirusName = virusname
|
31851
31878
|
@FileSize = filesize
|
31852
31879
|
@MD5 = md5
|
@@ -31878,6 +31905,8 @@ module TencentCloud
|
|
31878
31905
|
@StrFileAccessTime = strfileaccesstime
|
31879
31906
|
@MachineExtraInfo = machineextrainfo
|
31880
31907
|
@References = references
|
31908
|
+
@FileExists = fileexists
|
31909
|
+
@ProcessExists = processexists
|
31881
31910
|
end
|
31882
31911
|
|
31883
31912
|
def deserialize(params)
|
@@ -31915,6 +31944,8 @@ module TencentCloud
|
|
31915
31944
|
@MachineExtraInfo.deserialize(params['MachineExtraInfo'])
|
31916
31945
|
end
|
31917
31946
|
@References = params['References']
|
31947
|
+
@FileExists = params['FileExists']
|
31948
|
+
@ProcessExists = params['ProcessExists']
|
31918
31949
|
end
|
31919
31950
|
end
|
31920
31951
|
|
@@ -37163,10 +37194,12 @@ module TencentCloud
|
|
37163
37194
|
# @type ModifyTime: String
|
37164
37195
|
# @param CmdLineQuote: 命令详情的转义后内容,供正则加白全字符串匹配使用
|
37165
37196
|
# @type CmdLineQuote: String
|
37197
|
+
# @param RiskLevel: 风险等级
|
37198
|
+
# @type RiskLevel: Integer
|
37166
37199
|
|
37167
|
-
attr_accessor :Id, :Uuid, :Quuid, :HostIp, :DstIp, :DstPort, :ProcessName, :FullPath, :CmdLine, :UserName, :UserGroup, :ParentProcName, :ParentProcUser, :ParentProcGroup, :ParentProcPath, :Status, :CreateTime, :MachineName, :DetectBy, :PsTree, :SuggestScheme, :HarmDescribe, :Tags, :References, :MachineWanIp, :MachineStatus, :ModifyTime, :CmdLineQuote
|
37200
|
+
attr_accessor :Id, :Uuid, :Quuid, :HostIp, :DstIp, :DstPort, :ProcessName, :FullPath, :CmdLine, :UserName, :UserGroup, :ParentProcName, :ParentProcUser, :ParentProcGroup, :ParentProcPath, :Status, :CreateTime, :MachineName, :DetectBy, :PsTree, :SuggestScheme, :HarmDescribe, :Tags, :References, :MachineWanIp, :MachineStatus, :ModifyTime, :CmdLineQuote, :RiskLevel
|
37168
37201
|
|
37169
|
-
def initialize(id=nil, uuid=nil, quuid=nil, hostip=nil, dstip=nil, dstport=nil, processname=nil, fullpath=nil, cmdline=nil, username=nil, usergroup=nil, parentprocname=nil, parentprocuser=nil, parentprocgroup=nil, parentprocpath=nil, status=nil, createtime=nil, machinename=nil, detectby=nil, pstree=nil, suggestscheme=nil, harmdescribe=nil, tags=nil, references=nil, machinewanip=nil, machinestatus=nil, modifytime=nil, cmdlinequote=nil)
|
37202
|
+
def initialize(id=nil, uuid=nil, quuid=nil, hostip=nil, dstip=nil, dstport=nil, processname=nil, fullpath=nil, cmdline=nil, username=nil, usergroup=nil, parentprocname=nil, parentprocuser=nil, parentprocgroup=nil, parentprocpath=nil, status=nil, createtime=nil, machinename=nil, detectby=nil, pstree=nil, suggestscheme=nil, harmdescribe=nil, tags=nil, references=nil, machinewanip=nil, machinestatus=nil, modifytime=nil, cmdlinequote=nil, risklevel=nil)
|
37170
37203
|
@Id = id
|
37171
37204
|
@Uuid = uuid
|
37172
37205
|
@Quuid = quuid
|
@@ -37195,6 +37228,7 @@ module TencentCloud
|
|
37195
37228
|
@MachineStatus = machinestatus
|
37196
37229
|
@ModifyTime = modifytime
|
37197
37230
|
@CmdLineQuote = cmdlinequote
|
37231
|
+
@RiskLevel = risklevel
|
37198
37232
|
end
|
37199
37233
|
|
37200
37234
|
def deserialize(params)
|
@@ -37226,6 +37260,7 @@ module TencentCloud
|
|
37226
37260
|
@MachineStatus = params['MachineStatus']
|
37227
37261
|
@ModifyTime = params['ModifyTime']
|
37228
37262
|
@CmdLineQuote = params['CmdLineQuote']
|
37263
|
+
@RiskLevel = params['RiskLevel']
|
37229
37264
|
end
|
37230
37265
|
end
|
37231
37266
|
|
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.
|
4
|
+
version: 3.0.1042
|
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-04-
|
11
|
+
date: 2025-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,9 +33,9 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/tencentcloud-sdk-cwp.rb
|
37
36
|
- lib/v20180228/client.rb
|
38
37
|
- lib/v20180228/models.rb
|
38
|
+
- lib/tencentcloud-sdk-cwp.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|