tencentcloud-sdk-cwp 1.0.237 → 1.0.238
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/client.rb +1 -1
- data/lib/v20180228/models.rb +54 -12
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7aa0297bfcb37fb7cc19dc3ad4b47d6214bbbea6
|
4
|
+
data.tar.gz: f1ecd62aa9e44857d2ddfd19e663cc73e6590d24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e032a45e3cc287bd690efd2f12969af487dd8c47fd5b11d36f9a0ae689e14c32ccc465a58b310adeea82031d56cb9a608a3d6c83895c700a18c952f0166d660
|
7
|
+
data.tar.gz: 5cacc25e54ee9567c8853f999bdba5d8b870f2e40d0f4e26cace51b390546db517d51644b3414513bfa64b409b4bcdd6976c020ba2bf5445379692033d96e76c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.238
|
data/lib/v20180228/client.rb
CHANGED
@@ -4493,7 +4493,7 @@ module TencentCloud
|
|
4493
4493
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4494
4494
|
end
|
4495
4495
|
|
4496
|
-
#
|
4496
|
+
# 用于设置新增主机自动开通专业防护配置。
|
4497
4497
|
|
4498
4498
|
# @param request: Request instance for ModifyAutoOpenProVersionConfig.
|
4499
4499
|
# @type request: :class:`Tencentcloud::cwp::V20180228::ModifyAutoOpenProVersionConfigRequest`
|
data/lib/v20180228/models.rb
CHANGED
@@ -8082,12 +8082,18 @@ module TencentCloud
|
|
8082
8082
|
# @type Shutdown: Integer
|
8083
8083
|
# @param Offline: 已离线总数
|
8084
8084
|
# @type Offline: Integer
|
8085
|
+
# @param FlagshipMachineCnt: 旗舰版主机数
|
8086
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8087
|
+
# @type FlagshipMachineCnt: Integer
|
8088
|
+
# @param ProtectDays: 保护天数
|
8089
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8090
|
+
# @type ProtectDays: Integer
|
8085
8091
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
8086
8092
|
# @type RequestId: String
|
8087
8093
|
|
8088
|
-
attr_accessor :MachinesAll, :MachinesUninstalled, :AgentsAll, :AgentsOnline, :AgentsOffline, :AgentsPro, :AgentsBasic, :AgentsProExpireWithInSevenDays, :RiskMachine, :Shutdown, :Offline, :RequestId
|
8094
|
+
attr_accessor :MachinesAll, :MachinesUninstalled, :AgentsAll, :AgentsOnline, :AgentsOffline, :AgentsPro, :AgentsBasic, :AgentsProExpireWithInSevenDays, :RiskMachine, :Shutdown, :Offline, :FlagshipMachineCnt, :ProtectDays, :RequestId
|
8089
8095
|
|
8090
|
-
def initialize(machinesall=nil, machinesuninstalled=nil, agentsall=nil, agentsonline=nil, agentsoffline=nil, agentspro=nil, agentsbasic=nil, agentsproexpirewithinsevendays=nil, riskmachine=nil, shutdown=nil, offline=nil, requestid=nil)
|
8096
|
+
def initialize(machinesall=nil, machinesuninstalled=nil, agentsall=nil, agentsonline=nil, agentsoffline=nil, agentspro=nil, agentsbasic=nil, agentsproexpirewithinsevendays=nil, riskmachine=nil, shutdown=nil, offline=nil, flagshipmachinecnt=nil, protectdays=nil, requestid=nil)
|
8091
8097
|
@MachinesAll = machinesall
|
8092
8098
|
@MachinesUninstalled = machinesuninstalled
|
8093
8099
|
@AgentsAll = agentsall
|
@@ -8099,6 +8105,8 @@ module TencentCloud
|
|
8099
8105
|
@RiskMachine = riskmachine
|
8100
8106
|
@Shutdown = shutdown
|
8101
8107
|
@Offline = offline
|
8108
|
+
@FlagshipMachineCnt = flagshipmachinecnt
|
8109
|
+
@ProtectDays = protectdays
|
8102
8110
|
@RequestId = requestid
|
8103
8111
|
end
|
8104
8112
|
|
@@ -8114,6 +8122,8 @@ module TencentCloud
|
|
8114
8122
|
@RiskMachine = params['RiskMachine']
|
8115
8123
|
@Shutdown = params['Shutdown']
|
8116
8124
|
@Offline = params['Offline']
|
8125
|
+
@FlagshipMachineCnt = params['FlagshipMachineCnt']
|
8126
|
+
@ProtectDays = params['ProtectDays']
|
8117
8127
|
@RequestId = params['RequestId']
|
8118
8128
|
end
|
8119
8129
|
end
|
@@ -8442,21 +8452,33 @@ module TencentCloud
|
|
8442
8452
|
# @type MachineList: Array
|
8443
8453
|
# @param ImportType: 批量导入的数据类型:Ip、Name、Id 三选一
|
8444
8454
|
# @type ImportType: String
|
8445
|
-
# @param IsQueryProMachine:
|
8455
|
+
# @param IsQueryProMachine: 该参数已作废.
|
8446
8456
|
# @type IsQueryProMachine: Boolean
|
8457
|
+
# @param Filters: 过滤条件。
|
8458
|
+
# <li>Version - String 是否必填:否 - 当前防护版本( PRO_VERSION:专业版 | BASIC_VERSION:基础版 | Flagship : 旗舰版 | ProtectedMachines: 专业版+旗舰版)</li>
|
8459
|
+
# @type Filters: Array
|
8447
8460
|
|
8448
|
-
attr_accessor :MachineList, :ImportType, :IsQueryProMachine
|
8461
|
+
attr_accessor :MachineList, :ImportType, :IsQueryProMachine, :Filters
|
8449
8462
|
|
8450
|
-
def initialize(machinelist=nil, importtype=nil, isquerypromachine=nil)
|
8463
|
+
def initialize(machinelist=nil, importtype=nil, isquerypromachine=nil, filters=nil)
|
8451
8464
|
@MachineList = machinelist
|
8452
8465
|
@ImportType = importtype
|
8453
8466
|
@IsQueryProMachine = isquerypromachine
|
8467
|
+
@Filters = filters
|
8454
8468
|
end
|
8455
8469
|
|
8456
8470
|
def deserialize(params)
|
8457
8471
|
@MachineList = params['MachineList']
|
8458
8472
|
@ImportType = params['ImportType']
|
8459
8473
|
@IsQueryProMachine = params['IsQueryProMachine']
|
8474
|
+
unless params['Filters'].nil?
|
8475
|
+
@Filters = []
|
8476
|
+
params['Filters'].each do |i|
|
8477
|
+
filters_tmp = Filters.new
|
8478
|
+
filters_tmp.deserialize(i)
|
8479
|
+
@Filters << filters_tmp
|
8480
|
+
end
|
8481
|
+
end
|
8460
8482
|
end
|
8461
8483
|
end
|
8462
8484
|
|
@@ -8763,12 +8785,14 @@ module TencentCloud
|
|
8763
8785
|
# @type ProVersionDeadline: String
|
8764
8786
|
# @param HasAssetScan: 是否有资产扫描记录,0无,1有
|
8765
8787
|
# @type HasAssetScan: Integer
|
8788
|
+
# @param ProtectType: 防护版本 BASIC_VERSION 基础版, PRO_VERSION 专业版 Flagship 旗舰版.
|
8789
|
+
# @type ProtectType: String
|
8766
8790
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
8767
8791
|
# @type RequestId: String
|
8768
8792
|
|
8769
|
-
attr_accessor :MachineIp, :ProtectDays, :MachineOs, :MachineName, :MachineStatus, :InstanceId, :MachineWanIp, :Quuid, :Uuid, :IsProVersion, :ProVersionOpenDate, :MachineType, :MachineRegion, :PayMode, :FreeMalwaresLeft, :FreeVulsLeft, :AgentVersion, :ProVersionDeadline, :HasAssetScan, :RequestId
|
8793
|
+
attr_accessor :MachineIp, :ProtectDays, :MachineOs, :MachineName, :MachineStatus, :InstanceId, :MachineWanIp, :Quuid, :Uuid, :IsProVersion, :ProVersionOpenDate, :MachineType, :MachineRegion, :PayMode, :FreeMalwaresLeft, :FreeVulsLeft, :AgentVersion, :ProVersionDeadline, :HasAssetScan, :ProtectType, :RequestId
|
8770
8794
|
|
8771
|
-
def initialize(machineip=nil, protectdays=nil, machineos=nil, machinename=nil, machinestatus=nil, instanceid=nil, machinewanip=nil, quuid=nil, uuid=nil, isproversion=nil, proversionopendate=nil, machinetype=nil, machineregion=nil, paymode=nil, freemalwaresleft=nil, freevulsleft=nil, agentversion=nil, proversiondeadline=nil, hasassetscan=nil, requestid=nil)
|
8795
|
+
def initialize(machineip=nil, protectdays=nil, machineos=nil, machinename=nil, machinestatus=nil, instanceid=nil, machinewanip=nil, quuid=nil, uuid=nil, isproversion=nil, proversionopendate=nil, machinetype=nil, machineregion=nil, paymode=nil, freemalwaresleft=nil, freevulsleft=nil, agentversion=nil, proversiondeadline=nil, hasassetscan=nil, protecttype=nil, requestid=nil)
|
8772
8796
|
@MachineIp = machineip
|
8773
8797
|
@ProtectDays = protectdays
|
8774
8798
|
@MachineOs = machineos
|
@@ -8788,6 +8812,7 @@ module TencentCloud
|
|
8788
8812
|
@AgentVersion = agentversion
|
8789
8813
|
@ProVersionDeadline = proversiondeadline
|
8790
8814
|
@HasAssetScan = hasassetscan
|
8815
|
+
@ProtectType = protecttype
|
8791
8816
|
@RequestId = requestid
|
8792
8817
|
end
|
8793
8818
|
|
@@ -8811,6 +8836,7 @@ module TencentCloud
|
|
8811
8836
|
@AgentVersion = params['AgentVersion']
|
8812
8837
|
@ProVersionDeadline = params['ProVersionDeadline']
|
8813
8838
|
@HasAssetScan = params['HasAssetScan']
|
8839
|
+
@ProtectType = params['ProtectType']
|
8814
8840
|
@RequestId = params['RequestId']
|
8815
8841
|
end
|
8816
8842
|
end
|
@@ -9043,10 +9069,11 @@ module TencentCloud
|
|
9043
9069
|
# @param Filters: 过滤条件。
|
9044
9070
|
# <li>Keywords - String - 是否必填:否 - 查询关键字 </li>
|
9045
9071
|
# <li>Status - String - 是否必填:否 - 客户端在线状态(OFFLINE: 离线/关机 | ONLINE: 在线 | UNINSTALLED:未安装 | AGENT_OFFLINE 离线| AGENT_SHUTDOWN 已关机)</li>
|
9046
|
-
# <li>Version - String 是否必填:否 - 当前防护版本( PRO_VERSION:专业版 | BASIC_VERSION
|
9072
|
+
# <li>Version - String 是否必填:否 - 当前防护版本( PRO_VERSION:专业版 | BASIC_VERSION:基础版 | Flagship : 旗舰版 | ProtectedMachines: 专业版+旗舰版)</li>
|
9047
9073
|
# <li>Risk - String 是否必填: 否 - 风险主机( yes ) </li>
|
9048
9074
|
# <li>Os -String 是否必填: 否 - 操作系统( DescribeMachineOsList 接口 值 )
|
9049
9075
|
# 每个过滤条件只支持一个值,暂不支持多个值“或”关系查询
|
9076
|
+
# <li>Quuid - String - 是否必填: 否 - 云服务器uuid 最大100条.</li>
|
9050
9077
|
# @type Filters: Array
|
9051
9078
|
# @param ProjectIds: 机器所属业务ID列表
|
9052
9079
|
# @type ProjectIds: Array
|
@@ -14397,6 +14424,7 @@ module TencentCloud
|
|
14397
14424
|
# <li>OFFLINE: 离线 </li>
|
14398
14425
|
# <li>ONLINE: 在线</li>
|
14399
14426
|
# <li>SHUTDOWN: 已关机</li>
|
14427
|
+
# <li>UNINSTALLED: 未防护</li>
|
14400
14428
|
# @type MachineStatus: String
|
14401
14429
|
# @param Uuid: 云镜客户端唯一Uuid,若客户端长时间不在线将返回空字符。
|
14402
14430
|
# @type Uuid: String
|
@@ -14445,10 +14473,12 @@ module TencentCloud
|
|
14445
14473
|
# @type MachineType: String
|
14446
14474
|
# @param KernelVersion: 内核版本
|
14447
14475
|
# @type KernelVersion: String
|
14476
|
+
# @param ProtectType: 防护版本 BASIC_VERSION 基础版, PRO_VERSION 专业版 Flagship 旗舰版.
|
14477
|
+
# @type ProtectType: String
|
14448
14478
|
|
14449
|
-
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
|
14479
|
+
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
|
14450
14480
|
|
14451
|
-
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)
|
14481
|
+
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)
|
14452
14482
|
@MachineName = machinename
|
14453
14483
|
@MachineOs = machineos
|
14454
14484
|
@MachineStatus = machinestatus
|
@@ -14472,6 +14502,7 @@ module TencentCloud
|
|
14472
14502
|
@HasAssetScan = hasassetscan
|
14473
14503
|
@MachineType = machinetype
|
14474
14504
|
@KernelVersion = kernelversion
|
14505
|
+
@ProtectType = protecttype
|
14475
14506
|
end
|
14476
14507
|
|
14477
14508
|
def deserialize(params)
|
@@ -14508,6 +14539,7 @@ module TencentCloud
|
|
14508
14539
|
@HasAssetScan = params['HasAssetScan']
|
14509
14540
|
@MachineType = params['MachineType']
|
14510
14541
|
@KernelVersion = params['KernelVersion']
|
14542
|
+
@ProtectType = params['ProtectType']
|
14511
14543
|
end
|
14512
14544
|
end
|
14513
14545
|
|
@@ -14694,10 +14726,16 @@ module TencentCloud
|
|
14694
14726
|
# @param Level: 风险等级 0提示、1低、2中、3高、4严重
|
14695
14727
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
14696
14728
|
# @type Level: Integer
|
14729
|
+
# @param CheckPlatform: 木马检测平台用,分割 1云查杀引擎、2TAV、3binaryAi、4异常行为、5威胁情报
|
14730
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14731
|
+
# @type CheckPlatform: String
|
14732
|
+
# @param Uuid: 主机uuid
|
14733
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14734
|
+
# @type Uuid: String
|
14697
14735
|
|
14698
|
-
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
|
14736
|
+
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
|
14699
14737
|
|
14700
|
-
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)
|
14738
|
+
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)
|
14701
14739
|
@VirusName = virusname
|
14702
14740
|
@FileSize = filesize
|
14703
14741
|
@MD5 = md5
|
@@ -14723,6 +14761,8 @@ module TencentCloud
|
|
14723
14761
|
@MachineStatus = machinestatus
|
14724
14762
|
@Status = status
|
14725
14763
|
@Level = level
|
14764
|
+
@CheckPlatform = checkplatform
|
14765
|
+
@Uuid = uuid
|
14726
14766
|
end
|
14727
14767
|
|
14728
14768
|
def deserialize(params)
|
@@ -14751,6 +14791,8 @@ module TencentCloud
|
|
14751
14791
|
@MachineStatus = params['MachineStatus']
|
14752
14792
|
@Status = params['Status']
|
14753
14793
|
@Level = params['Level']
|
14794
|
+
@CheckPlatform = params['CheckPlatform']
|
14795
|
+
@Uuid = params['Uuid']
|
14754
14796
|
end
|
14755
14797
|
end
|
14756
14798
|
|
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.
|
4
|
+
version: 1.0.238
|
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-01-
|
11
|
+
date: 2022-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|