com.aliyun.sas20181203.models.GetFileProtectEventResponseBody Maven / Gradle / Ivy
Show all versions of sas20181203 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sas20181203.models;
import com.aliyun.tea.*;
public class GetFileProtectEventResponseBody extends TeaModel {
/**
* The details of the returned data.
*/
@NameInMap("Data")
public GetFileProtectEventResponseBodyData data;
/**
* The request ID.
*
* example:
* 0B48AB3C-84FC-424D-A01D-B9270EF46038
*/
@NameInMap("RequestId")
public String requestId;
public static GetFileProtectEventResponseBody build(java.util.Map map) throws Exception {
GetFileProtectEventResponseBody self = new GetFileProtectEventResponseBody();
return TeaModel.build(map, self);
}
public GetFileProtectEventResponseBody setData(GetFileProtectEventResponseBodyData data) {
this.data = data;
return this;
}
public GetFileProtectEventResponseBodyData getData() {
return this.data;
}
public GetFileProtectEventResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public static class GetFileProtectEventResponseBodyData extends TeaModel {
/**
* The severity of alerts. Valid values:
*
* - 0: does not generate alerts
* - 1: sends notifications
* - 2: suspicious
* - 3: high-risk
*
*
* example:
* 1
*/
@NameInMap("AlertLevel")
public Integer alertLevel;
/**
* The event command line.
*
* example:
* ["touch","/usr/local/aaaa"]
*/
@NameInMap("CmdLine")
public String cmdLine;
/**
* The path to the file.
*
* example:
* /usr/local
*/
@NameInMap("FilePath")
public String filePath;
/**
* The permissions to run the process.
*
* example:
* rwxr-xr-x
*/
@NameInMap("FilePermission")
public String filePermission;
/**
* The timestamp at which the event was first detected.
*
* example:
* 1694576692000
*/
@NameInMap("FirstTime")
public Long firstTime;
/**
* The time when the event was handled.
*
* example:
* 1694576692000
*/
@NameInMap("HandleTime")
public Long handleTime;
/**
* The ID of the event.
*
* example:
* 55037
*/
@NameInMap("Id")
public Long id;
/**
* The name of the instance.
*
* example:
* i-wz92q7m5hsbgfhdss***
*/
@NameInMap("InstanceName")
public String instanceName;
/**
* The public IP address of the associated instance.
*
* example:
* 172.16.XX.XX
*/
@NameInMap("InternetIp")
public String internetIp;
/**
* The private IP address of the associated instance.
*
* example:
* 10.42.XX.XX
*/
@NameInMap("IntranetIp")
public String intranetIp;
/**
* The time when the event last occurred.
*
* example:
* 1694576692000
*/
@NameInMap("LatestTime")
public Long latestTime;
/**
* The operation that the process performed on the file.
*
* example:
* DELETE
*/
@NameInMap("Operation")
public String operation;
/**
* The type of the operating system. Valid values:
*
* - windows: Windows
* - linux: Linux
*
*
* example:
* linux
*/
@NameInMap("Platform")
public String platform;
/**
* The path to the process.
*
* example:
* /bin/bash33
*/
@NameInMap("ProcPath")
public String procPath;
/**
* The process ID of the event.
*
* example:
* 3453
*/
@NameInMap("ProcessId")
public String processId;
/**
* The remarks.
*
* example:
* ["test"]
*/
@NameInMap("Remark")
public String remark;
/**
* The name of the rule.
*
* example:
* test-000
*/
@NameInMap("RuleName")
public String ruleName;
/**
* The status of the event. Valid values:
*
* - 0: not handled
* - 1: handled
* - 2: added to the whitelist
*
*
* example:
* 1
*/
@NameInMap("Status")
public Integer status;
/**
* The UUID of the asset.
*
* example:
* 49f1360f-62c8-4b48-a24c-5cc317656419
*/
@NameInMap("Uuid")
public String uuid;
public static GetFileProtectEventResponseBodyData build(java.util.Map map) throws Exception {
GetFileProtectEventResponseBodyData self = new GetFileProtectEventResponseBodyData();
return TeaModel.build(map, self);
}
public GetFileProtectEventResponseBodyData setAlertLevel(Integer alertLevel) {
this.alertLevel = alertLevel;
return this;
}
public Integer getAlertLevel() {
return this.alertLevel;
}
public GetFileProtectEventResponseBodyData setCmdLine(String cmdLine) {
this.cmdLine = cmdLine;
return this;
}
public String getCmdLine() {
return this.cmdLine;
}
public GetFileProtectEventResponseBodyData setFilePath(String filePath) {
this.filePath = filePath;
return this;
}
public String getFilePath() {
return this.filePath;
}
public GetFileProtectEventResponseBodyData setFilePermission(String filePermission) {
this.filePermission = filePermission;
return this;
}
public String getFilePermission() {
return this.filePermission;
}
public GetFileProtectEventResponseBodyData setFirstTime(Long firstTime) {
this.firstTime = firstTime;
return this;
}
public Long getFirstTime() {
return this.firstTime;
}
public GetFileProtectEventResponseBodyData setHandleTime(Long handleTime) {
this.handleTime = handleTime;
return this;
}
public Long getHandleTime() {
return this.handleTime;
}
public GetFileProtectEventResponseBodyData setId(Long id) {
this.id = id;
return this;
}
public Long getId() {
return this.id;
}
public GetFileProtectEventResponseBodyData setInstanceName(String instanceName) {
this.instanceName = instanceName;
return this;
}
public String getInstanceName() {
return this.instanceName;
}
public GetFileProtectEventResponseBodyData setInternetIp(String internetIp) {
this.internetIp = internetIp;
return this;
}
public String getInternetIp() {
return this.internetIp;
}
public GetFileProtectEventResponseBodyData setIntranetIp(String intranetIp) {
this.intranetIp = intranetIp;
return this;
}
public String getIntranetIp() {
return this.intranetIp;
}
public GetFileProtectEventResponseBodyData setLatestTime(Long latestTime) {
this.latestTime = latestTime;
return this;
}
public Long getLatestTime() {
return this.latestTime;
}
public GetFileProtectEventResponseBodyData setOperation(String operation) {
this.operation = operation;
return this;
}
public String getOperation() {
return this.operation;
}
public GetFileProtectEventResponseBodyData setPlatform(String platform) {
this.platform = platform;
return this;
}
public String getPlatform() {
return this.platform;
}
public GetFileProtectEventResponseBodyData setProcPath(String procPath) {
this.procPath = procPath;
return this;
}
public String getProcPath() {
return this.procPath;
}
public GetFileProtectEventResponseBodyData setProcessId(String processId) {
this.processId = processId;
return this;
}
public String getProcessId() {
return this.processId;
}
public GetFileProtectEventResponseBodyData setRemark(String remark) {
this.remark = remark;
return this;
}
public String getRemark() {
return this.remark;
}
public GetFileProtectEventResponseBodyData setRuleName(String ruleName) {
this.ruleName = ruleName;
return this;
}
public String getRuleName() {
return this.ruleName;
}
public GetFileProtectEventResponseBodyData setStatus(Integer status) {
this.status = status;
return this;
}
public Integer getStatus() {
return this.status;
}
public GetFileProtectEventResponseBodyData setUuid(String uuid) {
this.uuid = uuid;
return this;
}
public String getUuid() {
return this.uuid;
}
}
}