com.aliyun.sas20181203.models.ModifyVulConfigRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sas20181203.models;
import com.aliyun.tea.*;
public class ModifyVulConfigRequest extends TeaModel {
/**
* Specifies whether to enable the vulnerability scan feature. Valid values:
*
* * **on**: enables the feature
* * **off**: disables the feature
*
* > Valid values when you set the Type parameter to scanMode:
*
* * **real**: displays only easily exploitable vulnerabilities.
*
* * **all**: displays all vulnerabilities.
*/
@NameInMap("Config")
public String config;
/**
* The type of the vulnerability. Valid values:
*
* * **cve**: Linux software vulnerability
* * **sys**: Windows system vulnerability
* * **cms**: Web-CMS vulnerability
* * **emg**: urgent vulnerability
* * **app**: application vulnerability
* * **yum**: YUM and APT source configuration
* * **scanMode**: easily exploitable vulnerability
*/
@NameInMap("Type")
public String type;
public static ModifyVulConfigRequest build(java.util.Map map) throws Exception {
ModifyVulConfigRequest self = new ModifyVulConfigRequest();
return TeaModel.build(map, self);
}
public ModifyVulConfigRequest setConfig(String config) {
this.config = config;
return this;
}
public String getConfig() {
return this.config;
}
public ModifyVulConfigRequest setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
}