
com.tencentcloudapi.tcss.v20201101.models.EscapeEventInfo Maven / Gradle / Ivy
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.tencentcloudapi.tcss.v20201101.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class EscapeEventInfo extends AbstractModel{
/**
* 事件类型
ESCAPE_HOST_ACESS_FILE:宿主机文件访问逃逸
ESCAPE_MOUNT_NAMESPACE:MountNamespace逃逸
ESCAPE_PRIVILEDGE:程序提权逃逸
ESCAPE_PRIVILEDGE_CONTAINER_START:特权容器启动逃逸
ESCAPE_MOUNT_SENSITIVE_PTAH:敏感路径挂载
ESCAPE_SYSCALL:Syscall逃逸
*/
@SerializedName("EventType")
@Expose
private String EventType;
/**
* 容器名
*/
@SerializedName("ContainerName")
@Expose
private String ContainerName;
/**
* 镜像名
*/
@SerializedName("ImageName")
@Expose
private String ImageName;
/**
* 状态,EVENT_UNDEAL:未处理,EVENT_DEALED:已处理,EVENT_INGNORE:忽略
*/
@SerializedName("Status")
@Expose
private String Status;
/**
* 事件记录的唯一id
*/
@SerializedName("EventId")
@Expose
private String EventId;
/**
* 节点名称
*/
@SerializedName("NodeName")
@Expose
private String NodeName;
/**
* pod(实例)的名字
*/
@SerializedName("PodName")
@Expose
private String PodName;
/**
* 生成时间
*/
@SerializedName("FoundTime")
@Expose
private String FoundTime;
/**
* 事件名字,
宿主机文件访问逃逸、
Syscall逃逸、
MountNamespace逃逸、
程序提权逃逸、
特权容器启动逃逸、
敏感路径挂载
*/
@SerializedName("EventName")
@Expose
private String EventName;
/**
* 镜像id,用于跳转
*/
@SerializedName("ImageId")
@Expose
private String ImageId;
/**
* 容器id,用于跳转
*/
@SerializedName("ContainerId")
@Expose
private String ContainerId;
/**
* 事件解决方案
*/
@SerializedName("Solution")
@Expose
private String Solution;
/**
* 事件描述
*/
@SerializedName("Description")
@Expose
private String Description;
/**
* 事件数量
*/
@SerializedName("EventCount")
@Expose
private Long EventCount;
/**
* 最近生成时间
*/
@SerializedName("LatestFoundTime")
@Expose
private String LatestFoundTime;
/**
* 节点IP
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("NodeIP")
@Expose
private String NodeIP;
/**
* 主机IP
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("HostID")
@Expose
private String HostID;
/**
* 网络状态
未隔离 NORMAL
已隔离 ISOLATED
隔离中 ISOLATING
隔离失败 ISOLATE_FAILED
解除隔离中 RESTORING
解除隔离失败 RESTORE_FAILED
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("ContainerNetStatus")
@Expose
private String ContainerNetStatus;
/**
* 容器子状态
"AGENT_OFFLINE" //Agent离线
"NODE_DESTROYED" //节点已销毁
"CONTAINER_EXITED" //容器已退出
"CONTAINER_DESTROYED" //容器已销毁
"SHARED_HOST" // 容器与主机共享网络
"RESOURCE_LIMIT" //隔离操作资源超限
"UNKNOW" // 原因未知
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("ContainerNetSubStatus")
@Expose
private String ContainerNetSubStatus;
/**
* 容器隔离操作来源
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("ContainerIsolateOperationSrc")
@Expose
private String ContainerIsolateOperationSrc;
/**
* 容器状态
正在运行: RUNNING
暂停: PAUSED
停止: STOPPED
已经创建: CREATED
已经销毁: DESTROYED
正在重启中: RESTARTING
迁移中: REMOVING
*/
@SerializedName("ContainerStatus")
@Expose
private String ContainerStatus;
/**
* Get 事件类型
ESCAPE_HOST_ACESS_FILE:宿主机文件访问逃逸
ESCAPE_MOUNT_NAMESPACE:MountNamespace逃逸
ESCAPE_PRIVILEDGE:程序提权逃逸
ESCAPE_PRIVILEDGE_CONTAINER_START:特权容器启动逃逸
ESCAPE_MOUNT_SENSITIVE_PTAH:敏感路径挂载
ESCAPE_SYSCALL:Syscall逃逸
* @return EventType 事件类型
ESCAPE_HOST_ACESS_FILE:宿主机文件访问逃逸
ESCAPE_MOUNT_NAMESPACE:MountNamespace逃逸
ESCAPE_PRIVILEDGE:程序提权逃逸
ESCAPE_PRIVILEDGE_CONTAINER_START:特权容器启动逃逸
ESCAPE_MOUNT_SENSITIVE_PTAH:敏感路径挂载
ESCAPE_SYSCALL:Syscall逃逸
*/
public String getEventType() {
return this.EventType;
}
/**
* Set 事件类型
ESCAPE_HOST_ACESS_FILE:宿主机文件访问逃逸
ESCAPE_MOUNT_NAMESPACE:MountNamespace逃逸
ESCAPE_PRIVILEDGE:程序提权逃逸
ESCAPE_PRIVILEDGE_CONTAINER_START:特权容器启动逃逸
ESCAPE_MOUNT_SENSITIVE_PTAH:敏感路径挂载
ESCAPE_SYSCALL:Syscall逃逸
* @param EventType 事件类型
ESCAPE_HOST_ACESS_FILE:宿主机文件访问逃逸
ESCAPE_MOUNT_NAMESPACE:MountNamespace逃逸
ESCAPE_PRIVILEDGE:程序提权逃逸
ESCAPE_PRIVILEDGE_CONTAINER_START:特权容器启动逃逸
ESCAPE_MOUNT_SENSITIVE_PTAH:敏感路径挂载
ESCAPE_SYSCALL:Syscall逃逸
*/
public void setEventType(String EventType) {
this.EventType = EventType;
}
/**
* Get 容器名
* @return ContainerName 容器名
*/
public String getContainerName() {
return this.ContainerName;
}
/**
* Set 容器名
* @param ContainerName 容器名
*/
public void setContainerName(String ContainerName) {
this.ContainerName = ContainerName;
}
/**
* Get 镜像名
* @return ImageName 镜像名
*/
public String getImageName() {
return this.ImageName;
}
/**
* Set 镜像名
* @param ImageName 镜像名
*/
public void setImageName(String ImageName) {
this.ImageName = ImageName;
}
/**
* Get 状态,EVENT_UNDEAL:未处理,EVENT_DEALED:已处理,EVENT_INGNORE:忽略
* @return Status 状态,EVENT_UNDEAL:未处理,EVENT_DEALED:已处理,EVENT_INGNORE:忽略
*/
public String getStatus() {
return this.Status;
}
/**
* Set 状态,EVENT_UNDEAL:未处理,EVENT_DEALED:已处理,EVENT_INGNORE:忽略
* @param Status 状态,EVENT_UNDEAL:未处理,EVENT_DEALED:已处理,EVENT_INGNORE:忽略
*/
public void setStatus(String Status) {
this.Status = Status;
}
/**
* Get 事件记录的唯一id
* @return EventId 事件记录的唯一id
*/
public String getEventId() {
return this.EventId;
}
/**
* Set 事件记录的唯一id
* @param EventId 事件记录的唯一id
*/
public void setEventId(String EventId) {
this.EventId = EventId;
}
/**
* Get 节点名称
* @return NodeName 节点名称
*/
public String getNodeName() {
return this.NodeName;
}
/**
* Set 节点名称
* @param NodeName 节点名称
*/
public void setNodeName(String NodeName) {
this.NodeName = NodeName;
}
/**
* Get pod(实例)的名字
* @return PodName pod(实例)的名字
*/
public String getPodName() {
return this.PodName;
}
/**
* Set pod(实例)的名字
* @param PodName pod(实例)的名字
*/
public void setPodName(String PodName) {
this.PodName = PodName;
}
/**
* Get 生成时间
* @return FoundTime 生成时间
*/
public String getFoundTime() {
return this.FoundTime;
}
/**
* Set 生成时间
* @param FoundTime 生成时间
*/
public void setFoundTime(String FoundTime) {
this.FoundTime = FoundTime;
}
/**
* Get 事件名字,
宿主机文件访问逃逸、
Syscall逃逸、
MountNamespace逃逸、
程序提权逃逸、
特权容器启动逃逸、
敏感路径挂载
* @return EventName 事件名字,
宿主机文件访问逃逸、
Syscall逃逸、
MountNamespace逃逸、
程序提权逃逸、
特权容器启动逃逸、
敏感路径挂载
*/
public String getEventName() {
return this.EventName;
}
/**
* Set 事件名字,
宿主机文件访问逃逸、
Syscall逃逸、
MountNamespace逃逸、
程序提权逃逸、
特权容器启动逃逸、
敏感路径挂载
* @param EventName 事件名字,
宿主机文件访问逃逸、
Syscall逃逸、
MountNamespace逃逸、
程序提权逃逸、
特权容器启动逃逸、
敏感路径挂载
*/
public void setEventName(String EventName) {
this.EventName = EventName;
}
/**
* Get 镜像id,用于跳转
* @return ImageId 镜像id,用于跳转
*/
public String getImageId() {
return this.ImageId;
}
/**
* Set 镜像id,用于跳转
* @param ImageId 镜像id,用于跳转
*/
public void setImageId(String ImageId) {
this.ImageId = ImageId;
}
/**
* Get 容器id,用于跳转
* @return ContainerId 容器id,用于跳转
*/
public String getContainerId() {
return this.ContainerId;
}
/**
* Set 容器id,用于跳转
* @param ContainerId 容器id,用于跳转
*/
public void setContainerId(String ContainerId) {
this.ContainerId = ContainerId;
}
/**
* Get 事件解决方案
* @return Solution 事件解决方案
*/
public String getSolution() {
return this.Solution;
}
/**
* Set 事件解决方案
* @param Solution 事件解决方案
*/
public void setSolution(String Solution) {
this.Solution = Solution;
}
/**
* Get 事件描述
* @return Description 事件描述
*/
public String getDescription() {
return this.Description;
}
/**
* Set 事件描述
* @param Description 事件描述
*/
public void setDescription(String Description) {
this.Description = Description;
}
/**
* Get 事件数量
* @return EventCount 事件数量
*/
public Long getEventCount() {
return this.EventCount;
}
/**
* Set 事件数量
* @param EventCount 事件数量
*/
public void setEventCount(Long EventCount) {
this.EventCount = EventCount;
}
/**
* Get 最近生成时间
* @return LatestFoundTime 最近生成时间
*/
public String getLatestFoundTime() {
return this.LatestFoundTime;
}
/**
* Set 最近生成时间
* @param LatestFoundTime 最近生成时间
*/
public void setLatestFoundTime(String LatestFoundTime) {
this.LatestFoundTime = LatestFoundTime;
}
/**
* Get 节点IP
注意:此字段可能返回 null,表示取不到有效值。
* @return NodeIP 节点IP
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getNodeIP() {
return this.NodeIP;
}
/**
* Set 节点IP
注意:此字段可能返回 null,表示取不到有效值。
* @param NodeIP 节点IP
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setNodeIP(String NodeIP) {
this.NodeIP = NodeIP;
}
/**
* Get 主机IP
注意:此字段可能返回 null,表示取不到有效值。
* @return HostID 主机IP
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getHostID() {
return this.HostID;
}
/**
* Set 主机IP
注意:此字段可能返回 null,表示取不到有效值。
* @param HostID 主机IP
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setHostID(String HostID) {
this.HostID = HostID;
}
/**
* Get 网络状态
未隔离 NORMAL
已隔离 ISOLATED
隔离中 ISOLATING
隔离失败 ISOLATE_FAILED
解除隔离中 RESTORING
解除隔离失败 RESTORE_FAILED
注意:此字段可能返回 null,表示取不到有效值。
* @return ContainerNetStatus 网络状态
未隔离 NORMAL
已隔离 ISOLATED
隔离中 ISOLATING
隔离失败 ISOLATE_FAILED
解除隔离中 RESTORING
解除隔离失败 RESTORE_FAILED
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getContainerNetStatus() {
return this.ContainerNetStatus;
}
/**
* Set 网络状态
未隔离 NORMAL
已隔离 ISOLATED
隔离中 ISOLATING
隔离失败 ISOLATE_FAILED
解除隔离中 RESTORING
解除隔离失败 RESTORE_FAILED
注意:此字段可能返回 null,表示取不到有效值。
* @param ContainerNetStatus 网络状态
未隔离 NORMAL
已隔离 ISOLATED
隔离中 ISOLATING
隔离失败 ISOLATE_FAILED
解除隔离中 RESTORING
解除隔离失败 RESTORE_FAILED
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setContainerNetStatus(String ContainerNetStatus) {
this.ContainerNetStatus = ContainerNetStatus;
}
/**
* Get 容器子状态
"AGENT_OFFLINE" //Agent离线
"NODE_DESTROYED" //节点已销毁
"CONTAINER_EXITED" //容器已退出
"CONTAINER_DESTROYED" //容器已销毁
"SHARED_HOST" // 容器与主机共享网络
"RESOURCE_LIMIT" //隔离操作资源超限
"UNKNOW" // 原因未知
注意:此字段可能返回 null,表示取不到有效值。
* @return ContainerNetSubStatus 容器子状态
"AGENT_OFFLINE" //Agent离线
"NODE_DESTROYED" //节点已销毁
"CONTAINER_EXITED" //容器已退出
"CONTAINER_DESTROYED" //容器已销毁
"SHARED_HOST" // 容器与主机共享网络
"RESOURCE_LIMIT" //隔离操作资源超限
"UNKNOW" // 原因未知
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getContainerNetSubStatus() {
return this.ContainerNetSubStatus;
}
/**
* Set 容器子状态
"AGENT_OFFLINE" //Agent离线
"NODE_DESTROYED" //节点已销毁
"CONTAINER_EXITED" //容器已退出
"CONTAINER_DESTROYED" //容器已销毁
"SHARED_HOST" // 容器与主机共享网络
"RESOURCE_LIMIT" //隔离操作资源超限
"UNKNOW" // 原因未知
注意:此字段可能返回 null,表示取不到有效值。
* @param ContainerNetSubStatus 容器子状态
"AGENT_OFFLINE" //Agent离线
"NODE_DESTROYED" //节点已销毁
"CONTAINER_EXITED" //容器已退出
"CONTAINER_DESTROYED" //容器已销毁
"SHARED_HOST" // 容器与主机共享网络
"RESOURCE_LIMIT" //隔离操作资源超限
"UNKNOW" // 原因未知
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setContainerNetSubStatus(String ContainerNetSubStatus) {
this.ContainerNetSubStatus = ContainerNetSubStatus;
}
/**
* Get 容器隔离操作来源
注意:此字段可能返回 null,表示取不到有效值。
* @return ContainerIsolateOperationSrc 容器隔离操作来源
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getContainerIsolateOperationSrc() {
return this.ContainerIsolateOperationSrc;
}
/**
* Set 容器隔离操作来源
注意:此字段可能返回 null,表示取不到有效值。
* @param ContainerIsolateOperationSrc 容器隔离操作来源
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setContainerIsolateOperationSrc(String ContainerIsolateOperationSrc) {
this.ContainerIsolateOperationSrc = ContainerIsolateOperationSrc;
}
/**
* Get 容器状态
正在运行: RUNNING
暂停: PAUSED
停止: STOPPED
已经创建: CREATED
已经销毁: DESTROYED
正在重启中: RESTARTING
迁移中: REMOVING
* @return ContainerStatus 容器状态
正在运行: RUNNING
暂停: PAUSED
停止: STOPPED
已经创建: CREATED
已经销毁: DESTROYED
正在重启中: RESTARTING
迁移中: REMOVING
*/
public String getContainerStatus() {
return this.ContainerStatus;
}
/**
* Set 容器状态
正在运行: RUNNING
暂停: PAUSED
停止: STOPPED
已经创建: CREATED
已经销毁: DESTROYED
正在重启中: RESTARTING
迁移中: REMOVING
* @param ContainerStatus 容器状态
正在运行: RUNNING
暂停: PAUSED
停止: STOPPED
已经创建: CREATED
已经销毁: DESTROYED
正在重启中: RESTARTING
迁移中: REMOVING
*/
public void setContainerStatus(String ContainerStatus) {
this.ContainerStatus = ContainerStatus;
}
public EscapeEventInfo() {
}
/**
* NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
* and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
*/
public EscapeEventInfo(EscapeEventInfo source) {
if (source.EventType != null) {
this.EventType = new String(source.EventType);
}
if (source.ContainerName != null) {
this.ContainerName = new String(source.ContainerName);
}
if (source.ImageName != null) {
this.ImageName = new String(source.ImageName);
}
if (source.Status != null) {
this.Status = new String(source.Status);
}
if (source.EventId != null) {
this.EventId = new String(source.EventId);
}
if (source.NodeName != null) {
this.NodeName = new String(source.NodeName);
}
if (source.PodName != null) {
this.PodName = new String(source.PodName);
}
if (source.FoundTime != null) {
this.FoundTime = new String(source.FoundTime);
}
if (source.EventName != null) {
this.EventName = new String(source.EventName);
}
if (source.ImageId != null) {
this.ImageId = new String(source.ImageId);
}
if (source.ContainerId != null) {
this.ContainerId = new String(source.ContainerId);
}
if (source.Solution != null) {
this.Solution = new String(source.Solution);
}
if (source.Description != null) {
this.Description = new String(source.Description);
}
if (source.EventCount != null) {
this.EventCount = new Long(source.EventCount);
}
if (source.LatestFoundTime != null) {
this.LatestFoundTime = new String(source.LatestFoundTime);
}
if (source.NodeIP != null) {
this.NodeIP = new String(source.NodeIP);
}
if (source.HostID != null) {
this.HostID = new String(source.HostID);
}
if (source.ContainerNetStatus != null) {
this.ContainerNetStatus = new String(source.ContainerNetStatus);
}
if (source.ContainerNetSubStatus != null) {
this.ContainerNetSubStatus = new String(source.ContainerNetSubStatus);
}
if (source.ContainerIsolateOperationSrc != null) {
this.ContainerIsolateOperationSrc = new String(source.ContainerIsolateOperationSrc);
}
if (source.ContainerStatus != null) {
this.ContainerStatus = new String(source.ContainerStatus);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "EventType", this.EventType);
this.setParamSimple(map, prefix + "ContainerName", this.ContainerName);
this.setParamSimple(map, prefix + "ImageName", this.ImageName);
this.setParamSimple(map, prefix + "Status", this.Status);
this.setParamSimple(map, prefix + "EventId", this.EventId);
this.setParamSimple(map, prefix + "NodeName", this.NodeName);
this.setParamSimple(map, prefix + "PodName", this.PodName);
this.setParamSimple(map, prefix + "FoundTime", this.FoundTime);
this.setParamSimple(map, prefix + "EventName", this.EventName);
this.setParamSimple(map, prefix + "ImageId", this.ImageId);
this.setParamSimple(map, prefix + "ContainerId", this.ContainerId);
this.setParamSimple(map, prefix + "Solution", this.Solution);
this.setParamSimple(map, prefix + "Description", this.Description);
this.setParamSimple(map, prefix + "EventCount", this.EventCount);
this.setParamSimple(map, prefix + "LatestFoundTime", this.LatestFoundTime);
this.setParamSimple(map, prefix + "NodeIP", this.NodeIP);
this.setParamSimple(map, prefix + "HostID", this.HostID);
this.setParamSimple(map, prefix + "ContainerNetStatus", this.ContainerNetStatus);
this.setParamSimple(map, prefix + "ContainerNetSubStatus", this.ContainerNetSubStatus);
this.setParamSimple(map, prefix + "ContainerIsolateOperationSrc", this.ContainerIsolateOperationSrc);
this.setParamSimple(map, prefix + "ContainerStatus", this.ContainerStatus);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy