tencentcloud-sdk-tcss 3.0.634 → 3.0.636
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/v20201101/client.rb +48 -0
- data/lib/v20201101/models.rb +605 -14
- 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: 15afa8db55cab207a68ede7d002aa7dae84e6912
|
4
|
+
data.tar.gz: 0df20a341f33857728607e530834507d4e0542f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b8c96b08a185c28eab451cace95d7eecadf3751e3249311ffe42c735af726b2e6ee6476d7216f00e17de0290361e70b14862dd4717de1931254c456cc370761
|
7
|
+
data.tar.gz: d0b7611a493749905eb0f30e01d566ead7f6eca2c6222fc2b49a4a4d9dfa5796fb2a92e2ed19cc08b5155aa4689cbc637cf03db1115f38875b7a959820205a17
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.636
|
data/lib/v20201101/client.rb
CHANGED
@@ -5048,6 +5048,54 @@ module TencentCloud
|
|
5048
5048
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
5049
5049
|
end
|
5050
5050
|
|
5051
|
+
# 查询恶意请求事件详情
|
5052
|
+
|
5053
|
+
# @param request: Request instance for DescribeRiskDnsEventDetail.
|
5054
|
+
# @type request: :class:`Tencentcloud::tcss::V20201101::DescribeRiskDnsEventDetailRequest`
|
5055
|
+
# @rtype: :class:`Tencentcloud::tcss::V20201101::DescribeRiskDnsEventDetailResponse`
|
5056
|
+
def DescribeRiskDnsEventDetail(request)
|
5057
|
+
body = send_request('DescribeRiskDnsEventDetail', request.serialize)
|
5058
|
+
response = JSON.parse(body)
|
5059
|
+
if response['Response'].key?('Error') == false
|
5060
|
+
model = DescribeRiskDnsEventDetailResponse.new
|
5061
|
+
model.deserialize(response['Response'])
|
5062
|
+
model
|
5063
|
+
else
|
5064
|
+
code = response['Response']['Error']['Code']
|
5065
|
+
message = response['Response']['Error']['Message']
|
5066
|
+
reqid = response['Response']['RequestId']
|
5067
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
5068
|
+
end
|
5069
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
5070
|
+
raise e
|
5071
|
+
rescue StandardError => e
|
5072
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
5073
|
+
end
|
5074
|
+
|
5075
|
+
# 查询恶意请求事件列表
|
5076
|
+
|
5077
|
+
# @param request: Request instance for DescribeRiskDnsList.
|
5078
|
+
# @type request: :class:`Tencentcloud::tcss::V20201101::DescribeRiskDnsListRequest`
|
5079
|
+
# @rtype: :class:`Tencentcloud::tcss::V20201101::DescribeRiskDnsListResponse`
|
5080
|
+
def DescribeRiskDnsList(request)
|
5081
|
+
body = send_request('DescribeRiskDnsList', request.serialize)
|
5082
|
+
response = JSON.parse(body)
|
5083
|
+
if response['Response'].key?('Error') == false
|
5084
|
+
model = DescribeRiskDnsListResponse.new
|
5085
|
+
model.deserialize(response['Response'])
|
5086
|
+
model
|
5087
|
+
else
|
5088
|
+
code = response['Response']['Error']['Code']
|
5089
|
+
message = response['Response']['Error']['Message']
|
5090
|
+
reqid = response['Response']['RequestId']
|
5091
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
5092
|
+
end
|
5093
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
5094
|
+
raise e
|
5095
|
+
rescue StandardError => e
|
5096
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
5097
|
+
end
|
5098
|
+
|
5051
5099
|
# 查询最近一次任务发现的风险项的信息列表,支持根据特殊字段进行过滤
|
5052
5100
|
|
5053
5101
|
# @param request: Request instance for DescribeRiskList.
|
data/lib/v20201101/models.rb
CHANGED
@@ -2388,10 +2388,25 @@ module TencentCloud
|
|
2388
2388
|
# @type CheckStatus: String
|
2389
2389
|
# @param TaskCreateTime: 任务创建时间,检查时间
|
2390
2390
|
# @type TaskCreateTime: String
|
2391
|
+
# @param AccessedStatus: 接入状态
|
2392
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2393
|
+
# @type AccessedStatus: String
|
2394
|
+
# @param AccessedSubStatus: 接入失败原因
|
2395
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2396
|
+
# @type AccessedSubStatus: String
|
2397
|
+
# @param NodeCount: 节点总数
|
2398
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2399
|
+
# @type NodeCount: Integer
|
2400
|
+
# @param OffLineNodeCount: 离线节点数
|
2401
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2402
|
+
# @type OffLineNodeCount: Integer
|
2403
|
+
# @param UnInstallAgentNodeCount: 未安装agent节点数
|
2404
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2405
|
+
# @type UnInstallAgentNodeCount: Integer
|
2391
2406
|
|
2392
|
-
attr_accessor :ClusterId, :ClusterName, :ClusterVersion, :ClusterOs, :ClusterType, :ClusterNodeNum, :Region, :DefenderStatus, :ClusterStatus, :ClusterCheckMode, :ClusterAutoCheck, :DefenderErrorReason, :UnreadyNodeNum, :SeriousRiskCount, :HighRiskCount, :MiddleRiskCount, :HintRiskCount, :CheckFailReason, :CheckStatus, :TaskCreateTime
|
2407
|
+
attr_accessor :ClusterId, :ClusterName, :ClusterVersion, :ClusterOs, :ClusterType, :ClusterNodeNum, :Region, :DefenderStatus, :ClusterStatus, :ClusterCheckMode, :ClusterAutoCheck, :DefenderErrorReason, :UnreadyNodeNum, :SeriousRiskCount, :HighRiskCount, :MiddleRiskCount, :HintRiskCount, :CheckFailReason, :CheckStatus, :TaskCreateTime, :AccessedStatus, :AccessedSubStatus, :NodeCount, :OffLineNodeCount, :UnInstallAgentNodeCount
|
2393
2408
|
|
2394
|
-
def initialize(clusterid=nil, clustername=nil, clusterversion=nil, clusteros=nil, clustertype=nil, clusternodenum=nil, region=nil, defenderstatus=nil, clusterstatus=nil, clustercheckmode=nil, clusterautocheck=nil, defendererrorreason=nil, unreadynodenum=nil, seriousriskcount=nil, highriskcount=nil, middleriskcount=nil, hintriskcount=nil, checkfailreason=nil, checkstatus=nil, taskcreatetime=nil)
|
2409
|
+
def initialize(clusterid=nil, clustername=nil, clusterversion=nil, clusteros=nil, clustertype=nil, clusternodenum=nil, region=nil, defenderstatus=nil, clusterstatus=nil, clustercheckmode=nil, clusterautocheck=nil, defendererrorreason=nil, unreadynodenum=nil, seriousriskcount=nil, highriskcount=nil, middleriskcount=nil, hintriskcount=nil, checkfailreason=nil, checkstatus=nil, taskcreatetime=nil, accessedstatus=nil, accessedsubstatus=nil, nodecount=nil, offlinenodecount=nil, uninstallagentnodecount=nil)
|
2395
2410
|
@ClusterId = clusterid
|
2396
2411
|
@ClusterName = clustername
|
2397
2412
|
@ClusterVersion = clusterversion
|
@@ -2412,6 +2427,11 @@ module TencentCloud
|
|
2412
2427
|
@CheckFailReason = checkfailreason
|
2413
2428
|
@CheckStatus = checkstatus
|
2414
2429
|
@TaskCreateTime = taskcreatetime
|
2430
|
+
@AccessedStatus = accessedstatus
|
2431
|
+
@AccessedSubStatus = accessedsubstatus
|
2432
|
+
@NodeCount = nodecount
|
2433
|
+
@OffLineNodeCount = offlinenodecount
|
2434
|
+
@UnInstallAgentNodeCount = uninstallagentnodecount
|
2415
2435
|
end
|
2416
2436
|
|
2417
2437
|
def deserialize(params)
|
@@ -2435,6 +2455,11 @@ module TencentCloud
|
|
2435
2455
|
@CheckFailReason = params['CheckFailReason']
|
2436
2456
|
@CheckStatus = params['CheckStatus']
|
2437
2457
|
@TaskCreateTime = params['TaskCreateTime']
|
2458
|
+
@AccessedStatus = params['AccessedStatus']
|
2459
|
+
@AccessedSubStatus = params['AccessedSubStatus']
|
2460
|
+
@NodeCount = params['NodeCount']
|
2461
|
+
@OffLineNodeCount = params['OffLineNodeCount']
|
2462
|
+
@UnInstallAgentNodeCount = params['UnInstallAgentNodeCount']
|
2438
2463
|
end
|
2439
2464
|
end
|
2440
2465
|
|
@@ -4208,20 +4233,25 @@ module TencentCloud
|
|
4208
4233
|
# @type TaskId: Integer
|
4209
4234
|
# @param CreateResult: 创建检查任务的结果,"Succ"为成功,其他的为失败原因
|
4210
4235
|
# @type CreateResult: String
|
4236
|
+
# @param NewTaskID: 返回创建的集群新任务ID
|
4237
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4238
|
+
# @type NewTaskID: String
|
4211
4239
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4212
4240
|
# @type RequestId: String
|
4213
4241
|
|
4214
|
-
attr_accessor :TaskId, :CreateResult, :RequestId
|
4242
|
+
attr_accessor :TaskId, :CreateResult, :NewTaskID, :RequestId
|
4215
4243
|
|
4216
|
-
def initialize(taskid=nil, createresult=nil, requestid=nil)
|
4244
|
+
def initialize(taskid=nil, createresult=nil, newtaskid=nil, requestid=nil)
|
4217
4245
|
@TaskId = taskid
|
4218
4246
|
@CreateResult = createresult
|
4247
|
+
@NewTaskID = newtaskid
|
4219
4248
|
@RequestId = requestid
|
4220
4249
|
end
|
4221
4250
|
|
4222
4251
|
def deserialize(params)
|
4223
4252
|
@TaskId = params['TaskId']
|
4224
4253
|
@CreateResult = params['CreateResult']
|
4254
|
+
@NewTaskID = params['NewTaskID']
|
4225
4255
|
@RequestId = params['RequestId']
|
4226
4256
|
end
|
4227
4257
|
end
|
@@ -8391,12 +8421,18 @@ module TencentCloud
|
|
8391
8421
|
# @type Project: :class:`Tencentcloud::Tcss.v20201101.models.ProjectInfo`
|
8392
8422
|
# @param Tags: 标签
|
8393
8423
|
# @type Tags: Array
|
8424
|
+
# @param ClusterID: 集群ID
|
8425
|
+
# @type ClusterID: String
|
8426
|
+
# @param ClusterName: 集群名称
|
8427
|
+
# @type ClusterName: String
|
8428
|
+
# @param ClusterAccessedStatus: 集群接入状态
|
8429
|
+
# @type ClusterAccessedStatus: String
|
8394
8430
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
8395
8431
|
# @type RequestId: String
|
8396
8432
|
|
8397
|
-
attr_accessor :UUID, :UpdateTime, :HostName, :Group, :HostIP, :OsName, :AgentVersion, :KernelVersion, :DockerVersion, :DockerAPIVersion, :DockerGoVersion, :DockerFileSystemDriver, :DockerRootDir, :ImageCnt, :ContainerCnt, :K8sMasterIP, :K8sVersion, :KubeProxyVersion, :Status, :IsContainerd, :MachineType, :PublicIp, :InstanceID, :RegionID, :Project, :Tags, :RequestId
|
8433
|
+
attr_accessor :UUID, :UpdateTime, :HostName, :Group, :HostIP, :OsName, :AgentVersion, :KernelVersion, :DockerVersion, :DockerAPIVersion, :DockerGoVersion, :DockerFileSystemDriver, :DockerRootDir, :ImageCnt, :ContainerCnt, :K8sMasterIP, :K8sVersion, :KubeProxyVersion, :Status, :IsContainerd, :MachineType, :PublicIp, :InstanceID, :RegionID, :Project, :Tags, :ClusterID, :ClusterName, :ClusterAccessedStatus, :RequestId
|
8398
8434
|
|
8399
|
-
def initialize(uuid=nil, updatetime=nil, hostname=nil, group=nil, hostip=nil, osname=nil, agentversion=nil, kernelversion=nil, dockerversion=nil, dockerapiversion=nil, dockergoversion=nil, dockerfilesystemdriver=nil, dockerrootdir=nil, imagecnt=nil, containercnt=nil, k8smasterip=nil, k8sversion=nil, kubeproxyversion=nil, status=nil, iscontainerd=nil, machinetype=nil, publicip=nil, instanceid=nil, regionid=nil, project=nil, tags=nil, requestid=nil)
|
8435
|
+
def initialize(uuid=nil, updatetime=nil, hostname=nil, group=nil, hostip=nil, osname=nil, agentversion=nil, kernelversion=nil, dockerversion=nil, dockerapiversion=nil, dockergoversion=nil, dockerfilesystemdriver=nil, dockerrootdir=nil, imagecnt=nil, containercnt=nil, k8smasterip=nil, k8sversion=nil, kubeproxyversion=nil, status=nil, iscontainerd=nil, machinetype=nil, publicip=nil, instanceid=nil, regionid=nil, project=nil, tags=nil, clusterid=nil, clustername=nil, clusteraccessedstatus=nil, requestid=nil)
|
8400
8436
|
@UUID = uuid
|
8401
8437
|
@UpdateTime = updatetime
|
8402
8438
|
@HostName = hostname
|
@@ -8423,6 +8459,9 @@ module TencentCloud
|
|
8423
8459
|
@RegionID = regionid
|
8424
8460
|
@Project = project
|
8425
8461
|
@Tags = tags
|
8462
|
+
@ClusterID = clusterid
|
8463
|
+
@ClusterName = clustername
|
8464
|
+
@ClusterAccessedStatus = clusteraccessedstatus
|
8426
8465
|
@RequestId = requestid
|
8427
8466
|
end
|
8428
8467
|
|
@@ -8463,6 +8502,9 @@ module TencentCloud
|
|
8463
8502
|
@Tags << taginfo_tmp
|
8464
8503
|
end
|
8465
8504
|
end
|
8505
|
+
@ClusterID = params['ClusterID']
|
8506
|
+
@ClusterName = params['ClusterName']
|
8507
|
+
@ClusterAccessedStatus = params['ClusterAccessedStatus']
|
8466
8508
|
@RequestId = params['RequestId']
|
8467
8509
|
end
|
8468
8510
|
end
|
@@ -11315,12 +11357,21 @@ module TencentCloud
|
|
11315
11357
|
# @type NotImportedClusterCount: Integer
|
11316
11358
|
# @param ServerlessClusterCount: eks集群数量
|
11317
11359
|
# @type ServerlessClusterCount: Integer
|
11360
|
+
# @param TkeClusterCount: TKE集群数量
|
11361
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11362
|
+
# @type TkeClusterCount: Integer
|
11363
|
+
# @param UserCreateTencentClusterCount: 用户自建腾讯云集群数量
|
11364
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11365
|
+
# @type UserCreateTencentClusterCount: Integer
|
11366
|
+
# @param UserCreateHybridClusterCount: 用户自建集群混合云数量
|
11367
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11368
|
+
# @type UserCreateHybridClusterCount: Integer
|
11318
11369
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
11319
11370
|
# @type RequestId: String
|
11320
11371
|
|
11321
|
-
attr_accessor :TotalCount, :RiskClusterCount, :UncheckClusterCount, :ManagedClusterCount, :IndependentClusterCount, :NoRiskClusterCount, :CheckedClusterCount, :AutoCheckClusterCount, :ManualCheckClusterCount, :FailedClusterCount, :NotImportedClusterCount, :ServerlessClusterCount, :RequestId
|
11372
|
+
attr_accessor :TotalCount, :RiskClusterCount, :UncheckClusterCount, :ManagedClusterCount, :IndependentClusterCount, :NoRiskClusterCount, :CheckedClusterCount, :AutoCheckClusterCount, :ManualCheckClusterCount, :FailedClusterCount, :NotImportedClusterCount, :ServerlessClusterCount, :TkeClusterCount, :UserCreateTencentClusterCount, :UserCreateHybridClusterCount, :RequestId
|
11322
11373
|
|
11323
|
-
def initialize(totalcount=nil, riskclustercount=nil, uncheckclustercount=nil, managedclustercount=nil, independentclustercount=nil, noriskclustercount=nil, checkedclustercount=nil, autocheckclustercount=nil, manualcheckclustercount=nil, failedclustercount=nil, notimportedclustercount=nil, serverlessclustercount=nil, requestid=nil)
|
11374
|
+
def initialize(totalcount=nil, riskclustercount=nil, uncheckclustercount=nil, managedclustercount=nil, independentclustercount=nil, noriskclustercount=nil, checkedclustercount=nil, autocheckclustercount=nil, manualcheckclustercount=nil, failedclustercount=nil, notimportedclustercount=nil, serverlessclustercount=nil, tkeclustercount=nil, usercreatetencentclustercount=nil, usercreatehybridclustercount=nil, requestid=nil)
|
11324
11375
|
@TotalCount = totalcount
|
11325
11376
|
@RiskClusterCount = riskclustercount
|
11326
11377
|
@UncheckClusterCount = uncheckclustercount
|
@@ -11333,6 +11384,9 @@ module TencentCloud
|
|
11333
11384
|
@FailedClusterCount = failedclustercount
|
11334
11385
|
@NotImportedClusterCount = notimportedclustercount
|
11335
11386
|
@ServerlessClusterCount = serverlessclustercount
|
11387
|
+
@TkeClusterCount = tkeclustercount
|
11388
|
+
@UserCreateTencentClusterCount = usercreatetencentclustercount
|
11389
|
+
@UserCreateHybridClusterCount = usercreatehybridclustercount
|
11336
11390
|
@RequestId = requestid
|
11337
11391
|
end
|
11338
11392
|
|
@@ -11349,6 +11403,9 @@ module TencentCloud
|
|
11349
11403
|
@FailedClusterCount = params['FailedClusterCount']
|
11350
11404
|
@NotImportedClusterCount = params['NotImportedClusterCount']
|
11351
11405
|
@ServerlessClusterCount = params['ServerlessClusterCount']
|
11406
|
+
@TkeClusterCount = params['TkeClusterCount']
|
11407
|
+
@UserCreateTencentClusterCount = params['UserCreateTencentClusterCount']
|
11408
|
+
@UserCreateHybridClusterCount = params['UserCreateHybridClusterCount']
|
11352
11409
|
@RequestId = params['RequestId']
|
11353
11410
|
end
|
11354
11411
|
end
|
@@ -15051,15 +15108,19 @@ module TencentCloud
|
|
15051
15108
|
class DescribeRefreshTaskRequest < TencentCloud::Common::AbstractModel
|
15052
15109
|
# @param TaskId: 任务ID
|
15053
15110
|
# @type TaskId: Integer
|
15111
|
+
# @param NewTaskID: 新任务ID
|
15112
|
+
# @type NewTaskID: String
|
15054
15113
|
|
15055
|
-
attr_accessor :TaskId
|
15114
|
+
attr_accessor :TaskId, :NewTaskID
|
15056
15115
|
|
15057
|
-
def initialize(taskid=nil)
|
15116
|
+
def initialize(taskid=nil, newtaskid=nil)
|
15058
15117
|
@TaskId = taskid
|
15118
|
+
@NewTaskID = newtaskid
|
15059
15119
|
end
|
15060
15120
|
|
15061
15121
|
def deserialize(params)
|
15062
15122
|
@TaskId = params['TaskId']
|
15123
|
+
@NewTaskID = params['NewTaskID']
|
15063
15124
|
end
|
15064
15125
|
end
|
15065
15126
|
|
@@ -15400,6 +15461,367 @@ module TencentCloud
|
|
15400
15461
|
end
|
15401
15462
|
end
|
15402
15463
|
|
15464
|
+
# DescribeRiskDnsEventDetail请求参数结构体
|
15465
|
+
class DescribeRiskDnsEventDetailRequest < TencentCloud::Common::AbstractModel
|
15466
|
+
# @param EventID: 事件ID
|
15467
|
+
# @type EventID: Integer
|
15468
|
+
|
15469
|
+
attr_accessor :EventID
|
15470
|
+
|
15471
|
+
def initialize(eventid=nil)
|
15472
|
+
@EventID = eventid
|
15473
|
+
end
|
15474
|
+
|
15475
|
+
def deserialize(params)
|
15476
|
+
@EventID = params['EventID']
|
15477
|
+
end
|
15478
|
+
end
|
15479
|
+
|
15480
|
+
# DescribeRiskDnsEventDetail返回参数结构体
|
15481
|
+
class DescribeRiskDnsEventDetailResponse < TencentCloud::Common::AbstractModel
|
15482
|
+
# @param EventID: 事件ID
|
15483
|
+
# @type EventID: Integer
|
15484
|
+
# @param EventType: 事件类型,恶意域名请求:DOMAIN,恶意IP请求:IP
|
15485
|
+
# @type EventType: String
|
15486
|
+
# @param EventCount: 恶意请求次数
|
15487
|
+
# @type EventCount: Integer
|
15488
|
+
# @param FoundTime: 首次发现时间
|
15489
|
+
# @type FoundTime: String
|
15490
|
+
# @param LatestFoundTime: 最近生成时间
|
15491
|
+
# @type LatestFoundTime: String
|
15492
|
+
# @param ContainerID: 容器ID
|
15493
|
+
# @type ContainerID: String
|
15494
|
+
# @param ContainerName: 容器名称
|
15495
|
+
# @type ContainerName: String
|
15496
|
+
# @param ContainerNetStatus: 隔离状态
|
15497
|
+
# 未隔离 NORMAL
|
15498
|
+
# 已隔离 ISOLATED
|
15499
|
+
# 隔离中 ISOLATING
|
15500
|
+
# 隔离失败 ISOLATE_FAILED
|
15501
|
+
# 解除隔离中 RESTORING
|
15502
|
+
# 解除隔离失败 RESTORE_FAILED
|
15503
|
+
# @type ContainerNetStatus: String
|
15504
|
+
# @param ContainerStatus: 容器状态
|
15505
|
+
# 正在运行: RUNNING
|
15506
|
+
# 暂停: PAUSED
|
15507
|
+
# 停止: STOPPED
|
15508
|
+
# 已经创建: CREATED
|
15509
|
+
# 已经销毁: DESTROYED
|
15510
|
+
# 正在重启中: RESTARTING
|
15511
|
+
# 迁移中: REMOVING
|
15512
|
+
# @type ContainerStatus: String
|
15513
|
+
# @param ContainerNetSubStatus: 容器子状态
|
15514
|
+
# "AGENT_OFFLINE" //Agent离线
|
15515
|
+
# "NODE_DESTROYED" //节点已销毁
|
15516
|
+
# "CONTAINER_EXITED" //容器已退出
|
15517
|
+
# "CONTAINER_DESTROYED" //容器已销毁
|
15518
|
+
# "SHARED_HOST" // 容器与主机共享网络
|
15519
|
+
# "RESOURCE_LIMIT" //隔离操作资源超限
|
15520
|
+
# "UNKNOW" // 原因未知
|
15521
|
+
# @type ContainerNetSubStatus: String
|
15522
|
+
# @param ContainerIsolateOperationSrc: 容器隔离操作来源
|
15523
|
+
# @type ContainerIsolateOperationSrc: String
|
15524
|
+
# @param ImageID: 镜像ID
|
15525
|
+
# @type ImageID: String
|
15526
|
+
# @param ImageName: 镜像名称
|
15527
|
+
# @type ImageName: String
|
15528
|
+
# @param HostName: 主机名称
|
15529
|
+
# @type HostName: String
|
15530
|
+
# @param HostIP: 内网IP
|
15531
|
+
# @type HostIP: String
|
15532
|
+
# @param PublicIP: 外网IP
|
15533
|
+
# @type PublicIP: String
|
15534
|
+
# @param PodName: 节点名称
|
15535
|
+
# @type PodName: String
|
15536
|
+
# @param Description: 事件描述
|
15537
|
+
# @type Description: String
|
15538
|
+
# @param Solution: 解决方案
|
15539
|
+
# @type Solution: String
|
15540
|
+
# @param Reference: 参考链接
|
15541
|
+
# @type Reference: Array
|
15542
|
+
# @param Address: 恶意域名或IP
|
15543
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15544
|
+
# @type Address: String
|
15545
|
+
# @param City: 恶意IP所属城市
|
15546
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15547
|
+
# @type City: String
|
15548
|
+
# @param MatchRuleType: 命中规则类型
|
15549
|
+
# SYSTEM:系统规则
|
15550
|
+
# USER:用户自定义
|
15551
|
+
# @type MatchRuleType: String
|
15552
|
+
# @param FeatureLabel: 标签特征
|
15553
|
+
# @type FeatureLabel: String
|
15554
|
+
# @param ProcessAuthority: 进程权限
|
15555
|
+
# @type ProcessAuthority: String
|
15556
|
+
# @param ProcessMd5: 进程md5
|
15557
|
+
# @type ProcessMd5: String
|
15558
|
+
# @param ProcessStartUser: 进程启动用户
|
15559
|
+
# @type ProcessStartUser: String
|
15560
|
+
# @param ProcessUserGroup: 进程用户组
|
15561
|
+
# @type ProcessUserGroup: String
|
15562
|
+
# @param ProcessPath: 进程路径
|
15563
|
+
# @type ProcessPath: String
|
15564
|
+
# @param ProcessTree: 进程树
|
15565
|
+
# @type ProcessTree: String
|
15566
|
+
# @param ProcessParam: 进程命令行参数
|
15567
|
+
# @type ProcessParam: String
|
15568
|
+
# @param ParentProcessStartUser: 父进程启动用户
|
15569
|
+
# @type ParentProcessStartUser: String
|
15570
|
+
# @param ParentProcessUserGroup: 父进程用户组
|
15571
|
+
# @type ParentProcessUserGroup: String
|
15572
|
+
# @param ParentProcessPath: 父进程路径
|
15573
|
+
# @type ParentProcessPath: String
|
15574
|
+
# @param ParentProcessParam: 父进程命令行参数
|
15575
|
+
# @type ParentProcessParam: String
|
15576
|
+
# @param AncestorProcessStartUser: 祖先进程启动用户
|
15577
|
+
# @type AncestorProcessStartUser: String
|
15578
|
+
# @param AncestorProcessUserGroup: 祖先进程用户组
|
15579
|
+
# @type AncestorProcessUserGroup: String
|
15580
|
+
# @param AncestorProcessPath: 祖先进程路径
|
15581
|
+
# @type AncestorProcessPath: String
|
15582
|
+
# @param AncestorProcessParam: 祖先进程命令行参数
|
15583
|
+
# @type AncestorProcessParam: String
|
15584
|
+
# @param HostID: 主机ID
|
15585
|
+
# @type HostID: String
|
15586
|
+
# @param EventStatus: 事件状态
|
15587
|
+
# EVENT_UNDEAL: 待处理
|
15588
|
+
# EVENT_DEALED:已处理
|
15589
|
+
# EVENT_IGNORE: 已忽略
|
15590
|
+
# EVENT_ADD_WHITE:已加白
|
15591
|
+
# @type EventStatus: String
|
15592
|
+
# @param OperationTime: 操作时间
|
15593
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15594
|
+
# @type OperationTime: String
|
15595
|
+
# @param Remark: 备注
|
15596
|
+
# @type Remark: String
|
15597
|
+
# @param NodeType: 节点类型
|
15598
|
+
# @type NodeType: String
|
15599
|
+
# @param NodeName: 节点名称
|
15600
|
+
# @type NodeName: String
|
15601
|
+
# @param NodeSubNetID: 节点子网ID
|
15602
|
+
# @type NodeSubNetID: String
|
15603
|
+
# @param NodeSubNetName: 节点子网名称
|
15604
|
+
# @type NodeSubNetName: String
|
15605
|
+
# @param NodeSubNetCIDR: 节点子网网段
|
15606
|
+
# @type NodeSubNetCIDR: String
|
15607
|
+
# @param ClusterID: 集群ID
|
15608
|
+
# @type ClusterID: String
|
15609
|
+
# @param PodIP: podip
|
15610
|
+
# @type PodIP: String
|
15611
|
+
# @param PodStatus: pod状态
|
15612
|
+
# @type PodStatus: String
|
15613
|
+
# @param NodeUniqueID: 节点唯一id
|
15614
|
+
# @type NodeUniqueID: String
|
15615
|
+
# @param NodeID: 节点ID名称
|
15616
|
+
# @type NodeID: String
|
15617
|
+
# @param ClusterName: 集群名称
|
15618
|
+
# @type ClusterName: String
|
15619
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
15620
|
+
# @type RequestId: String
|
15621
|
+
|
15622
|
+
attr_accessor :EventID, :EventType, :EventCount, :FoundTime, :LatestFoundTime, :ContainerID, :ContainerName, :ContainerNetStatus, :ContainerStatus, :ContainerNetSubStatus, :ContainerIsolateOperationSrc, :ImageID, :ImageName, :HostName, :HostIP, :PublicIP, :PodName, :Description, :Solution, :Reference, :Address, :City, :MatchRuleType, :FeatureLabel, :ProcessAuthority, :ProcessMd5, :ProcessStartUser, :ProcessUserGroup, :ProcessPath, :ProcessTree, :ProcessParam, :ParentProcessStartUser, :ParentProcessUserGroup, :ParentProcessPath, :ParentProcessParam, :AncestorProcessStartUser, :AncestorProcessUserGroup, :AncestorProcessPath, :AncestorProcessParam, :HostID, :EventStatus, :OperationTime, :Remark, :NodeType, :NodeName, :NodeSubNetID, :NodeSubNetName, :NodeSubNetCIDR, :ClusterID, :PodIP, :PodStatus, :NodeUniqueID, :NodeID, :ClusterName, :RequestId
|
15623
|
+
|
15624
|
+
def initialize(eventid=nil, eventtype=nil, eventcount=nil, foundtime=nil, latestfoundtime=nil, containerid=nil, containername=nil, containernetstatus=nil, containerstatus=nil, containernetsubstatus=nil, containerisolateoperationsrc=nil, imageid=nil, imagename=nil, hostname=nil, hostip=nil, publicip=nil, podname=nil, description=nil, solution=nil, reference=nil, address=nil, city=nil, matchruletype=nil, featurelabel=nil, processauthority=nil, processmd5=nil, processstartuser=nil, processusergroup=nil, processpath=nil, processtree=nil, processparam=nil, parentprocessstartuser=nil, parentprocessusergroup=nil, parentprocesspath=nil, parentprocessparam=nil, ancestorprocessstartuser=nil, ancestorprocessusergroup=nil, ancestorprocesspath=nil, ancestorprocessparam=nil, hostid=nil, eventstatus=nil, operationtime=nil, remark=nil, nodetype=nil, nodename=nil, nodesubnetid=nil, nodesubnetname=nil, nodesubnetcidr=nil, clusterid=nil, podip=nil, podstatus=nil, nodeuniqueid=nil, nodeid=nil, clustername=nil, requestid=nil)
|
15625
|
+
@EventID = eventid
|
15626
|
+
@EventType = eventtype
|
15627
|
+
@EventCount = eventcount
|
15628
|
+
@FoundTime = foundtime
|
15629
|
+
@LatestFoundTime = latestfoundtime
|
15630
|
+
@ContainerID = containerid
|
15631
|
+
@ContainerName = containername
|
15632
|
+
@ContainerNetStatus = containernetstatus
|
15633
|
+
@ContainerStatus = containerstatus
|
15634
|
+
@ContainerNetSubStatus = containernetsubstatus
|
15635
|
+
@ContainerIsolateOperationSrc = containerisolateoperationsrc
|
15636
|
+
@ImageID = imageid
|
15637
|
+
@ImageName = imagename
|
15638
|
+
@HostName = hostname
|
15639
|
+
@HostIP = hostip
|
15640
|
+
@PublicIP = publicip
|
15641
|
+
@PodName = podname
|
15642
|
+
@Description = description
|
15643
|
+
@Solution = solution
|
15644
|
+
@Reference = reference
|
15645
|
+
@Address = address
|
15646
|
+
@City = city
|
15647
|
+
@MatchRuleType = matchruletype
|
15648
|
+
@FeatureLabel = featurelabel
|
15649
|
+
@ProcessAuthority = processauthority
|
15650
|
+
@ProcessMd5 = processmd5
|
15651
|
+
@ProcessStartUser = processstartuser
|
15652
|
+
@ProcessUserGroup = processusergroup
|
15653
|
+
@ProcessPath = processpath
|
15654
|
+
@ProcessTree = processtree
|
15655
|
+
@ProcessParam = processparam
|
15656
|
+
@ParentProcessStartUser = parentprocessstartuser
|
15657
|
+
@ParentProcessUserGroup = parentprocessusergroup
|
15658
|
+
@ParentProcessPath = parentprocesspath
|
15659
|
+
@ParentProcessParam = parentprocessparam
|
15660
|
+
@AncestorProcessStartUser = ancestorprocessstartuser
|
15661
|
+
@AncestorProcessUserGroup = ancestorprocessusergroup
|
15662
|
+
@AncestorProcessPath = ancestorprocesspath
|
15663
|
+
@AncestorProcessParam = ancestorprocessparam
|
15664
|
+
@HostID = hostid
|
15665
|
+
@EventStatus = eventstatus
|
15666
|
+
@OperationTime = operationtime
|
15667
|
+
@Remark = remark
|
15668
|
+
@NodeType = nodetype
|
15669
|
+
@NodeName = nodename
|
15670
|
+
@NodeSubNetID = nodesubnetid
|
15671
|
+
@NodeSubNetName = nodesubnetname
|
15672
|
+
@NodeSubNetCIDR = nodesubnetcidr
|
15673
|
+
@ClusterID = clusterid
|
15674
|
+
@PodIP = podip
|
15675
|
+
@PodStatus = podstatus
|
15676
|
+
@NodeUniqueID = nodeuniqueid
|
15677
|
+
@NodeID = nodeid
|
15678
|
+
@ClusterName = clustername
|
15679
|
+
@RequestId = requestid
|
15680
|
+
end
|
15681
|
+
|
15682
|
+
def deserialize(params)
|
15683
|
+
@EventID = params['EventID']
|
15684
|
+
@EventType = params['EventType']
|
15685
|
+
@EventCount = params['EventCount']
|
15686
|
+
@FoundTime = params['FoundTime']
|
15687
|
+
@LatestFoundTime = params['LatestFoundTime']
|
15688
|
+
@ContainerID = params['ContainerID']
|
15689
|
+
@ContainerName = params['ContainerName']
|
15690
|
+
@ContainerNetStatus = params['ContainerNetStatus']
|
15691
|
+
@ContainerStatus = params['ContainerStatus']
|
15692
|
+
@ContainerNetSubStatus = params['ContainerNetSubStatus']
|
15693
|
+
@ContainerIsolateOperationSrc = params['ContainerIsolateOperationSrc']
|
15694
|
+
@ImageID = params['ImageID']
|
15695
|
+
@ImageName = params['ImageName']
|
15696
|
+
@HostName = params['HostName']
|
15697
|
+
@HostIP = params['HostIP']
|
15698
|
+
@PublicIP = params['PublicIP']
|
15699
|
+
@PodName = params['PodName']
|
15700
|
+
@Description = params['Description']
|
15701
|
+
@Solution = params['Solution']
|
15702
|
+
@Reference = params['Reference']
|
15703
|
+
@Address = params['Address']
|
15704
|
+
@City = params['City']
|
15705
|
+
@MatchRuleType = params['MatchRuleType']
|
15706
|
+
@FeatureLabel = params['FeatureLabel']
|
15707
|
+
@ProcessAuthority = params['ProcessAuthority']
|
15708
|
+
@ProcessMd5 = params['ProcessMd5']
|
15709
|
+
@ProcessStartUser = params['ProcessStartUser']
|
15710
|
+
@ProcessUserGroup = params['ProcessUserGroup']
|
15711
|
+
@ProcessPath = params['ProcessPath']
|
15712
|
+
@ProcessTree = params['ProcessTree']
|
15713
|
+
@ProcessParam = params['ProcessParam']
|
15714
|
+
@ParentProcessStartUser = params['ParentProcessStartUser']
|
15715
|
+
@ParentProcessUserGroup = params['ParentProcessUserGroup']
|
15716
|
+
@ParentProcessPath = params['ParentProcessPath']
|
15717
|
+
@ParentProcessParam = params['ParentProcessParam']
|
15718
|
+
@AncestorProcessStartUser = params['AncestorProcessStartUser']
|
15719
|
+
@AncestorProcessUserGroup = params['AncestorProcessUserGroup']
|
15720
|
+
@AncestorProcessPath = params['AncestorProcessPath']
|
15721
|
+
@AncestorProcessParam = params['AncestorProcessParam']
|
15722
|
+
@HostID = params['HostID']
|
15723
|
+
@EventStatus = params['EventStatus']
|
15724
|
+
@OperationTime = params['OperationTime']
|
15725
|
+
@Remark = params['Remark']
|
15726
|
+
@NodeType = params['NodeType']
|
15727
|
+
@NodeName = params['NodeName']
|
15728
|
+
@NodeSubNetID = params['NodeSubNetID']
|
15729
|
+
@NodeSubNetName = params['NodeSubNetName']
|
15730
|
+
@NodeSubNetCIDR = params['NodeSubNetCIDR']
|
15731
|
+
@ClusterID = params['ClusterID']
|
15732
|
+
@PodIP = params['PodIP']
|
15733
|
+
@PodStatus = params['PodStatus']
|
15734
|
+
@NodeUniqueID = params['NodeUniqueID']
|
15735
|
+
@NodeID = params['NodeID']
|
15736
|
+
@ClusterName = params['ClusterName']
|
15737
|
+
@RequestId = params['RequestId']
|
15738
|
+
end
|
15739
|
+
end
|
15740
|
+
|
15741
|
+
# DescribeRiskDnsList请求参数结构体
|
15742
|
+
class DescribeRiskDnsListRequest < TencentCloud::Common::AbstractModel
|
15743
|
+
# @param Limit: 需要返回的数量,默认为10,最大值为100
|
15744
|
+
# @type Limit: Integer
|
15745
|
+
# @param Offset: 偏移量,默认为0。
|
15746
|
+
# @type Offset: Integer
|
15747
|
+
# @param Filters: 过滤条件。
|
15748
|
+
# <li>EventStatus- String - 是否必填:否 - 事件状态,待处理:EVENT_UNDEAL,EVENT_DEALED:已处理,已忽略:EVENT_IGNORE, EVENT_ADD_WHITE:已加白</li>
|
15749
|
+
# <li>ContainerStatus- String - 是否必填:否 - 容器运行状态筛选,已创建:CREATED,正常运行:RUNNING, 暂定运行:PAUSED, 停止运行: STOPPED,重启中:RESTARTING, 迁移中:REMOVING, 销毁:DESTROYED </li>
|
15750
|
+
# <li>ContainerNetStatus- String -是否必填: 否 - 容器网络状态筛选 未隔离:NORMAL,已隔离:ISOLATED,隔离失败:ISOLATE_FAILED,解除隔离失败:RESTORE_FAILED,解除隔离中:RESTORING,隔离中:ISOLATING</li>
|
15751
|
+
# <li>EventType - String -是否必填: 否 - 事件类型,恶意域名请求:DOMAIN,恶意IP请求:IP</li>
|
15752
|
+
# <li>TimeRange- String -是否必填: 否 - 时间范围,第一个值表示开始时间,第二个值表示结束时间 </li>
|
15753
|
+
# <li>RiskDns- string - 是否必填:否 - 恶意域名。</li>
|
15754
|
+
# <li>RiskIP- string - 是否必填:否 - 恶意IP。</li>
|
15755
|
+
# <li>ContainerName- string - 是否必填:否 - 容器名称。</li>
|
15756
|
+
# <li>ContainerID- string - 是否必填:否 - 容器ID。</li>
|
15757
|
+
# <li>ImageName- string - 是否必填:否 - 镜像名称。</li>
|
15758
|
+
# <li>ImageID- string - 是否必填:否 - 镜像ID。</li>
|
15759
|
+
# <li>HostName- string - 是否必填:否 - 主机名称。</li>
|
15760
|
+
# <li>HostIP- string - 是否必填:否 - 内网IP。</li>
|
15761
|
+
# <li>PublicIP- string - 是否必填:否 - 外网IP。</li>
|
15762
|
+
# @type Filters: Array
|
15763
|
+
# @param Order: 排序方式:asc/desc
|
15764
|
+
# @type Order: String
|
15765
|
+
# @param By: 排序字段:告警数量:EventCount,最近生成时间:LatestFoundTime
|
15766
|
+
# @type By: String
|
15767
|
+
|
15768
|
+
attr_accessor :Limit, :Offset, :Filters, :Order, :By
|
15769
|
+
|
15770
|
+
def initialize(limit=nil, offset=nil, filters=nil, order=nil, by=nil)
|
15771
|
+
@Limit = limit
|
15772
|
+
@Offset = offset
|
15773
|
+
@Filters = filters
|
15774
|
+
@Order = order
|
15775
|
+
@By = by
|
15776
|
+
end
|
15777
|
+
|
15778
|
+
def deserialize(params)
|
15779
|
+
@Limit = params['Limit']
|
15780
|
+
@Offset = params['Offset']
|
15781
|
+
unless params['Filters'].nil?
|
15782
|
+
@Filters = []
|
15783
|
+
params['Filters'].each do |i|
|
15784
|
+
runtimefilters_tmp = RunTimeFilters.new
|
15785
|
+
runtimefilters_tmp.deserialize(i)
|
15786
|
+
@Filters << runtimefilters_tmp
|
15787
|
+
end
|
15788
|
+
end
|
15789
|
+
@Order = params['Order']
|
15790
|
+
@By = params['By']
|
15791
|
+
end
|
15792
|
+
end
|
15793
|
+
|
15794
|
+
# DescribeRiskDnsList返回参数结构体
|
15795
|
+
class DescribeRiskDnsListResponse < TencentCloud::Common::AbstractModel
|
15796
|
+
# @param List: 恶意请求事件列表
|
15797
|
+
# @type List: Array
|
15798
|
+
# @param TotalCount: 总数量
|
15799
|
+
# @type TotalCount: Integer
|
15800
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
15801
|
+
# @type RequestId: String
|
15802
|
+
|
15803
|
+
attr_accessor :List, :TotalCount, :RequestId
|
15804
|
+
|
15805
|
+
def initialize(list=nil, totalcount=nil, requestid=nil)
|
15806
|
+
@List = list
|
15807
|
+
@TotalCount = totalcount
|
15808
|
+
@RequestId = requestid
|
15809
|
+
end
|
15810
|
+
|
15811
|
+
def deserialize(params)
|
15812
|
+
unless params['List'].nil?
|
15813
|
+
@List = []
|
15814
|
+
params['List'].each do |i|
|
15815
|
+
riskdnseventinfo_tmp = RiskDnsEventInfo.new
|
15816
|
+
riskdnseventinfo_tmp.deserialize(i)
|
15817
|
+
@List << riskdnseventinfo_tmp
|
15818
|
+
end
|
15819
|
+
end
|
15820
|
+
@TotalCount = params['TotalCount']
|
15821
|
+
@RequestId = params['RequestId']
|
15822
|
+
end
|
15823
|
+
end
|
15824
|
+
|
15403
15825
|
# DescribeRiskList请求参数结构体
|
15404
15826
|
class DescribeRiskListRequest < TencentCloud::Common::AbstractModel
|
15405
15827
|
# @param ClusterId: 要查询的集群ID,如果不指定,则查询用户所有的风险项
|
@@ -16948,20 +17370,25 @@ module TencentCloud
|
|
16948
17370
|
# @type TaskId: Integer
|
16949
17371
|
# @param TaskStatus: 任务状态,为Task_New,Task_Running,Task_Finish,Task_Error,Task_NoExist.Task_New,Task_Running表示有任务存在,不允许新下发
|
16950
17372
|
# @type TaskStatus: String
|
17373
|
+
# @param NewTaskID: 新任务ID
|
17374
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
17375
|
+
# @type NewTaskID: String
|
16951
17376
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
16952
17377
|
# @type RequestId: String
|
16953
17378
|
|
16954
|
-
attr_accessor :TaskId, :TaskStatus, :RequestId
|
17379
|
+
attr_accessor :TaskId, :TaskStatus, :NewTaskID, :RequestId
|
16955
17380
|
|
16956
|
-
def initialize(taskid=nil, taskstatus=nil, requestid=nil)
|
17381
|
+
def initialize(taskid=nil, taskstatus=nil, newtaskid=nil, requestid=nil)
|
16957
17382
|
@TaskId = taskid
|
16958
17383
|
@TaskStatus = taskstatus
|
17384
|
+
@NewTaskID = newtaskid
|
16959
17385
|
@RequestId = requestid
|
16960
17386
|
end
|
16961
17387
|
|
16962
17388
|
def deserialize(params)
|
16963
17389
|
@TaskId = params['TaskId']
|
16964
17390
|
@TaskStatus = params['TaskStatus']
|
17391
|
+
@NewTaskID = params['NewTaskID']
|
16965
17392
|
@RequestId = params['RequestId']
|
16966
17393
|
end
|
16967
17394
|
end
|
@@ -20331,10 +20758,14 @@ module TencentCloud
|
|
20331
20758
|
# @type Tags: Array
|
20332
20759
|
# @param ClusterID: 集群id
|
20333
20760
|
# @type ClusterID: String
|
20761
|
+
# @param ClusterName: 集群名称
|
20762
|
+
# @type ClusterName: String
|
20763
|
+
# @param ClusterAccessedStatus: 集群接入状态
|
20764
|
+
# @type ClusterAccessedStatus: String
|
20334
20765
|
|
20335
|
-
attr_accessor :HostID, :HostIP, :HostName, :Group, :DockerVersion, :DockerFileSystemDriver, :ImageCnt, :ContainerCnt, :Status, :IsContainerd, :MachineType, :PublicIp, :Uuid, :InstanceID, :RegionID, :Project, :Tags, :ClusterID
|
20766
|
+
attr_accessor :HostID, :HostIP, :HostName, :Group, :DockerVersion, :DockerFileSystemDriver, :ImageCnt, :ContainerCnt, :Status, :IsContainerd, :MachineType, :PublicIp, :Uuid, :InstanceID, :RegionID, :Project, :Tags, :ClusterID, :ClusterName, :ClusterAccessedStatus
|
20336
20767
|
|
20337
|
-
def initialize(hostid=nil, hostip=nil, hostname=nil, group=nil, dockerversion=nil, dockerfilesystemdriver=nil, imagecnt=nil, containercnt=nil, status=nil, iscontainerd=nil, machinetype=nil, publicip=nil, uuid=nil, instanceid=nil, regionid=nil, project=nil, tags=nil, clusterid=nil)
|
20768
|
+
def initialize(hostid=nil, hostip=nil, hostname=nil, group=nil, dockerversion=nil, dockerfilesystemdriver=nil, imagecnt=nil, containercnt=nil, status=nil, iscontainerd=nil, machinetype=nil, publicip=nil, uuid=nil, instanceid=nil, regionid=nil, project=nil, tags=nil, clusterid=nil, clustername=nil, clusteraccessedstatus=nil)
|
20338
20769
|
@HostID = hostid
|
20339
20770
|
@HostIP = hostip
|
20340
20771
|
@HostName = hostname
|
@@ -20353,6 +20784,8 @@ module TencentCloud
|
|
20353
20784
|
@Project = project
|
20354
20785
|
@Tags = tags
|
20355
20786
|
@ClusterID = clusterid
|
20787
|
+
@ClusterName = clustername
|
20788
|
+
@ClusterAccessedStatus = clusteraccessedstatus
|
20356
20789
|
end
|
20357
20790
|
|
20358
20791
|
def deserialize(params)
|
@@ -20384,6 +20817,8 @@ module TencentCloud
|
|
20384
20817
|
end
|
20385
20818
|
end
|
20386
20819
|
@ClusterID = params['ClusterID']
|
20820
|
+
@ClusterName = params['ClusterName']
|
20821
|
+
@ClusterAccessedStatus = params['ClusterAccessedStatus']
|
20387
20822
|
end
|
20388
20823
|
end
|
20389
20824
|
|
@@ -24522,6 +24957,162 @@ module TencentCloud
|
|
24522
24957
|
end
|
24523
24958
|
end
|
24524
24959
|
|
24960
|
+
# 恶意请求事件信息
|
24961
|
+
class RiskDnsEventInfo < TencentCloud::Common::AbstractModel
|
24962
|
+
# @param EventID: 事件ID
|
24963
|
+
# @type EventID: Integer
|
24964
|
+
# @param EventType: 事件类型,恶意域名请求:DOMAIN,恶意IP请求:IP
|
24965
|
+
# @type EventType: String
|
24966
|
+
# @param Address: 恶意请求域名/IP
|
24967
|
+
# @type Address: String
|
24968
|
+
# @param ContainerID: 容器ID
|
24969
|
+
# @type ContainerID: String
|
24970
|
+
# @param ContainerName: 容器名称
|
24971
|
+
# @type ContainerName: String
|
24972
|
+
# @param ContainerNetStatus: 隔离状态
|
24973
|
+
# 未隔离 NORMAL
|
24974
|
+
# 已隔离 ISOLATED
|
24975
|
+
# 隔离中 ISOLATING
|
24976
|
+
# 隔离失败 ISOLATE_FAILED
|
24977
|
+
# 解除隔离中 RESTORING
|
24978
|
+
# 解除隔离失败 RESTORE_FAILED
|
24979
|
+
# @type ContainerNetStatus: String
|
24980
|
+
# @param ContainerStatus: 容器状态
|
24981
|
+
# 正在运行: RUNNING
|
24982
|
+
# 暂停: PAUSED
|
24983
|
+
# 停止: STOPPED
|
24984
|
+
# 已经创建: CREATED
|
24985
|
+
# 已经销毁: DESTROYED
|
24986
|
+
# 正在重启中: RESTARTING
|
24987
|
+
# 迁移中: REMOVING
|
24988
|
+
# @type ContainerStatus: String
|
24989
|
+
# @param ContainerNetSubStatus: 容器子状态
|
24990
|
+
# "AGENT_OFFLINE" //Agent离线
|
24991
|
+
# "NODE_DESTROYED" //节点已销毁
|
24992
|
+
# "CONTAINER_EXITED" //容器已退出
|
24993
|
+
# "CONTAINER_DESTROYED" //容器已销毁
|
24994
|
+
# "SHARED_HOST" // 容器与主机共享网络
|
24995
|
+
# "RESOURCE_LIMIT" //隔离操作资源超限
|
24996
|
+
# "UNKNOW" // 原因未知
|
24997
|
+
# @type ContainerNetSubStatus: String
|
24998
|
+
# @param ContainerIsolateOperationSrc: 容器隔离操作来源
|
24999
|
+
# @type ContainerIsolateOperationSrc: String
|
25000
|
+
# @param ImageID: 镜像ID
|
25001
|
+
# @type ImageID: String
|
25002
|
+
# @param ImageName: 镜像名称
|
25003
|
+
# @type ImageName: String
|
25004
|
+
# @param FoundTime: 首次发现时间
|
25005
|
+
# @type FoundTime: String
|
25006
|
+
# @param LatestFoundTime: 最近生成时间
|
25007
|
+
# @type LatestFoundTime: String
|
25008
|
+
# @param EventStatus: 事件状态
|
25009
|
+
# EVENT_UNDEAL: 待处理
|
25010
|
+
# EVENT_DEALED:已处理
|
25011
|
+
# EVENT_IGNORE: 已忽略
|
25012
|
+
# EVENT_ADD_WHITE:已加白
|
25013
|
+
# @type EventStatus: String
|
25014
|
+
# @param EventCount: 恶意请求次数
|
25015
|
+
# @type EventCount: Integer
|
25016
|
+
# @param Description: 事件描述
|
25017
|
+
# @type Description: String
|
25018
|
+
# @param Solution: 解决方案
|
25019
|
+
# @type Solution: String
|
25020
|
+
# @param City: 恶意IP所属城市
|
25021
|
+
# @type City: String
|
25022
|
+
# @param HostName: 主机名称
|
25023
|
+
# @type HostName: String
|
25024
|
+
# @param HostID: 主机ID
|
25025
|
+
# @type HostID: String
|
25026
|
+
# @param HostIP: 内网IP
|
25027
|
+
# @type HostIP: String
|
25028
|
+
# @param PublicIP: 外网IP
|
25029
|
+
# @type PublicIP: String
|
25030
|
+
# @param NodeType: 节点类型:NORMAL普通节点、SUPER超级节点
|
25031
|
+
# @type NodeType: String
|
25032
|
+
# @param NodeName: 节点名称
|
25033
|
+
# @type NodeName: String
|
25034
|
+
# @param PodIP: pod ip
|
25035
|
+
# @type PodIP: String
|
25036
|
+
# @param PodName: pod 名称
|
25037
|
+
# @type PodName: String
|
25038
|
+
# @param ClusterID: 集群ID
|
25039
|
+
# @type ClusterID: String
|
25040
|
+
# @param NodeID: 节点id
|
25041
|
+
# @type NodeID: String
|
25042
|
+
# @param NodeUniqueID: 节点唯一id
|
25043
|
+
# @type NodeUniqueID: String
|
25044
|
+
# @param ClusterName: 集群名称
|
25045
|
+
# @type ClusterName: String
|
25046
|
+
|
25047
|
+
attr_accessor :EventID, :EventType, :Address, :ContainerID, :ContainerName, :ContainerNetStatus, :ContainerStatus, :ContainerNetSubStatus, :ContainerIsolateOperationSrc, :ImageID, :ImageName, :FoundTime, :LatestFoundTime, :EventStatus, :EventCount, :Description, :Solution, :City, :HostName, :HostID, :HostIP, :PublicIP, :NodeType, :NodeName, :PodIP, :PodName, :ClusterID, :NodeID, :NodeUniqueID, :ClusterName
|
25048
|
+
|
25049
|
+
def initialize(eventid=nil, eventtype=nil, address=nil, containerid=nil, containername=nil, containernetstatus=nil, containerstatus=nil, containernetsubstatus=nil, containerisolateoperationsrc=nil, imageid=nil, imagename=nil, foundtime=nil, latestfoundtime=nil, eventstatus=nil, eventcount=nil, description=nil, solution=nil, city=nil, hostname=nil, hostid=nil, hostip=nil, publicip=nil, nodetype=nil, nodename=nil, podip=nil, podname=nil, clusterid=nil, nodeid=nil, nodeuniqueid=nil, clustername=nil)
|
25050
|
+
@EventID = eventid
|
25051
|
+
@EventType = eventtype
|
25052
|
+
@Address = address
|
25053
|
+
@ContainerID = containerid
|
25054
|
+
@ContainerName = containername
|
25055
|
+
@ContainerNetStatus = containernetstatus
|
25056
|
+
@ContainerStatus = containerstatus
|
25057
|
+
@ContainerNetSubStatus = containernetsubstatus
|
25058
|
+
@ContainerIsolateOperationSrc = containerisolateoperationsrc
|
25059
|
+
@ImageID = imageid
|
25060
|
+
@ImageName = imagename
|
25061
|
+
@FoundTime = foundtime
|
25062
|
+
@LatestFoundTime = latestfoundtime
|
25063
|
+
@EventStatus = eventstatus
|
25064
|
+
@EventCount = eventcount
|
25065
|
+
@Description = description
|
25066
|
+
@Solution = solution
|
25067
|
+
@City = city
|
25068
|
+
@HostName = hostname
|
25069
|
+
@HostID = hostid
|
25070
|
+
@HostIP = hostip
|
25071
|
+
@PublicIP = publicip
|
25072
|
+
@NodeType = nodetype
|
25073
|
+
@NodeName = nodename
|
25074
|
+
@PodIP = podip
|
25075
|
+
@PodName = podname
|
25076
|
+
@ClusterID = clusterid
|
25077
|
+
@NodeID = nodeid
|
25078
|
+
@NodeUniqueID = nodeuniqueid
|
25079
|
+
@ClusterName = clustername
|
25080
|
+
end
|
25081
|
+
|
25082
|
+
def deserialize(params)
|
25083
|
+
@EventID = params['EventID']
|
25084
|
+
@EventType = params['EventType']
|
25085
|
+
@Address = params['Address']
|
25086
|
+
@ContainerID = params['ContainerID']
|
25087
|
+
@ContainerName = params['ContainerName']
|
25088
|
+
@ContainerNetStatus = params['ContainerNetStatus']
|
25089
|
+
@ContainerStatus = params['ContainerStatus']
|
25090
|
+
@ContainerNetSubStatus = params['ContainerNetSubStatus']
|
25091
|
+
@ContainerIsolateOperationSrc = params['ContainerIsolateOperationSrc']
|
25092
|
+
@ImageID = params['ImageID']
|
25093
|
+
@ImageName = params['ImageName']
|
25094
|
+
@FoundTime = params['FoundTime']
|
25095
|
+
@LatestFoundTime = params['LatestFoundTime']
|
25096
|
+
@EventStatus = params['EventStatus']
|
25097
|
+
@EventCount = params['EventCount']
|
25098
|
+
@Description = params['Description']
|
25099
|
+
@Solution = params['Solution']
|
25100
|
+
@City = params['City']
|
25101
|
+
@HostName = params['HostName']
|
25102
|
+
@HostID = params['HostID']
|
25103
|
+
@HostIP = params['HostIP']
|
25104
|
+
@PublicIP = params['PublicIP']
|
25105
|
+
@NodeType = params['NodeType']
|
25106
|
+
@NodeName = params['NodeName']
|
25107
|
+
@PodIP = params['PodIP']
|
25108
|
+
@PodName = params['PodName']
|
25109
|
+
@ClusterID = params['ClusterID']
|
25110
|
+
@NodeID = params['NodeID']
|
25111
|
+
@NodeUniqueID = params['NodeUniqueID']
|
25112
|
+
@ClusterName = params['ClusterName']
|
25113
|
+
end
|
25114
|
+
end
|
25115
|
+
|
24525
25116
|
# 运行时容器高危系统调用事件描述信息
|
24526
25117
|
class RiskSyscallEventDescription < TencentCloud::Common::AbstractModel
|
24527
25118
|
# @param Description: 描述信息
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tcss
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.636
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|