public static final class GetVulWhitelistResponseBody.VulWhitelist.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
GetVulWhitelistResponseBody.VulWhitelist.Builder |
aliasName(String aliasName)
The alias of the vulnerability.
|
GetVulWhitelistResponseBody.VulWhitelist |
build() |
GetVulWhitelistResponseBody.VulWhitelist.Builder |
id(Long id)
The ID of the whitelist.
|
GetVulWhitelistResponseBody.VulWhitelist.Builder |
name(String name)
The name of the vulnerability.
|
GetVulWhitelistResponseBody.VulWhitelist.Builder |
reason(String reason)
The reason why the vulnerability is added to the whitelist.
|
GetVulWhitelistResponseBody.VulWhitelist.Builder |
target(String target)
The application scope of the rule.
|
GetVulWhitelistResponseBody.VulWhitelist.Builder |
type(String type)
The type of the vulnerability.
|
GetVulWhitelistResponseBody.VulWhitelist.Builder |
whitelist(String whitelist)
The information about the vulnerability that is added to the whitelist.
|
public GetVulWhitelistResponseBody.VulWhitelist.Builder aliasName(String aliasName)
public GetVulWhitelistResponseBody.VulWhitelist.Builder id(Long id)
public GetVulWhitelistResponseBody.VulWhitelist.Builder name(String name)
public GetVulWhitelistResponseBody.VulWhitelist.Builder reason(String reason)
public GetVulWhitelistResponseBody.VulWhitelist.Builder target(String target)
* **type**: the type of the assets to which the rule is applied. Valid values: * **Uuid**: server * **GroupId**: server group * **groupIds**: the ID of the server group * **uuids**: the UUID of the server > If this parameter is empty, the rule is applied to all types of assets.
public GetVulWhitelistResponseBody.VulWhitelist.Builder type(String type)
public GetVulWhitelistResponseBody.VulWhitelist.Builder whitelist(String whitelist)
* **Name**: the name of the vulnerability. * **Type**: the type of the vulnerability. Valid values: * **cve**: Linux software vulnerability * **sys**: Windows system vulnerability * **cms**: Web-CMS vulnerability * **app**: application vulnerability * **emg**: urgent vulnerabilities * **AliasName**: the alias of the vulnerability.
public GetVulWhitelistResponseBody.VulWhitelist build()
Copyright © 2023. All rights reserved.