tencentcloud-sdk-tcss 3.0.633 → 3.0.635
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201101/client.rb +48 -0
- data/lib/v20201101/models.rb +517 -0
- 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: 037f829396ecc503f5b2e0859d455982cba123b0
|
4
|
+
data.tar.gz: 9e66e71badb6c34a3b311be5a806d94d974532d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25310d7454d16cd3ad3eaa9859197c6755271a96a733d9b8f965c46cac1e593f18afd7203ba2df5dc848498a7dcd09a043c3918fc5bdde4a90345516857dea53
|
7
|
+
data.tar.gz: d76f069050d835cce9ed0fc99626669d8c64a68d6e8123b2e8daa2ae4f4c487445a42d7f69c6c5955f9d193f0c69599b6114891865e464b2294fd0ac09e2ad61
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.635
|
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
@@ -15400,6 +15400,367 @@ module TencentCloud
|
|
15400
15400
|
end
|
15401
15401
|
end
|
15402
15402
|
|
15403
|
+
# DescribeRiskDnsEventDetail请求参数结构体
|
15404
|
+
class DescribeRiskDnsEventDetailRequest < TencentCloud::Common::AbstractModel
|
15405
|
+
# @param EventID: 事件ID
|
15406
|
+
# @type EventID: Integer
|
15407
|
+
|
15408
|
+
attr_accessor :EventID
|
15409
|
+
|
15410
|
+
def initialize(eventid=nil)
|
15411
|
+
@EventID = eventid
|
15412
|
+
end
|
15413
|
+
|
15414
|
+
def deserialize(params)
|
15415
|
+
@EventID = params['EventID']
|
15416
|
+
end
|
15417
|
+
end
|
15418
|
+
|
15419
|
+
# DescribeRiskDnsEventDetail返回参数结构体
|
15420
|
+
class DescribeRiskDnsEventDetailResponse < TencentCloud::Common::AbstractModel
|
15421
|
+
# @param EventID: 事件ID
|
15422
|
+
# @type EventID: Integer
|
15423
|
+
# @param EventType: 事件类型,恶意域名请求:DOMAIN,恶意IP请求:IP
|
15424
|
+
# @type EventType: String
|
15425
|
+
# @param EventCount: 恶意请求次数
|
15426
|
+
# @type EventCount: Integer
|
15427
|
+
# @param FoundTime: 首次发现时间
|
15428
|
+
# @type FoundTime: String
|
15429
|
+
# @param LatestFoundTime: 最近生成时间
|
15430
|
+
# @type LatestFoundTime: String
|
15431
|
+
# @param ContainerID: 容器ID
|
15432
|
+
# @type ContainerID: String
|
15433
|
+
# @param ContainerName: 容器名称
|
15434
|
+
# @type ContainerName: String
|
15435
|
+
# @param ContainerNetStatus: 隔离状态
|
15436
|
+
# 未隔离 NORMAL
|
15437
|
+
# 已隔离 ISOLATED
|
15438
|
+
# 隔离中 ISOLATING
|
15439
|
+
# 隔离失败 ISOLATE_FAILED
|
15440
|
+
# 解除隔离中 RESTORING
|
15441
|
+
# 解除隔离失败 RESTORE_FAILED
|
15442
|
+
# @type ContainerNetStatus: String
|
15443
|
+
# @param ContainerStatus: 容器状态
|
15444
|
+
# 正在运行: RUNNING
|
15445
|
+
# 暂停: PAUSED
|
15446
|
+
# 停止: STOPPED
|
15447
|
+
# 已经创建: CREATED
|
15448
|
+
# 已经销毁: DESTROYED
|
15449
|
+
# 正在重启中: RESTARTING
|
15450
|
+
# 迁移中: REMOVING
|
15451
|
+
# @type ContainerStatus: String
|
15452
|
+
# @param ContainerNetSubStatus: 容器子状态
|
15453
|
+
# "AGENT_OFFLINE" //Agent离线
|
15454
|
+
# "NODE_DESTROYED" //节点已销毁
|
15455
|
+
# "CONTAINER_EXITED" //容器已退出
|
15456
|
+
# "CONTAINER_DESTROYED" //容器已销毁
|
15457
|
+
# "SHARED_HOST" // 容器与主机共享网络
|
15458
|
+
# "RESOURCE_LIMIT" //隔离操作资源超限
|
15459
|
+
# "UNKNOW" // 原因未知
|
15460
|
+
# @type ContainerNetSubStatus: String
|
15461
|
+
# @param ContainerIsolateOperationSrc: 容器隔离操作来源
|
15462
|
+
# @type ContainerIsolateOperationSrc: String
|
15463
|
+
# @param ImageID: 镜像ID
|
15464
|
+
# @type ImageID: String
|
15465
|
+
# @param ImageName: 镜像名称
|
15466
|
+
# @type ImageName: String
|
15467
|
+
# @param HostName: 主机名称
|
15468
|
+
# @type HostName: String
|
15469
|
+
# @param HostIP: 内网IP
|
15470
|
+
# @type HostIP: String
|
15471
|
+
# @param PublicIP: 外网IP
|
15472
|
+
# @type PublicIP: String
|
15473
|
+
# @param PodName: 节点名称
|
15474
|
+
# @type PodName: String
|
15475
|
+
# @param Description: 事件描述
|
15476
|
+
# @type Description: String
|
15477
|
+
# @param Solution: 解决方案
|
15478
|
+
# @type Solution: String
|
15479
|
+
# @param Reference: 参考链接
|
15480
|
+
# @type Reference: Array
|
15481
|
+
# @param Address: 恶意域名或IP
|
15482
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15483
|
+
# @type Address: String
|
15484
|
+
# @param City: 恶意IP所属城市
|
15485
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15486
|
+
# @type City: String
|
15487
|
+
# @param MatchRuleType: 命中规则类型
|
15488
|
+
# SYSTEM:系统规则
|
15489
|
+
# USER:用户自定义
|
15490
|
+
# @type MatchRuleType: String
|
15491
|
+
# @param FeatureLabel: 标签特征
|
15492
|
+
# @type FeatureLabel: String
|
15493
|
+
# @param ProcessAuthority: 进程权限
|
15494
|
+
# @type ProcessAuthority: String
|
15495
|
+
# @param ProcessMd5: 进程md5
|
15496
|
+
# @type ProcessMd5: String
|
15497
|
+
# @param ProcessStartUser: 进程启动用户
|
15498
|
+
# @type ProcessStartUser: String
|
15499
|
+
# @param ProcessUserGroup: 进程用户组
|
15500
|
+
# @type ProcessUserGroup: String
|
15501
|
+
# @param ProcessPath: 进程路径
|
15502
|
+
# @type ProcessPath: String
|
15503
|
+
# @param ProcessTree: 进程树
|
15504
|
+
# @type ProcessTree: String
|
15505
|
+
# @param ProcessParam: 进程命令行参数
|
15506
|
+
# @type ProcessParam: String
|
15507
|
+
# @param ParentProcessStartUser: 父进程启动用户
|
15508
|
+
# @type ParentProcessStartUser: String
|
15509
|
+
# @param ParentProcessUserGroup: 父进程用户组
|
15510
|
+
# @type ParentProcessUserGroup: String
|
15511
|
+
# @param ParentProcessPath: 父进程路径
|
15512
|
+
# @type ParentProcessPath: String
|
15513
|
+
# @param ParentProcessParam: 父进程命令行参数
|
15514
|
+
# @type ParentProcessParam: String
|
15515
|
+
# @param AncestorProcessStartUser: 祖先进程启动用户
|
15516
|
+
# @type AncestorProcessStartUser: String
|
15517
|
+
# @param AncestorProcessUserGroup: 祖先进程用户组
|
15518
|
+
# @type AncestorProcessUserGroup: String
|
15519
|
+
# @param AncestorProcessPath: 祖先进程路径
|
15520
|
+
# @type AncestorProcessPath: String
|
15521
|
+
# @param AncestorProcessParam: 祖先进程命令行参数
|
15522
|
+
# @type AncestorProcessParam: String
|
15523
|
+
# @param HostID: 主机ID
|
15524
|
+
# @type HostID: String
|
15525
|
+
# @param EventStatus: 事件状态
|
15526
|
+
# EVENT_UNDEAL: 待处理
|
15527
|
+
# EVENT_DEALED:已处理
|
15528
|
+
# EVENT_IGNORE: 已忽略
|
15529
|
+
# EVENT_ADD_WHITE:已加白
|
15530
|
+
# @type EventStatus: String
|
15531
|
+
# @param OperationTime: 操作时间
|
15532
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15533
|
+
# @type OperationTime: String
|
15534
|
+
# @param Remark: 备注
|
15535
|
+
# @type Remark: String
|
15536
|
+
# @param NodeType: 节点类型
|
15537
|
+
# @type NodeType: String
|
15538
|
+
# @param NodeName: 节点名称
|
15539
|
+
# @type NodeName: String
|
15540
|
+
# @param NodeSubNetID: 节点子网ID
|
15541
|
+
# @type NodeSubNetID: String
|
15542
|
+
# @param NodeSubNetName: 节点子网名称
|
15543
|
+
# @type NodeSubNetName: String
|
15544
|
+
# @param NodeSubNetCIDR: 节点子网网段
|
15545
|
+
# @type NodeSubNetCIDR: String
|
15546
|
+
# @param ClusterID: 集群ID
|
15547
|
+
# @type ClusterID: String
|
15548
|
+
# @param PodIP: podip
|
15549
|
+
# @type PodIP: String
|
15550
|
+
# @param PodStatus: pod状态
|
15551
|
+
# @type PodStatus: String
|
15552
|
+
# @param NodeUniqueID: 节点唯一id
|
15553
|
+
# @type NodeUniqueID: String
|
15554
|
+
# @param NodeID: 节点ID名称
|
15555
|
+
# @type NodeID: String
|
15556
|
+
# @param ClusterName: 集群名称
|
15557
|
+
# @type ClusterName: String
|
15558
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
15559
|
+
# @type RequestId: String
|
15560
|
+
|
15561
|
+
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
|
15562
|
+
|
15563
|
+
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)
|
15564
|
+
@EventID = eventid
|
15565
|
+
@EventType = eventtype
|
15566
|
+
@EventCount = eventcount
|
15567
|
+
@FoundTime = foundtime
|
15568
|
+
@LatestFoundTime = latestfoundtime
|
15569
|
+
@ContainerID = containerid
|
15570
|
+
@ContainerName = containername
|
15571
|
+
@ContainerNetStatus = containernetstatus
|
15572
|
+
@ContainerStatus = containerstatus
|
15573
|
+
@ContainerNetSubStatus = containernetsubstatus
|
15574
|
+
@ContainerIsolateOperationSrc = containerisolateoperationsrc
|
15575
|
+
@ImageID = imageid
|
15576
|
+
@ImageName = imagename
|
15577
|
+
@HostName = hostname
|
15578
|
+
@HostIP = hostip
|
15579
|
+
@PublicIP = publicip
|
15580
|
+
@PodName = podname
|
15581
|
+
@Description = description
|
15582
|
+
@Solution = solution
|
15583
|
+
@Reference = reference
|
15584
|
+
@Address = address
|
15585
|
+
@City = city
|
15586
|
+
@MatchRuleType = matchruletype
|
15587
|
+
@FeatureLabel = featurelabel
|
15588
|
+
@ProcessAuthority = processauthority
|
15589
|
+
@ProcessMd5 = processmd5
|
15590
|
+
@ProcessStartUser = processstartuser
|
15591
|
+
@ProcessUserGroup = processusergroup
|
15592
|
+
@ProcessPath = processpath
|
15593
|
+
@ProcessTree = processtree
|
15594
|
+
@ProcessParam = processparam
|
15595
|
+
@ParentProcessStartUser = parentprocessstartuser
|
15596
|
+
@ParentProcessUserGroup = parentprocessusergroup
|
15597
|
+
@ParentProcessPath = parentprocesspath
|
15598
|
+
@ParentProcessParam = parentprocessparam
|
15599
|
+
@AncestorProcessStartUser = ancestorprocessstartuser
|
15600
|
+
@AncestorProcessUserGroup = ancestorprocessusergroup
|
15601
|
+
@AncestorProcessPath = ancestorprocesspath
|
15602
|
+
@AncestorProcessParam = ancestorprocessparam
|
15603
|
+
@HostID = hostid
|
15604
|
+
@EventStatus = eventstatus
|
15605
|
+
@OperationTime = operationtime
|
15606
|
+
@Remark = remark
|
15607
|
+
@NodeType = nodetype
|
15608
|
+
@NodeName = nodename
|
15609
|
+
@NodeSubNetID = nodesubnetid
|
15610
|
+
@NodeSubNetName = nodesubnetname
|
15611
|
+
@NodeSubNetCIDR = nodesubnetcidr
|
15612
|
+
@ClusterID = clusterid
|
15613
|
+
@PodIP = podip
|
15614
|
+
@PodStatus = podstatus
|
15615
|
+
@NodeUniqueID = nodeuniqueid
|
15616
|
+
@NodeID = nodeid
|
15617
|
+
@ClusterName = clustername
|
15618
|
+
@RequestId = requestid
|
15619
|
+
end
|
15620
|
+
|
15621
|
+
def deserialize(params)
|
15622
|
+
@EventID = params['EventID']
|
15623
|
+
@EventType = params['EventType']
|
15624
|
+
@EventCount = params['EventCount']
|
15625
|
+
@FoundTime = params['FoundTime']
|
15626
|
+
@LatestFoundTime = params['LatestFoundTime']
|
15627
|
+
@ContainerID = params['ContainerID']
|
15628
|
+
@ContainerName = params['ContainerName']
|
15629
|
+
@ContainerNetStatus = params['ContainerNetStatus']
|
15630
|
+
@ContainerStatus = params['ContainerStatus']
|
15631
|
+
@ContainerNetSubStatus = params['ContainerNetSubStatus']
|
15632
|
+
@ContainerIsolateOperationSrc = params['ContainerIsolateOperationSrc']
|
15633
|
+
@ImageID = params['ImageID']
|
15634
|
+
@ImageName = params['ImageName']
|
15635
|
+
@HostName = params['HostName']
|
15636
|
+
@HostIP = params['HostIP']
|
15637
|
+
@PublicIP = params['PublicIP']
|
15638
|
+
@PodName = params['PodName']
|
15639
|
+
@Description = params['Description']
|
15640
|
+
@Solution = params['Solution']
|
15641
|
+
@Reference = params['Reference']
|
15642
|
+
@Address = params['Address']
|
15643
|
+
@City = params['City']
|
15644
|
+
@MatchRuleType = params['MatchRuleType']
|
15645
|
+
@FeatureLabel = params['FeatureLabel']
|
15646
|
+
@ProcessAuthority = params['ProcessAuthority']
|
15647
|
+
@ProcessMd5 = params['ProcessMd5']
|
15648
|
+
@ProcessStartUser = params['ProcessStartUser']
|
15649
|
+
@ProcessUserGroup = params['ProcessUserGroup']
|
15650
|
+
@ProcessPath = params['ProcessPath']
|
15651
|
+
@ProcessTree = params['ProcessTree']
|
15652
|
+
@ProcessParam = params['ProcessParam']
|
15653
|
+
@ParentProcessStartUser = params['ParentProcessStartUser']
|
15654
|
+
@ParentProcessUserGroup = params['ParentProcessUserGroup']
|
15655
|
+
@ParentProcessPath = params['ParentProcessPath']
|
15656
|
+
@ParentProcessParam = params['ParentProcessParam']
|
15657
|
+
@AncestorProcessStartUser = params['AncestorProcessStartUser']
|
15658
|
+
@AncestorProcessUserGroup = params['AncestorProcessUserGroup']
|
15659
|
+
@AncestorProcessPath = params['AncestorProcessPath']
|
15660
|
+
@AncestorProcessParam = params['AncestorProcessParam']
|
15661
|
+
@HostID = params['HostID']
|
15662
|
+
@EventStatus = params['EventStatus']
|
15663
|
+
@OperationTime = params['OperationTime']
|
15664
|
+
@Remark = params['Remark']
|
15665
|
+
@NodeType = params['NodeType']
|
15666
|
+
@NodeName = params['NodeName']
|
15667
|
+
@NodeSubNetID = params['NodeSubNetID']
|
15668
|
+
@NodeSubNetName = params['NodeSubNetName']
|
15669
|
+
@NodeSubNetCIDR = params['NodeSubNetCIDR']
|
15670
|
+
@ClusterID = params['ClusterID']
|
15671
|
+
@PodIP = params['PodIP']
|
15672
|
+
@PodStatus = params['PodStatus']
|
15673
|
+
@NodeUniqueID = params['NodeUniqueID']
|
15674
|
+
@NodeID = params['NodeID']
|
15675
|
+
@ClusterName = params['ClusterName']
|
15676
|
+
@RequestId = params['RequestId']
|
15677
|
+
end
|
15678
|
+
end
|
15679
|
+
|
15680
|
+
# DescribeRiskDnsList请求参数结构体
|
15681
|
+
class DescribeRiskDnsListRequest < TencentCloud::Common::AbstractModel
|
15682
|
+
# @param Limit: 需要返回的数量,默认为10,最大值为100
|
15683
|
+
# @type Limit: Integer
|
15684
|
+
# @param Offset: 偏移量,默认为0。
|
15685
|
+
# @type Offset: Integer
|
15686
|
+
# @param Filters: 过滤条件。
|
15687
|
+
# <li>EventStatus- String - 是否必填:否 - 事件状态,待处理:EVENT_UNDEAL,EVENT_DEALED:已处理,已忽略:EVENT_IGNORE, EVENT_ADD_WHITE:已加白</li>
|
15688
|
+
# <li>ContainerStatus- String - 是否必填:否 - 容器运行状态筛选,已创建:CREATED,正常运行:RUNNING, 暂定运行:PAUSED, 停止运行: STOPPED,重启中:RESTARTING, 迁移中:REMOVING, 销毁:DESTROYED </li>
|
15689
|
+
# <li>ContainerNetStatus- String -是否必填: 否 - 容器网络状态筛选 未隔离:NORMAL,已隔离:ISOLATED,隔离失败:ISOLATE_FAILED,解除隔离失败:RESTORE_FAILED,解除隔离中:RESTORING,隔离中:ISOLATING</li>
|
15690
|
+
# <li>EventType - String -是否必填: 否 - 事件类型,恶意域名请求:DOMAIN,恶意IP请求:IP</li>
|
15691
|
+
# <li>TimeRange- String -是否必填: 否 - 时间范围,第一个值表示开始时间,第二个值表示结束时间 </li>
|
15692
|
+
# <li>RiskDns- string - 是否必填:否 - 恶意域名。</li>
|
15693
|
+
# <li>RiskIP- string - 是否必填:否 - 恶意IP。</li>
|
15694
|
+
# <li>ContainerName- string - 是否必填:否 - 容器名称。</li>
|
15695
|
+
# <li>ContainerID- string - 是否必填:否 - 容器ID。</li>
|
15696
|
+
# <li>ImageName- string - 是否必填:否 - 镜像名称。</li>
|
15697
|
+
# <li>ImageID- string - 是否必填:否 - 镜像ID。</li>
|
15698
|
+
# <li>HostName- string - 是否必填:否 - 主机名称。</li>
|
15699
|
+
# <li>HostIP- string - 是否必填:否 - 内网IP。</li>
|
15700
|
+
# <li>PublicIP- string - 是否必填:否 - 外网IP。</li>
|
15701
|
+
# @type Filters: Array
|
15702
|
+
# @param Order: 排序方式:asc/desc
|
15703
|
+
# @type Order: String
|
15704
|
+
# @param By: 排序字段:告警数量:EventCount,最近生成时间:LatestFoundTime
|
15705
|
+
# @type By: String
|
15706
|
+
|
15707
|
+
attr_accessor :Limit, :Offset, :Filters, :Order, :By
|
15708
|
+
|
15709
|
+
def initialize(limit=nil, offset=nil, filters=nil, order=nil, by=nil)
|
15710
|
+
@Limit = limit
|
15711
|
+
@Offset = offset
|
15712
|
+
@Filters = filters
|
15713
|
+
@Order = order
|
15714
|
+
@By = by
|
15715
|
+
end
|
15716
|
+
|
15717
|
+
def deserialize(params)
|
15718
|
+
@Limit = params['Limit']
|
15719
|
+
@Offset = params['Offset']
|
15720
|
+
unless params['Filters'].nil?
|
15721
|
+
@Filters = []
|
15722
|
+
params['Filters'].each do |i|
|
15723
|
+
runtimefilters_tmp = RunTimeFilters.new
|
15724
|
+
runtimefilters_tmp.deserialize(i)
|
15725
|
+
@Filters << runtimefilters_tmp
|
15726
|
+
end
|
15727
|
+
end
|
15728
|
+
@Order = params['Order']
|
15729
|
+
@By = params['By']
|
15730
|
+
end
|
15731
|
+
end
|
15732
|
+
|
15733
|
+
# DescribeRiskDnsList返回参数结构体
|
15734
|
+
class DescribeRiskDnsListResponse < TencentCloud::Common::AbstractModel
|
15735
|
+
# @param List: 恶意请求事件列表
|
15736
|
+
# @type List: Array
|
15737
|
+
# @param TotalCount: 总数量
|
15738
|
+
# @type TotalCount: Integer
|
15739
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
15740
|
+
# @type RequestId: String
|
15741
|
+
|
15742
|
+
attr_accessor :List, :TotalCount, :RequestId
|
15743
|
+
|
15744
|
+
def initialize(list=nil, totalcount=nil, requestid=nil)
|
15745
|
+
@List = list
|
15746
|
+
@TotalCount = totalcount
|
15747
|
+
@RequestId = requestid
|
15748
|
+
end
|
15749
|
+
|
15750
|
+
def deserialize(params)
|
15751
|
+
unless params['List'].nil?
|
15752
|
+
@List = []
|
15753
|
+
params['List'].each do |i|
|
15754
|
+
riskdnseventinfo_tmp = RiskDnsEventInfo.new
|
15755
|
+
riskdnseventinfo_tmp.deserialize(i)
|
15756
|
+
@List << riskdnseventinfo_tmp
|
15757
|
+
end
|
15758
|
+
end
|
15759
|
+
@TotalCount = params['TotalCount']
|
15760
|
+
@RequestId = params['RequestId']
|
15761
|
+
end
|
15762
|
+
end
|
15763
|
+
|
15403
15764
|
# DescribeRiskList请求参数结构体
|
15404
15765
|
class DescribeRiskListRequest < TencentCloud::Common::AbstractModel
|
15405
15766
|
# @param ClusterId: 要查询的集群ID,如果不指定,则查询用户所有的风险项
|
@@ -24522,6 +24883,162 @@ module TencentCloud
|
|
24522
24883
|
end
|
24523
24884
|
end
|
24524
24885
|
|
24886
|
+
# 恶意请求事件信息
|
24887
|
+
class RiskDnsEventInfo < TencentCloud::Common::AbstractModel
|
24888
|
+
# @param EventID: 事件ID
|
24889
|
+
# @type EventID: Integer
|
24890
|
+
# @param EventType: 事件类型,恶意域名请求:DOMAIN,恶意IP请求:IP
|
24891
|
+
# @type EventType: String
|
24892
|
+
# @param Address: 恶意请求域名/IP
|
24893
|
+
# @type Address: String
|
24894
|
+
# @param ContainerID: 容器ID
|
24895
|
+
# @type ContainerID: String
|
24896
|
+
# @param ContainerName: 容器名称
|
24897
|
+
# @type ContainerName: String
|
24898
|
+
# @param ContainerNetStatus: 隔离状态
|
24899
|
+
# 未隔离 NORMAL
|
24900
|
+
# 已隔离 ISOLATED
|
24901
|
+
# 隔离中 ISOLATING
|
24902
|
+
# 隔离失败 ISOLATE_FAILED
|
24903
|
+
# 解除隔离中 RESTORING
|
24904
|
+
# 解除隔离失败 RESTORE_FAILED
|
24905
|
+
# @type ContainerNetStatus: String
|
24906
|
+
# @param ContainerStatus: 容器状态
|
24907
|
+
# 正在运行: RUNNING
|
24908
|
+
# 暂停: PAUSED
|
24909
|
+
# 停止: STOPPED
|
24910
|
+
# 已经创建: CREATED
|
24911
|
+
# 已经销毁: DESTROYED
|
24912
|
+
# 正在重启中: RESTARTING
|
24913
|
+
# 迁移中: REMOVING
|
24914
|
+
# @type ContainerStatus: String
|
24915
|
+
# @param ContainerNetSubStatus: 容器子状态
|
24916
|
+
# "AGENT_OFFLINE" //Agent离线
|
24917
|
+
# "NODE_DESTROYED" //节点已销毁
|
24918
|
+
# "CONTAINER_EXITED" //容器已退出
|
24919
|
+
# "CONTAINER_DESTROYED" //容器已销毁
|
24920
|
+
# "SHARED_HOST" // 容器与主机共享网络
|
24921
|
+
# "RESOURCE_LIMIT" //隔离操作资源超限
|
24922
|
+
# "UNKNOW" // 原因未知
|
24923
|
+
# @type ContainerNetSubStatus: String
|
24924
|
+
# @param ContainerIsolateOperationSrc: 容器隔离操作来源
|
24925
|
+
# @type ContainerIsolateOperationSrc: String
|
24926
|
+
# @param ImageID: 镜像ID
|
24927
|
+
# @type ImageID: String
|
24928
|
+
# @param ImageName: 镜像名称
|
24929
|
+
# @type ImageName: String
|
24930
|
+
# @param FoundTime: 首次发现时间
|
24931
|
+
# @type FoundTime: String
|
24932
|
+
# @param LatestFoundTime: 最近生成时间
|
24933
|
+
# @type LatestFoundTime: String
|
24934
|
+
# @param EventStatus: 事件状态
|
24935
|
+
# EVENT_UNDEAL: 待处理
|
24936
|
+
# EVENT_DEALED:已处理
|
24937
|
+
# EVENT_IGNORE: 已忽略
|
24938
|
+
# EVENT_ADD_WHITE:已加白
|
24939
|
+
# @type EventStatus: String
|
24940
|
+
# @param EventCount: 恶意请求次数
|
24941
|
+
# @type EventCount: Integer
|
24942
|
+
# @param Description: 事件描述
|
24943
|
+
# @type Description: String
|
24944
|
+
# @param Solution: 解决方案
|
24945
|
+
# @type Solution: String
|
24946
|
+
# @param City: 恶意IP所属城市
|
24947
|
+
# @type City: String
|
24948
|
+
# @param HostName: 主机名称
|
24949
|
+
# @type HostName: String
|
24950
|
+
# @param HostID: 主机ID
|
24951
|
+
# @type HostID: String
|
24952
|
+
# @param HostIP: 内网IP
|
24953
|
+
# @type HostIP: String
|
24954
|
+
# @param PublicIP: 外网IP
|
24955
|
+
# @type PublicIP: String
|
24956
|
+
# @param NodeType: 节点类型:NORMAL普通节点、SUPER超级节点
|
24957
|
+
# @type NodeType: String
|
24958
|
+
# @param NodeName: 节点名称
|
24959
|
+
# @type NodeName: String
|
24960
|
+
# @param PodIP: pod ip
|
24961
|
+
# @type PodIP: String
|
24962
|
+
# @param PodName: pod 名称
|
24963
|
+
# @type PodName: String
|
24964
|
+
# @param ClusterID: 集群ID
|
24965
|
+
# @type ClusterID: String
|
24966
|
+
# @param NodeID: 节点id
|
24967
|
+
# @type NodeID: String
|
24968
|
+
# @param NodeUniqueID: 节点唯一id
|
24969
|
+
# @type NodeUniqueID: String
|
24970
|
+
# @param ClusterName: 集群名称
|
24971
|
+
# @type ClusterName: String
|
24972
|
+
|
24973
|
+
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
|
24974
|
+
|
24975
|
+
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)
|
24976
|
+
@EventID = eventid
|
24977
|
+
@EventType = eventtype
|
24978
|
+
@Address = address
|
24979
|
+
@ContainerID = containerid
|
24980
|
+
@ContainerName = containername
|
24981
|
+
@ContainerNetStatus = containernetstatus
|
24982
|
+
@ContainerStatus = containerstatus
|
24983
|
+
@ContainerNetSubStatus = containernetsubstatus
|
24984
|
+
@ContainerIsolateOperationSrc = containerisolateoperationsrc
|
24985
|
+
@ImageID = imageid
|
24986
|
+
@ImageName = imagename
|
24987
|
+
@FoundTime = foundtime
|
24988
|
+
@LatestFoundTime = latestfoundtime
|
24989
|
+
@EventStatus = eventstatus
|
24990
|
+
@EventCount = eventcount
|
24991
|
+
@Description = description
|
24992
|
+
@Solution = solution
|
24993
|
+
@City = city
|
24994
|
+
@HostName = hostname
|
24995
|
+
@HostID = hostid
|
24996
|
+
@HostIP = hostip
|
24997
|
+
@PublicIP = publicip
|
24998
|
+
@NodeType = nodetype
|
24999
|
+
@NodeName = nodename
|
25000
|
+
@PodIP = podip
|
25001
|
+
@PodName = podname
|
25002
|
+
@ClusterID = clusterid
|
25003
|
+
@NodeID = nodeid
|
25004
|
+
@NodeUniqueID = nodeuniqueid
|
25005
|
+
@ClusterName = clustername
|
25006
|
+
end
|
25007
|
+
|
25008
|
+
def deserialize(params)
|
25009
|
+
@EventID = params['EventID']
|
25010
|
+
@EventType = params['EventType']
|
25011
|
+
@Address = params['Address']
|
25012
|
+
@ContainerID = params['ContainerID']
|
25013
|
+
@ContainerName = params['ContainerName']
|
25014
|
+
@ContainerNetStatus = params['ContainerNetStatus']
|
25015
|
+
@ContainerStatus = params['ContainerStatus']
|
25016
|
+
@ContainerNetSubStatus = params['ContainerNetSubStatus']
|
25017
|
+
@ContainerIsolateOperationSrc = params['ContainerIsolateOperationSrc']
|
25018
|
+
@ImageID = params['ImageID']
|
25019
|
+
@ImageName = params['ImageName']
|
25020
|
+
@FoundTime = params['FoundTime']
|
25021
|
+
@LatestFoundTime = params['LatestFoundTime']
|
25022
|
+
@EventStatus = params['EventStatus']
|
25023
|
+
@EventCount = params['EventCount']
|
25024
|
+
@Description = params['Description']
|
25025
|
+
@Solution = params['Solution']
|
25026
|
+
@City = params['City']
|
25027
|
+
@HostName = params['HostName']
|
25028
|
+
@HostID = params['HostID']
|
25029
|
+
@HostIP = params['HostIP']
|
25030
|
+
@PublicIP = params['PublicIP']
|
25031
|
+
@NodeType = params['NodeType']
|
25032
|
+
@NodeName = params['NodeName']
|
25033
|
+
@PodIP = params['PodIP']
|
25034
|
+
@PodName = params['PodName']
|
25035
|
+
@ClusterID = params['ClusterID']
|
25036
|
+
@NodeID = params['NodeID']
|
25037
|
+
@NodeUniqueID = params['NodeUniqueID']
|
25038
|
+
@ClusterName = params['ClusterName']
|
25039
|
+
end
|
25040
|
+
end
|
25041
|
+
|
24525
25042
|
# 运行时容器高危系统调用事件描述信息
|
24526
25043
|
class RiskSyscallEventDescription < TencentCloud::Common::AbstractModel
|
24527
25044
|
# @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.635
|
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-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|