
com.tencentcloudapi.tcss.v20201101.models.VulDefenceEvent 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 VulDefenceEvent extends AbstractModel{
/**
* 漏洞CVEID
*/
@SerializedName("CVEID")
@Expose
private String CVEID;
/**
* 漏洞名称
*/
@SerializedName("VulName")
@Expose
private String VulName;
/**
* 漏洞PocID
*/
@SerializedName("PocID")
@Expose
private String PocID;
/**
* 入侵状态
*/
@SerializedName("EventType")
@Expose
private String EventType;
/**
* 攻击源IP
*/
@SerializedName("SourceIP")
@Expose
private String SourceIP;
/**
* 攻击源ip地址所在城市
*/
@SerializedName("City")
@Expose
private String City;
/**
* 事件数量
*/
@SerializedName("EventCount")
@Expose
private Long EventCount;
/**
* 容器ID
*/
@SerializedName("ContainerID")
@Expose
private String ContainerID;
/**
* 容器名称
*/
@SerializedName("ContainerName")
@Expose
private String ContainerName;
/**
* 镜像ID
*/
@SerializedName("ImageID")
@Expose
private String ImageID;
/**
* 镜像名称
*/
@SerializedName("ImageName")
@Expose
private String ImageName;
/**
* 处理状态
*/
@SerializedName("Status")
@Expose
private String Status;
/**
* 事件ID
*/
@SerializedName("EventID")
@Expose
private Long EventID;
/**
* 首次发现时间
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("CreateTime")
@Expose
private String CreateTime;
/**
* 隔离状态
未隔离 NORMAL
已隔离 ISOLATED
隔离中 ISOLATING
隔离失败 ISOLATE_FAILED
解除隔离中 RESTORING
解除隔离失败 RESTORE_FAILED
*/
@SerializedName("ContainerNetStatus")
@Expose
private String ContainerNetStatus;
/**
* 最近发现时间
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("MergeTime")
@Expose
private String MergeTime;
/**
* 容器状态
正在运行: RUNNING
暂停: PAUSED
停止: STOPPED
已经创建: CREATED
已经销毁: DESTROYED
正在重启中: RESTARTING
迁移中: REMOVING
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("ContainerStatus")
@Expose
private String ContainerStatus;
/**
* 容器子状态
"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;
/**
* 主机QUUID
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("QUUID")
@Expose
private String QUUID;
/**
* 主机内网IP
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("HostIP")
@Expose
private String HostIP;
/**
* 主机名称
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("HostName")
@Expose
private String HostName;
/**
* Get 漏洞CVEID
* @return CVEID 漏洞CVEID
*/
public String getCVEID() {
return this.CVEID;
}
/**
* Set 漏洞CVEID
* @param CVEID 漏洞CVEID
*/
public void setCVEID(String CVEID) {
this.CVEID = CVEID;
}
/**
* Get 漏洞名称
* @return VulName 漏洞名称
*/
public String getVulName() {
return this.VulName;
}
/**
* Set 漏洞名称
* @param VulName 漏洞名称
*/
public void setVulName(String VulName) {
this.VulName = VulName;
}
/**
* Get 漏洞PocID
* @return PocID 漏洞PocID
*/
public String getPocID() {
return this.PocID;
}
/**
* Set 漏洞PocID
* @param PocID 漏洞PocID
*/
public void setPocID(String PocID) {
this.PocID = PocID;
}
/**
* Get 入侵状态
* @return EventType 入侵状态
*/
public String getEventType() {
return this.EventType;
}
/**
* Set 入侵状态
* @param EventType 入侵状态
*/
public void setEventType(String EventType) {
this.EventType = EventType;
}
/**
* Get 攻击源IP
* @return SourceIP 攻击源IP
*/
public String getSourceIP() {
return this.SourceIP;
}
/**
* Set 攻击源IP
* @param SourceIP 攻击源IP
*/
public void setSourceIP(String SourceIP) {
this.SourceIP = SourceIP;
}
/**
* Get 攻击源ip地址所在城市
* @return City 攻击源ip地址所在城市
*/
public String getCity() {
return this.City;
}
/**
* Set 攻击源ip地址所在城市
* @param City 攻击源ip地址所在城市
*/
public void setCity(String City) {
this.City = City;
}
/**
* Get 事件数量
* @return EventCount 事件数量
*/
public Long getEventCount() {
return this.EventCount;
}
/**
* Set 事件数量
* @param EventCount 事件数量
*/
public void setEventCount(Long EventCount) {
this.EventCount = EventCount;
}
/**
* 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 ContainerName 容器名称
*/
public String getContainerName() {
return this.ContainerName;
}
/**
* Set 容器名称
* @param ContainerName 容器名称
*/
public void setContainerName(String ContainerName) {
this.ContainerName = ContainerName;
}
/**
* 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 镜像名称
* @return ImageName 镜像名称
*/
public String getImageName() {
return this.ImageName;
}
/**
* Set 镜像名称
* @param ImageName 镜像名称
*/
public void setImageName(String ImageName) {
this.ImageName = ImageName;
}
/**
* Get 处理状态
* @return Status 处理状态
*/
public String getStatus() {
return this.Status;
}
/**
* Set 处理状态
* @param Status 处理状态
*/
public void setStatus(String Status) {
this.Status = Status;
}
/**
* Get 事件ID
* @return EventID 事件ID
*/
public Long getEventID() {
return this.EventID;
}
/**
* Set 事件ID
* @param EventID 事件ID
*/
public void setEventID(Long EventID) {
this.EventID = EventID;
}
/**
* Get 首次发现时间
注意:此字段可能返回 null,表示取不到有效值。
* @return CreateTime 首次发现时间
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getCreateTime() {
return this.CreateTime;
}
/**
* Set 首次发现时间
注意:此字段可能返回 null,表示取不到有效值。
* @param CreateTime 首次发现时间
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setCreateTime(String CreateTime) {
this.CreateTime = CreateTime;
}
/**
* Get 隔离状态
未隔离 NORMAL
已隔离 ISOLATED
隔离中 ISOLATING
隔离失败 ISOLATE_FAILED
解除隔离中 RESTORING
解除隔离失败 RESTORE_FAILED
* @return ContainerNetStatus 隔离状态
未隔离 NORMAL
已隔离 ISOLATED
隔离中 ISOLATING
隔离失败 ISOLATE_FAILED
解除隔离中 RESTORING
解除隔离失败 RESTORE_FAILED
*/
public String getContainerNetStatus() {
return this.ContainerNetStatus;
}
/**
* Set 隔离状态
未隔离 NORMAL
已隔离 ISOLATED
隔离中 ISOLATING
隔离失败 ISOLATE_FAILED
解除隔离中 RESTORING
解除隔离失败 RESTORE_FAILED
* @param ContainerNetStatus 隔离状态
未隔离 NORMAL
已隔离 ISOLATED
隔离中 ISOLATING
隔离失败 ISOLATE_FAILED
解除隔离中 RESTORING
解除隔离失败 RESTORE_FAILED
*/
public void setContainerNetStatus(String ContainerNetStatus) {
this.ContainerNetStatus = ContainerNetStatus;
}
/**
* Get 最近发现时间
注意:此字段可能返回 null,表示取不到有效值。
* @return MergeTime 最近发现时间
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getMergeTime() {
return this.MergeTime;
}
/**
* Set 最近发现时间
注意:此字段可能返回 null,表示取不到有效值。
* @param MergeTime 最近发现时间
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setMergeTime(String MergeTime) {
this.MergeTime = MergeTime;
}
/**
* Get 容器状态
正在运行: RUNNING
暂停: PAUSED
停止: STOPPED
已经创建: CREATED
已经销毁: DESTROYED
正在重启中: RESTARTING
迁移中: REMOVING
注意:此字段可能返回 null,表示取不到有效值。
* @return ContainerStatus 容器状态
正在运行: RUNNING
暂停: PAUSED
停止: STOPPED
已经创建: CREATED
已经销毁: DESTROYED
正在重启中: RESTARTING
迁移中: REMOVING
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getContainerStatus() {
return this.ContainerStatus;
}
/**
* Set 容器状态
正在运行: RUNNING
暂停: PAUSED
停止: STOPPED
已经创建: CREATED
已经销毁: DESTROYED
正在重启中: RESTARTING
迁移中: REMOVING
注意:此字段可能返回 null,表示取不到有效值。
* @param ContainerStatus 容器状态
正在运行: RUNNING
暂停: PAUSED
停止: STOPPED
已经创建: CREATED
已经销毁: DESTROYED
正在重启中: RESTARTING
迁移中: REMOVING
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setContainerStatus(String ContainerStatus) {
this.ContainerStatus = ContainerStatus;
}
/**
* 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 主机QUUID
注意:此字段可能返回 null,表示取不到有效值。
* @return QUUID 主机QUUID
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getQUUID() {
return this.QUUID;
}
/**
* Set 主机QUUID
注意:此字段可能返回 null,表示取不到有效值。
* @param QUUID 主机QUUID
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setQUUID(String QUUID) {
this.QUUID = QUUID;
}
/**
* Get 主机内网IP
注意:此字段可能返回 null,表示取不到有效值。
* @return HostIP 主机内网IP
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getHostIP() {
return this.HostIP;
}
/**
* Set 主机内网IP
注意:此字段可能返回 null,表示取不到有效值。
* @param HostIP 主机内网IP
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setHostIP(String HostIP) {
this.HostIP = HostIP;
}
/**
* Get 主机名称
注意:此字段可能返回 null,表示取不到有效值。
* @return HostName 主机名称
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getHostName() {
return this.HostName;
}
/**
* Set 主机名称
注意:此字段可能返回 null,表示取不到有效值。
* @param HostName 主机名称
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setHostName(String HostName) {
this.HostName = HostName;
}
public VulDefenceEvent() {
}
/**
* 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 VulDefenceEvent(VulDefenceEvent source) {
if (source.CVEID != null) {
this.CVEID = new String(source.CVEID);
}
if (source.VulName != null) {
this.VulName = new String(source.VulName);
}
if (source.PocID != null) {
this.PocID = new String(source.PocID);
}
if (source.EventType != null) {
this.EventType = new String(source.EventType);
}
if (source.SourceIP != null) {
this.SourceIP = new String(source.SourceIP);
}
if (source.City != null) {
this.City = new String(source.City);
}
if (source.EventCount != null) {
this.EventCount = new Long(source.EventCount);
}
if (source.ContainerID != null) {
this.ContainerID = new String(source.ContainerID);
}
if (source.ContainerName != null) {
this.ContainerName = new String(source.ContainerName);
}
if (source.ImageID != null) {
this.ImageID = new String(source.ImageID);
}
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 Long(source.EventID);
}
if (source.CreateTime != null) {
this.CreateTime = new String(source.CreateTime);
}
if (source.ContainerNetStatus != null) {
this.ContainerNetStatus = new String(source.ContainerNetStatus);
}
if (source.MergeTime != null) {
this.MergeTime = new String(source.MergeTime);
}
if (source.ContainerStatus != null) {
this.ContainerStatus = new String(source.ContainerStatus);
}
if (source.ContainerNetSubStatus != null) {
this.ContainerNetSubStatus = new String(source.ContainerNetSubStatus);
}
if (source.ContainerIsolateOperationSrc != null) {
this.ContainerIsolateOperationSrc = new String(source.ContainerIsolateOperationSrc);
}
if (source.QUUID != null) {
this.QUUID = new String(source.QUUID);
}
if (source.HostIP != null) {
this.HostIP = new String(source.HostIP);
}
if (source.HostName != null) {
this.HostName = new String(source.HostName);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "CVEID", this.CVEID);
this.setParamSimple(map, prefix + "VulName", this.VulName);
this.setParamSimple(map, prefix + "PocID", this.PocID);
this.setParamSimple(map, prefix + "EventType", this.EventType);
this.setParamSimple(map, prefix + "SourceIP", this.SourceIP);
this.setParamSimple(map, prefix + "City", this.City);
this.setParamSimple(map, prefix + "EventCount", this.EventCount);
this.setParamSimple(map, prefix + "ContainerID", this.ContainerID);
this.setParamSimple(map, prefix + "ContainerName", this.ContainerName);
this.setParamSimple(map, prefix + "ImageID", this.ImageID);
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 + "CreateTime", this.CreateTime);
this.setParamSimple(map, prefix + "ContainerNetStatus", this.ContainerNetStatus);
this.setParamSimple(map, prefix + "MergeTime", this.MergeTime);
this.setParamSimple(map, prefix + "ContainerStatus", this.ContainerStatus);
this.setParamSimple(map, prefix + "ContainerNetSubStatus", this.ContainerNetSubStatus);
this.setParamSimple(map, prefix + "ContainerIsolateOperationSrc", this.ContainerIsolateOperationSrc);
this.setParamSimple(map, prefix + "QUUID", this.QUUID);
this.setParamSimple(map, prefix + "HostIP", this.HostIP);
this.setParamSimple(map, prefix + "HostName", this.HostName);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy