public static final class ExportVulRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ExportVulRequest.Builder |
aliasName(String aliasName)
The name of the vulnerability.
|
ExportVulRequest.Builder |
attachTypes(String attachTypes)
The additional type of the vulnerabilities.
|
ExportVulRequest |
build() |
ExportVulRequest.Builder |
containerName(String containerName)
The name of the container that is affected by the vulnerability.
|
ExportVulRequest.Builder |
createTsEnd(Long createTsEnd)
The end time of the first scan.
|
ExportVulRequest.Builder |
createTsStart(Long createTsStart)
The start time of the first scan.
|
ExportVulRequest.Builder |
cveId(String cveId)
The Common Vulnerabilities and Exposures (CVE) ID of the vulnerability.
|
ExportVulRequest.Builder |
dealed(String dealed)
Specifies whether the vulnerability is fixed.
|
ExportVulRequest.Builder |
groupId(String groupId)
The server group ID of the server on which the vulnerabilities are detected.
|
ExportVulRequest.Builder |
imageName(String imageName)
The name of the image that is affected by the vulnerability.
|
ExportVulRequest.Builder |
lang(String lang)
The language of the content within the request and response.
|
ExportVulRequest.Builder |
necessity(String necessity)
The priority to fix the vulnerability.
|
ExportVulRequest.Builder |
path(String path)
The path of the process that is affected by the vulnerability.
|
ExportVulRequest.Builder |
raspDefend(Integer raspDefend)
Indicates whether the application protection feature is supported.
|
ExportVulRequest.Builder |
searchTags(String searchTags)
The tag that is used to search for the vulnerabilities.
|
ExportVulRequest.Builder |
type(String type)
The type of the vulnerability that you want to export.
|
ExportVulRequest.Builder |
uuids(String uuids)
The UUID of the server on which the vulnerabilities are detected.
|
ExportVulRequest.Builder |
vpcInstanceIds(String vpcInstanceIds)
The ID of the virtual private cloud (VPC) in which the vulnerabilities are detected.
|
ExportVulRequest.Builder |
vulEntityList(List<ExportVulRequest.VulEntityList> vulEntityList)
VulEntityList.
|
public ExportVulRequest.Builder aliasName(String aliasName)
The name of the vulnerability.
example:RHSA-2019:3197-Important: sudo security update
public ExportVulRequest.Builder attachTypes(String attachTypes)
The additional type of the vulnerabilities. You need to specify this parameter when you query application vulnerabilities. If you set the Type parameter to app, you must specify this parameter. Set the value to sca.
example:If this parameter is set to sca, application vulnerabilities and the vulnerabilities that are detected based on software component analysis are queried. If you do not specify this parameter, only application vulnerabilities are queried.
sca
public ExportVulRequest.Builder containerName(String containerName)
The name of the container that is affected by the vulnerability.
example:xxljob-7b87597b99-mcskr
public ExportVulRequest.Builder createTsEnd(Long createTsEnd)
The end time of the first scan.
example:This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
1696186800000
public ExportVulRequest.Builder createTsStart(Long createTsStart)
The start time of the first scan.
example:This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
1696128144000
public ExportVulRequest.Builder cveId(String cveId)
The Common Vulnerabilities and Exposures (CVE) ID of the vulnerability.
example:CVE-2022-44702
public ExportVulRequest.Builder dealed(String dealed)
Specifies whether the vulnerability is fixed. Valid values:
n
public ExportVulRequest.Builder groupId(String groupId)
The server group ID of the server on which the vulnerabilities are detected.
example:You can call the DescribeAllGroups operation to query the IDs of server groups.
8834224
public ExportVulRequest.Builder imageName(String imageName)
The name of the image that is affected by the vulnerability.
example:container-:*
public ExportVulRequest.Builder lang(String lang)
The language of the content within the request and response. Default value: zh. Valid values:
zh
public ExportVulRequest.Builder necessity(String necessity)
The priority to fix the vulnerability. Separate multiple priorities with commas (,). Valid values:
asap
public ExportVulRequest.Builder path(String path)
The path of the process that is affected by the vulnerability.
example:/etc/test
public ExportVulRequest.Builder raspDefend(Integer raspDefend)
Indicates whether the application protection feature is supported. Valid values:
0: no.
1: yes.
0
public ExportVulRequest.Builder searchTags(String searchTags)
The tag that is used to search for the vulnerabilities. Valid values:
Restart required
public ExportVulRequest.Builder type(String type)
The type of the vulnerability that you want to export. Valid values:
This parameter is required.
example:app
public ExportVulRequest.Builder uuids(String uuids)
The UUID of the server on which the vulnerabilities are detected. Separate multiple UUIDs with commas (,).
example:1587bedb-fdb4-48c4-9330-****
public ExportVulRequest.Builder vpcInstanceIds(String vpcInstanceIds)
The ID of the virtual private cloud (VPC) in which the vulnerabilities are detected. Separate multiple IDs with commas (,).
example:You can call the DescribeVpcList operation to query the IDs of VPCs.
ins-133****,ins-5414****
public ExportVulRequest.Builder vulEntityList(List<ExportVulRequest.VulEntityList> vulEntityList)
public ExportVulRequest build()
Copyright © 2026. All rights reserved.