public static final class DescribeVulWhitelistResponseBody.VulWhitelists.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
DescribeVulWhitelistResponseBody.VulWhitelists.Builder |
aliasName(String aliasName)
The alias of the vulnerability.
|
DescribeVulWhitelistResponseBody.VulWhitelists |
build() |
DescribeVulWhitelistResponseBody.VulWhitelists.Builder |
id(String id)
The ID of the rule.
|
DescribeVulWhitelistResponseBody.VulWhitelists.Builder |
name(String name)
The name of the vulnerability.
|
DescribeVulWhitelistResponseBody.VulWhitelists.Builder |
reason(String reason)
The reason why the vulnerability is added to the whitelist.
|
DescribeVulWhitelistResponseBody.VulWhitelists.Builder |
targetInfo(String targetInfo)
The application scope of the rule.
|
DescribeVulWhitelistResponseBody.VulWhitelists.Builder |
type(String type)
The type of the vulnerability.
|
DescribeVulWhitelistResponseBody.VulWhitelists.Builder |
whitelist(String whitelist)
The information about the vulnerability.
|
public DescribeVulWhitelistResponseBody.VulWhitelists.Builder aliasName(String aliasName)
The alias of the vulnerability.
example:RHSA-2017:3263: curl security update
public DescribeVulWhitelistResponseBody.VulWhitelists.Builder id(String id)
The ID of the rule.
example:1275
public DescribeVulWhitelistResponseBody.VulWhitelists.Builder name(String name)
The name of the vulnerability.
example:oval:com.redhat.rhsa:def:20173263
public DescribeVulWhitelistResponseBody.VulWhitelists.Builder reason(String reason)
The reason why the vulnerability is added to the whitelist.
example:ignore
public DescribeVulWhitelistResponseBody.VulWhitelists.Builder targetInfo(String targetInfo)
The application scope of the rule. The value is a JSON string that contains the following fields:
type: the type of the assets to which the rule is applied. Valid values:
groupIds: the ID of the server group
uuids: the UUID of the server
example:If this field is empty, the rule is applied to all assets.
{"type":"GroupId","groupIds":[916****],"uuids":[]}
public DescribeVulWhitelistResponseBody.VulWhitelists.Builder type(String type)
The type of the vulnerability.
example:cve
public DescribeVulWhitelistResponseBody.VulWhitelists.Builder whitelist(String whitelist)
The information about the vulnerability. The value of this parameter is in the JSON format. Valid values:
[{ "name":"oval:com.redhat.rhsa:def:20173263", "type":"cve", "aliasName":"RHSA-2017:3263: curl security update" }]
public DescribeVulWhitelistResponseBody.VulWhitelists build()
Copyright © 2026. All rights reserved.