com.aliyun.cloud_siem20220616.models.DescribeAttackTimeLineResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.cloud_siem20220616.models;
import com.aliyun.tea.*;
public class DescribeAttackTimeLineResponseBody extends TeaModel {
/**
* The HTTP status code.
*
* example:
* 200
*/
@NameInMap("Code")
public Integer code;
/**
* The data returned.
*
* example:
* 123456
*/
@NameInMap("Data")
public java.util.List data;
/**
* The returned message.
*
* example:
* success
*/
@NameInMap("Message")
public String message;
/**
* The request ID.
*
* example:
* 9AAA9ED9-78F4-5021-86DC-D51C7511****
*/
@NameInMap("RequestId")
public String requestId;
/**
* Indicates whether the request was successful. Valid values:
*
* - true
* - false
*
*
* example:
* true
*/
@NameInMap("Success")
public Boolean success;
public static DescribeAttackTimeLineResponseBody build(java.util.Map map) throws Exception {
DescribeAttackTimeLineResponseBody self = new DescribeAttackTimeLineResponseBody();
return TeaModel.build(map, self);
}
public DescribeAttackTimeLineResponseBody setCode(Integer code) {
this.code = code;
return this;
}
public Integer getCode() {
return this.code;
}
public DescribeAttackTimeLineResponseBody setData(java.util.List data) {
this.data = data;
return this;
}
public java.util.List getData() {
return this.data;
}
public DescribeAttackTimeLineResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public DescribeAttackTimeLineResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public DescribeAttackTimeLineResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class DescribeAttackTimeLineResponseBodyData extends TeaModel {
/**
* The risk level. Valid values:
*
* - serious: high
* - suspicious: medium
* - remind: low
*
*
* example:
* remind
*/
@NameInMap("AlertLevel")
public String alertLevel;
/**
* The alert name in English.
*
* example:
* Try SNMP weak password
*/
@NameInMap("AlertName")
public String alertName;
/**
* The internal code of the alert name.
*
* example:
* security_event_config.event_name.webshell
*/
@NameInMap("AlertNameCode")
public String alertNameCode;
/**
* The alert name in English.
*
* example:
* Try SNMP weak password
*/
@NameInMap("AlertNameEn")
public String alertNameEn;
/**
* The source of the alert.
*
* example:
* sas
*/
@NameInMap("AlertSrcProd")
public String alertSrcProd;
/**
* The sub-module of the alert source.
*
* example:
* waf
*/
@NameInMap("AlertSrcProdModule")
public String alertSrcProdModule;
/**
* The time when the alert was triggered.
*
* example:
* 2021-01-06 16:37:29
*/
@NameInMap("AlertTime")
public Long alertTime;
/**
* The title of the alert.
*
* example:
* Scan-Try SNMP weak password
*/
@NameInMap("AlertTitle")
public String alertTitle;
/**
* The alert title in English.
*
* example:
* Scan-Try SNMP weak password
*/
@NameInMap("AlertTitleEn")
public String alertTitleEn;
/**
* The type of the alert.
*
* example:
* Scan
*/
@NameInMap("AlertType")
public String alertType;
/**
* The internal code of the alert type.
*
* example:
* security_event_config.event_name.webshellName
*/
@NameInMap("AlertTypeCode")
public String alertTypeCode;
/**
* The alert type in English.
*
* example:
* Scan
*/
@NameInMap("AlertTypeEn")
public String alertTypeEn;
/**
* The UUID of the alert
*
* example:
* sas_71e24437d2797ce8fc59692905a4****
*/
@NameInMap("AlertUuid")
public String alertUuid;
/**
* The logical ID of the asset.
*
* example:
* 0616caeb-acb8-45e0-8520-4ee5fbe251f0
*/
@NameInMap("AssetId")
public String assetId;
/**
* The details of the asset.
*
* example:
* [
* {
* "is_main_asset": "1",
* "asset_name": "47.245.",
* "port": "22",
* "ip": "47.245.",
* "asset_type": "ip",
* "location": "ap-southeast-1",
* "asset_id": "47.245.*",
* "net_connect_dir": "in"
* }
* ]
*/
@NameInMap("AssetList")
public String assetList;
/**
* The name of the asset.
*
* example:
* zsw-agentless-centos****
*/
@NameInMap("AssetName")
public String assetName;
/**
* The tag of the ATT\&CK attack.
*
* example:
* T1595.002 Vulnerability Scanning
*/
@NameInMap("AttCk")
public String attCk;
/**
* The cloud code. Valid values:
*
* - aliyun: Alibaba Cloud
* - qcloud: Tencent Cloud
* - hcloud: Huawei Cloud
*
*
* example:
* aliyun
*/
@NameInMap("CloudCode")
public String cloudCode;
/**
* The UUID of the event.
*
* example:
* 85ea4241-798f-4684-a876-65d4f0c3****
*/
@NameInMap("IncidentUuid")
public String incidentUuid;
/**
* The time when the alert was recorded.
*
* example:
* 2021-01-06 16:37:29
*/
@NameInMap("LogTime")
public String logTime;
public static DescribeAttackTimeLineResponseBodyData build(java.util.Map map) throws Exception {
DescribeAttackTimeLineResponseBodyData self = new DescribeAttackTimeLineResponseBodyData();
return TeaModel.build(map, self);
}
public DescribeAttackTimeLineResponseBodyData setAlertLevel(String alertLevel) {
this.alertLevel = alertLevel;
return this;
}
public String getAlertLevel() {
return this.alertLevel;
}
public DescribeAttackTimeLineResponseBodyData setAlertName(String alertName) {
this.alertName = alertName;
return this;
}
public String getAlertName() {
return this.alertName;
}
public DescribeAttackTimeLineResponseBodyData setAlertNameCode(String alertNameCode) {
this.alertNameCode = alertNameCode;
return this;
}
public String getAlertNameCode() {
return this.alertNameCode;
}
public DescribeAttackTimeLineResponseBodyData setAlertNameEn(String alertNameEn) {
this.alertNameEn = alertNameEn;
return this;
}
public String getAlertNameEn() {
return this.alertNameEn;
}
public DescribeAttackTimeLineResponseBodyData setAlertSrcProd(String alertSrcProd) {
this.alertSrcProd = alertSrcProd;
return this;
}
public String getAlertSrcProd() {
return this.alertSrcProd;
}
public DescribeAttackTimeLineResponseBodyData setAlertSrcProdModule(String alertSrcProdModule) {
this.alertSrcProdModule = alertSrcProdModule;
return this;
}
public String getAlertSrcProdModule() {
return this.alertSrcProdModule;
}
public DescribeAttackTimeLineResponseBodyData setAlertTime(Long alertTime) {
this.alertTime = alertTime;
return this;
}
public Long getAlertTime() {
return this.alertTime;
}
public DescribeAttackTimeLineResponseBodyData setAlertTitle(String alertTitle) {
this.alertTitle = alertTitle;
return this;
}
public String getAlertTitle() {
return this.alertTitle;
}
public DescribeAttackTimeLineResponseBodyData setAlertTitleEn(String alertTitleEn) {
this.alertTitleEn = alertTitleEn;
return this;
}
public String getAlertTitleEn() {
return this.alertTitleEn;
}
public DescribeAttackTimeLineResponseBodyData setAlertType(String alertType) {
this.alertType = alertType;
return this;
}
public String getAlertType() {
return this.alertType;
}
public DescribeAttackTimeLineResponseBodyData setAlertTypeCode(String alertTypeCode) {
this.alertTypeCode = alertTypeCode;
return this;
}
public String getAlertTypeCode() {
return this.alertTypeCode;
}
public DescribeAttackTimeLineResponseBodyData setAlertTypeEn(String alertTypeEn) {
this.alertTypeEn = alertTypeEn;
return this;
}
public String getAlertTypeEn() {
return this.alertTypeEn;
}
public DescribeAttackTimeLineResponseBodyData setAlertUuid(String alertUuid) {
this.alertUuid = alertUuid;
return this;
}
public String getAlertUuid() {
return this.alertUuid;
}
public DescribeAttackTimeLineResponseBodyData setAssetId(String assetId) {
this.assetId = assetId;
return this;
}
public String getAssetId() {
return this.assetId;
}
public DescribeAttackTimeLineResponseBodyData setAssetList(String assetList) {
this.assetList = assetList;
return this;
}
public String getAssetList() {
return this.assetList;
}
public DescribeAttackTimeLineResponseBodyData setAssetName(String assetName) {
this.assetName = assetName;
return this;
}
public String getAssetName() {
return this.assetName;
}
public DescribeAttackTimeLineResponseBodyData setAttCk(String attCk) {
this.attCk = attCk;
return this;
}
public String getAttCk() {
return this.attCk;
}
public DescribeAttackTimeLineResponseBodyData setCloudCode(String cloudCode) {
this.cloudCode = cloudCode;
return this;
}
public String getCloudCode() {
return this.cloudCode;
}
public DescribeAttackTimeLineResponseBodyData setIncidentUuid(String incidentUuid) {
this.incidentUuid = incidentUuid;
return this;
}
public String getIncidentUuid() {
return this.incidentUuid;
}
public DescribeAttackTimeLineResponseBodyData setLogTime(String logTime) {
this.logTime = logTime;
return this;
}
public String getLogTime() {
return this.logTime;
}
}
}