com.aliyun.sas20181203.models.ExportWarningRequest 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 ExportWarningRequest extends TeaModel {
/**
* Specifies whether the baseline risks are handled. Valid values:
*
* - Y: yes
* - N: no
*
*
* example:
* N
*/
@NameInMap("Dealed")
public String dealed;
/**
* The type of the export task. Set the value to hc_check_warning, which indicates tasks to export baseline check results.
*
* example:
* hc_check_warning
*/
@NameInMap("ExportType")
public String exportType;
/**
* The ID of the server group.
*
* You can call the DescribeAllGroups operation to query the IDs of server groups.
*
*
* example:
* 13007754
*/
@NameInMap("GroupId")
public Long groupId;
/**
* The export method of the results for the weak password baseline check. Valid values:
*
* - 0: exports the check results after it is masked.
* - 1: exports the check results in plaintext.
*
*
* example:
* 0
*/
@NameInMap("IsCleartextPwd")
public Integer isCleartextPwd;
/**
* Specifies whether the baseline check results are aggregated and exported. Valid values:
*
* - 0: no
* - 1: yes
*
*
* example:
* 1
*/
@NameInMap("IsSummaryExport")
public Integer isSummaryExport;
/**
* The language of the content within the request and response. Default value: zh. Valid values:
*
* - zh: Chinese
* - en: English
*
*
* example:
* zh
*/
@NameInMap("Lang")
public String lang;
/**
* The ID of the risk item in the baseline check results. Separate multiple IDs with commas (,).
*
* example:
* 123,124
*/
@NameInMap("RiskIds")
public String riskIds;
/**
* The severity of the baseline check item. Separate multiple severities with commas (,). Valid values:
*
* - high
* - medium
* - low
*
*
* example:
* high,medium
*/
@NameInMap("RiskLevels")
public String riskLevels;
/**
* The name of the baseline.
*
* example:
* Alibaba Cloud Standard - Windows 2016/2019 Security Baseline
*/
@NameInMap("RiskName")
public String riskName;
/**
* The source IP address of the request.
*
* example:
* 192.0.XX.XX
*/
@NameInMap("SourceIp")
public String sourceIp;
/**
* The status of the check item in the baseline check results. Separate multiple statuses with commas (,). Valid values:
*
* - 3: passed
* - 1: failed
*
*
* example:
* 1,3
*/
@NameInMap("StatusList")
public String statusList;
/**
* The ID of the baseline check policy.
*
* example:
* 12
*/
@NameInMap("StrategyId")
public Long strategyId;
/**
* The subtypes of the baselines based on which baseline checks are performed. Separate multiple subtypes with commas (,).
*
* You must set the value of this parameter to the value of the TypeName parameter that is contained in the SubTypes parameter. You can call the DescribeRiskType operation to obtain the value of the TypeName parameter.
*
*
* example:
* hc_middleware_ack_master
*/
@NameInMap("SubTypeNames")
public String subTypeNames;
/**
* The type of the baseline based on which baseline checks are performed.
*
* You must set the value of this parameter to the value of the TypeName parameter that is returned by calling the DescribeRiskType operation. If both the TypeName and TypeNames parameters are specified, only the TypeName parameter takes effect.
*
*
* example:
* hc_container
*/
@NameInMap("TypeName")
public String typeName;
/**
* The types of the baselines based on which baseline checks are performed. Separate multiple types with commas (,).
*
* You must set the value of this parameter to the value of the TypeName parameter that is returned by calling the DescribeRiskType operation. If both the TypeName and TypeNames parameters are specified, only the TypeName parameter takes effect.
*
*
* example:
* hc_container,cis
*/
@NameInMap("TypeNames")
public String typeNames;
/**
* The UUID of the server whose baseline check results you want to export. Separate multiple UUIDs with commas (,).
*
* example:
* inet-7c676676-06fa-442e-90fb-b802e****,inet-7c676676-06fa-442e-90fb-b****
*/
@NameInMap("Uuids")
public String uuids;
public static ExportWarningRequest build(java.util.Map map) throws Exception {
ExportWarningRequest self = new ExportWarningRequest();
return TeaModel.build(map, self);
}
public ExportWarningRequest setDealed(String dealed) {
this.dealed = dealed;
return this;
}
public String getDealed() {
return this.dealed;
}
public ExportWarningRequest setExportType(String exportType) {
this.exportType = exportType;
return this;
}
public String getExportType() {
return this.exportType;
}
public ExportWarningRequest setGroupId(Long groupId) {
this.groupId = groupId;
return this;
}
public Long getGroupId() {
return this.groupId;
}
public ExportWarningRequest setIsCleartextPwd(Integer isCleartextPwd) {
this.isCleartextPwd = isCleartextPwd;
return this;
}
public Integer getIsCleartextPwd() {
return this.isCleartextPwd;
}
public ExportWarningRequest setIsSummaryExport(Integer isSummaryExport) {
this.isSummaryExport = isSummaryExport;
return this;
}
public Integer getIsSummaryExport() {
return this.isSummaryExport;
}
public ExportWarningRequest setLang(String lang) {
this.lang = lang;
return this;
}
public String getLang() {
return this.lang;
}
public ExportWarningRequest setRiskIds(String riskIds) {
this.riskIds = riskIds;
return this;
}
public String getRiskIds() {
return this.riskIds;
}
public ExportWarningRequest setRiskLevels(String riskLevels) {
this.riskLevels = riskLevels;
return this;
}
public String getRiskLevels() {
return this.riskLevels;
}
public ExportWarningRequest setRiskName(String riskName) {
this.riskName = riskName;
return this;
}
public String getRiskName() {
return this.riskName;
}
public ExportWarningRequest setSourceIp(String sourceIp) {
this.sourceIp = sourceIp;
return this;
}
public String getSourceIp() {
return this.sourceIp;
}
public ExportWarningRequest setStatusList(String statusList) {
this.statusList = statusList;
return this;
}
public String getStatusList() {
return this.statusList;
}
public ExportWarningRequest setStrategyId(Long strategyId) {
this.strategyId = strategyId;
return this;
}
public Long getStrategyId() {
return this.strategyId;
}
public ExportWarningRequest setSubTypeNames(String subTypeNames) {
this.subTypeNames = subTypeNames;
return this;
}
public String getSubTypeNames() {
return this.subTypeNames;
}
public ExportWarningRequest setTypeName(String typeName) {
this.typeName = typeName;
return this;
}
public String getTypeName() {
return this.typeName;
}
public ExportWarningRequest setTypeNames(String typeNames) {
this.typeNames = typeNames;
return this;
}
public String getTypeNames() {
return this.typeNames;
}
public ExportWarningRequest setUuids(String uuids) {
this.uuids = uuids;
return this;
}
public String getUuids() {
return this.uuids;
}
}