com.tencentcloudapi.tcss.v20201101.models.ReverseShellEventInfo 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.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class ReverseShellEventInfo extends AbstractModel {
/**
* Process name
*/
@SerializedName("ProcessName")
@Expose
private String ProcessName;
/**
* Process path
*/
@SerializedName("ProcessPath")
@Expose
private String ProcessPath;
/**
* Image ID
*/
@SerializedName("ImageId")
@Expose
private String ImageId;
/**
* Container ID
*/
@SerializedName("ContainerId")
@Expose
private String ContainerId;
/**
* Image name
*/
@SerializedName("ImageName")
@Expose
private String ImageName;
/**
* Container name
*/
@SerializedName("ContainerName")
@Expose
private String ContainerName;
/**
* Generation time
*/
@SerializedName("FoundTime")
@Expose
private String FoundTime;
/**
* Event solution
*/
@SerializedName("Solution")
@Expose
private String Solution;
/**
* Event description
*/
@SerializedName("Description")
@Expose
private String Description;
/**
* Status. `EVENT_UNDEAL`: Pending.
`EVENT_DEALED`: Processed.
`EVENT_INGNORE`: Ignored.
`EVENT_ADD_WHITE`: Allowed.
*/
@SerializedName("Status")
@Expose
private String Status;
/**
* Event ID
*/
@SerializedName("EventId")
@Expose
private String EventId;
/**
* Remarks
*/
@SerializedName("Remark")
@Expose
private String Remark;
/**
* Parent process name
*/
@SerializedName("PProcessName")
@Expose
private String PProcessName;
/**
* Number of events
*/
@SerializedName("EventCount")
@Expose
private Long EventCount;
/**
* Last generation time
*/
@SerializedName("LatestFoundTime")
@Expose
private String LatestFoundTime;
/**
* Destination address
*/
@SerializedName("DstAddress")
@Expose
private String DstAddress;
/**
* Network status
`NORMAL`: Not isolated.
`ISOLATED`: Isolated.
`ISOLATING`: Isolating.
`ISOLATE_FAILED`: Isolation failed.
`RESTORING`: Recovering.
`RESTORE_FAILED`: Recovery failed.
*/
@SerializedName("ContainerNetStatus")
@Expose
private String ContainerNetStatus;
/**
* Sub-status of the container
"AGENT_OFFLINE" // The agent is offline.
"NODE_DESTROYED" // The node is terminated.
"CONTAINER_EXITED" // The container exited.
"CONTAINER_DESTROYED" // The container was terminated.
"SHARED_HOST" // The container shares the network with the server.
"RESOURCE_LIMIT" // The number of resources to be isolated exceeds the limit.
"UNKNOW" // The reason is unknown.
*/
@SerializedName("ContainerNetSubStatus")
@Expose
private String ContainerNetSubStatus;
/**
* Container isolation operation source
*/
@SerializedName("ContainerIsolateOperationSrc")
@Expose
private String ContainerIsolateOperationSrc;
/**
* Container status
`RUNNING`: Running.
`PAUSED`: Paused.
`STOPPED`: Stopped.
`CREATED`: Created.
`DESTROYED`: Terminated.
`RESTARTING`: Restarting.
`REMOVING`: Removing.
*/
@SerializedName("ContainerStatus")
@Expose
private String ContainerStatus;
/**
* Get Process name
* @return ProcessName Process name
*/
public String getProcessName() {
return this.ProcessName;
}
/**
* Set Process name
* @param ProcessName Process name
*/
public void setProcessName(String ProcessName) {
this.ProcessName = ProcessName;
}
/**
* Get Process path
* @return ProcessPath Process path
*/
public String getProcessPath() {
return this.ProcessPath;
}
/**
* Set Process path
* @param ProcessPath Process path
*/
public void setProcessPath(String ProcessPath) {
this.ProcessPath = ProcessPath;
}
/**
* Get Image ID
* @return ImageId Image ID
*/
public String getImageId() {
return this.ImageId;
}
/**
* Set Image ID
* @param ImageId Image ID
*/
public void setImageId(String ImageId) {
this.ImageId = ImageId;
}
/**
* Get Container ID
* @return ContainerId Container ID
*/
public String getContainerId() {
return this.ContainerId;
}
/**
* Set Container ID
* @param ContainerId Container ID
*/
public void setContainerId(String ContainerId) {
this.ContainerId = ContainerId;
}
/**
* Get Image name
* @return ImageName Image name
*/
public String getImageName() {
return this.ImageName;
}
/**
* Set Image name
* @param ImageName Image name
*/
public void setImageName(String ImageName) {
this.ImageName = ImageName;
}
/**
* Get Container name
* @return ContainerName Container name
*/
public String getContainerName() {
return this.ContainerName;
}
/**
* Set Container name
* @param ContainerName Container name
*/
public void setContainerName(String ContainerName) {
this.ContainerName = ContainerName;
}
/**
* Get Generation time
* @return FoundTime Generation time
*/
public String getFoundTime() {
return this.FoundTime;
}
/**
* Set Generation time
* @param FoundTime Generation time
*/
public void setFoundTime(String FoundTime) {
this.FoundTime = FoundTime;
}
/**
* Get Event solution
* @return Solution Event solution
*/
public String getSolution() {
return this.Solution;
}
/**
* Set Event solution
* @param Solution Event solution
*/
public void setSolution(String Solution) {
this.Solution = Solution;
}
/**
* Get Event description
* @return Description Event description
*/
public String getDescription() {
return this.Description;
}
/**
* Set Event description
* @param Description Event description
*/
public void setDescription(String Description) {
this.Description = Description;
}
/**
* Get Status. `EVENT_UNDEAL`: Pending.
`EVENT_DEALED`: Processed.
`EVENT_INGNORE`: Ignored.
`EVENT_ADD_WHITE`: Allowed.
* @return Status Status. `EVENT_UNDEAL`: Pending.
`EVENT_DEALED`: Processed.
`EVENT_INGNORE`: Ignored.
`EVENT_ADD_WHITE`: Allowed.
*/
public String getStatus() {
return this.Status;
}
/**
* Set Status. `EVENT_UNDEAL`: Pending.
`EVENT_DEALED`: Processed.
`EVENT_INGNORE`: Ignored.
`EVENT_ADD_WHITE`: Allowed.
* @param Status Status. `EVENT_UNDEAL`: Pending.
`EVENT_DEALED`: Processed.
`EVENT_INGNORE`: Ignored.
`EVENT_ADD_WHITE`: Allowed.
*/
public void setStatus(String Status) {
this.Status = Status;
}
/**
* Get Event ID
* @return EventId Event ID
*/
public String getEventId() {
return this.EventId;
}
/**
* Set Event ID
* @param EventId Event ID
*/
public void setEventId(String EventId) {
this.EventId = EventId;
}
/**
* Get Remarks
* @return Remark Remarks
*/
public String getRemark() {
return this.Remark;
}
/**
* Set Remarks
* @param Remark Remarks
*/
public void setRemark(String Remark) {
this.Remark = Remark;
}
/**
* Get Parent process name
* @return PProcessName Parent process name
*/
public String getPProcessName() {
return this.PProcessName;
}
/**
* Set Parent process name
* @param PProcessName Parent process name
*/
public void setPProcessName(String PProcessName) {
this.PProcessName = PProcessName;
}
/**
* Get Number of events
* @return EventCount Number of events
*/
public Long getEventCount() {
return this.EventCount;
}
/**
* Set Number of events
* @param EventCount Number of events
*/
public void setEventCount(Long EventCount) {
this.EventCount = EventCount;
}
/**
* Get Last generation time
* @return LatestFoundTime Last generation time
*/
public String getLatestFoundTime() {
return this.LatestFoundTime;
}
/**
* Set Last generation time
* @param LatestFoundTime Last generation time
*/
public void setLatestFoundTime(String LatestFoundTime) {
this.LatestFoundTime = LatestFoundTime;
}
/**
* Get Destination address
* @return DstAddress Destination address
*/
public String getDstAddress() {
return this.DstAddress;
}
/**
* Set Destination address
* @param DstAddress Destination address
*/
public void setDstAddress(String DstAddress) {
this.DstAddress = DstAddress;
}
/**
* Get Network status
`NORMAL`: Not isolated.
`ISOLATED`: Isolated.
`ISOLATING`: Isolating.
`ISOLATE_FAILED`: Isolation failed.
`RESTORING`: Recovering.
`RESTORE_FAILED`: Recovery failed.
* @return ContainerNetStatus Network status
`NORMAL`: Not isolated.
`ISOLATED`: Isolated.
`ISOLATING`: Isolating.
`ISOLATE_FAILED`: Isolation failed.
`RESTORING`: Recovering.
`RESTORE_FAILED`: Recovery failed.
*/
public String getContainerNetStatus() {
return this.ContainerNetStatus;
}
/**
* Set Network status
`NORMAL`: Not isolated.
`ISOLATED`: Isolated.
`ISOLATING`: Isolating.
`ISOLATE_FAILED`: Isolation failed.
`RESTORING`: Recovering.
`RESTORE_FAILED`: Recovery failed.
* @param ContainerNetStatus Network status
`NORMAL`: Not isolated.
`ISOLATED`: Isolated.
`ISOLATING`: Isolating.
`ISOLATE_FAILED`: Isolation failed.
`RESTORING`: Recovering.
`RESTORE_FAILED`: Recovery failed.
*/
public void setContainerNetStatus(String ContainerNetStatus) {
this.ContainerNetStatus = ContainerNetStatus;
}
/**
* Get Sub-status of the container
"AGENT_OFFLINE" // The agent is offline.
"NODE_DESTROYED" // The node is terminated.
"CONTAINER_EXITED" // The container exited.
"CONTAINER_DESTROYED" // The container was terminated.
"SHARED_HOST" // The container shares the network with the server.
"RESOURCE_LIMIT" // The number of resources to be isolated exceeds the limit.
"UNKNOW" // The reason is unknown.
* @return ContainerNetSubStatus Sub-status of the container
"AGENT_OFFLINE" // The agent is offline.
"NODE_DESTROYED" // The node is terminated.
"CONTAINER_EXITED" // The container exited.
"CONTAINER_DESTROYED" // The container was terminated.
"SHARED_HOST" // The container shares the network with the server.
"RESOURCE_LIMIT" // The number of resources to be isolated exceeds the limit.
"UNKNOW" // The reason is unknown.
*/
public String getContainerNetSubStatus() {
return this.ContainerNetSubStatus;
}
/**
* Set Sub-status of the container
"AGENT_OFFLINE" // The agent is offline.
"NODE_DESTROYED" // The node is terminated.
"CONTAINER_EXITED" // The container exited.
"CONTAINER_DESTROYED" // The container was terminated.
"SHARED_HOST" // The container shares the network with the server.
"RESOURCE_LIMIT" // The number of resources to be isolated exceeds the limit.
"UNKNOW" // The reason is unknown.
* @param ContainerNetSubStatus Sub-status of the container
"AGENT_OFFLINE" // The agent is offline.
"NODE_DESTROYED" // The node is terminated.
"CONTAINER_EXITED" // The container exited.
"CONTAINER_DESTROYED" // The container was terminated.
"SHARED_HOST" // The container shares the network with the server.
"RESOURCE_LIMIT" // The number of resources to be isolated exceeds the limit.
"UNKNOW" // The reason is unknown.
*/
public void setContainerNetSubStatus(String ContainerNetSubStatus) {
this.ContainerNetSubStatus = ContainerNetSubStatus;
}
/**
* Get Container isolation operation source
* @return ContainerIsolateOperationSrc Container isolation operation source
*/
public String getContainerIsolateOperationSrc() {
return this.ContainerIsolateOperationSrc;
}
/**
* Set Container isolation operation source
* @param ContainerIsolateOperationSrc Container isolation operation source
*/
public void setContainerIsolateOperationSrc(String ContainerIsolateOperationSrc) {
this.ContainerIsolateOperationSrc = ContainerIsolateOperationSrc;
}
/**
* Get Container status
`RUNNING`: Running.
`PAUSED`: Paused.
`STOPPED`: Stopped.
`CREATED`: Created.
`DESTROYED`: Terminated.
`RESTARTING`: Restarting.
`REMOVING`: Removing.
* @return ContainerStatus Container status
`RUNNING`: Running.
`PAUSED`: Paused.
`STOPPED`: Stopped.
`CREATED`: Created.
`DESTROYED`: Terminated.
`RESTARTING`: Restarting.
`REMOVING`: Removing.
*/
public String getContainerStatus() {
return this.ContainerStatus;
}
/**
* Set Container status
`RUNNING`: Running.
`PAUSED`: Paused.
`STOPPED`: Stopped.
`CREATED`: Created.
`DESTROYED`: Terminated.
`RESTARTING`: Restarting.
`REMOVING`: Removing.
* @param ContainerStatus Container status
`RUNNING`: Running.
`PAUSED`: Paused.
`STOPPED`: Stopped.
`CREATED`: Created.
`DESTROYED`: Terminated.
`RESTARTING`: Restarting.
`REMOVING`: Removing.
*/
public void setContainerStatus(String ContainerStatus) {
this.ContainerStatus = ContainerStatus;
}
public ReverseShellEventInfo() {
}
/**
* 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 ReverseShellEventInfo(ReverseShellEventInfo source) {
if (source.ProcessName != null) {
this.ProcessName = new String(source.ProcessName);
}
if (source.ProcessPath != null) {
this.ProcessPath = new String(source.ProcessPath);
}
if (source.ImageId != null) {
this.ImageId = new String(source.ImageId);
}
if (source.ContainerId != null) {
this.ContainerId = new String(source.ContainerId);
}
if (source.ImageName != null) {
this.ImageName = new String(source.ImageName);
}
if (source.ContainerName != null) {
this.ContainerName = new String(source.ContainerName);
}
if (source.FoundTime != null) {
this.FoundTime = new String(source.FoundTime);
}
if (source.Solution != null) {
this.Solution = new String(source.Solution);
}
if (source.Description != null) {
this.Description = new String(source.Description);
}
if (source.Status != null) {
this.Status = new String(source.Status);
}
if (source.EventId != null) {
this.EventId = new String(source.EventId);
}
if (source.Remark != null) {
this.Remark = new String(source.Remark);
}
if (source.PProcessName != null) {
this.PProcessName = new String(source.PProcessName);
}
if (source.EventCount != null) {
this.EventCount = new Long(source.EventCount);
}
if (source.LatestFoundTime != null) {
this.LatestFoundTime = new String(source.LatestFoundTime);
}
if (source.DstAddress != null) {
this.DstAddress = new String(source.DstAddress);
}
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 + "ProcessName", this.ProcessName);
this.setParamSimple(map, prefix + "ProcessPath", this.ProcessPath);
this.setParamSimple(map, prefix + "ImageId", this.ImageId);
this.setParamSimple(map, prefix + "ContainerId", this.ContainerId);
this.setParamSimple(map, prefix + "ImageName", this.ImageName);
this.setParamSimple(map, prefix + "ContainerName", this.ContainerName);
this.setParamSimple(map, prefix + "FoundTime", this.FoundTime);
this.setParamSimple(map, prefix + "Solution", this.Solution);
this.setParamSimple(map, prefix + "Description", this.Description);
this.setParamSimple(map, prefix + "Status", this.Status);
this.setParamSimple(map, prefix + "EventId", this.EventId);
this.setParamSimple(map, prefix + "Remark", this.Remark);
this.setParamSimple(map, prefix + "PProcessName", this.PProcessName);
this.setParamSimple(map, prefix + "EventCount", this.EventCount);
this.setParamSimple(map, prefix + "LatestFoundTime", this.LatestFoundTime);
this.setParamSimple(map, prefix + "DstAddress", this.DstAddress);
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