Export the vulnerability list.
Operation description
Use this API to export lists of vulnerabilities, including Linux Software, Windows System, Web-CMS, Application, and Emergency vulnerabilities.
This API works with the DescribeVulExportInfo API. After you start a vulnerability export task, call the DescribeVulExportInfo API with the task ID to track its progress.
QPS limit
The QPS limit for this API is 10 requests per second per user. Exceeding this limit causes throttling, which can disrupt your business operations. Plan your API calls accordingly.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ExportVul |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the request and response. Default value: zh. Valid values:
|
zh |
| Type |
string |
Yes |
The type of vulnerability to export. Valid values:
|
app |
| Uuids |
string |
No |
The UUIDs of servers. You can specify multiple UUIDs. Separate them with commas (,). |
1587bedb-fdb4-48c4-9330-**** |
| AliasName |
string |
No |
The name of the vulnerability. |
RHSA-2019:3197-Important: sudo security update |
| Necessity |
string |
No |
The priorities to fix the vulnerabilities. You can specify multiple priorities. Separate them with commas (,). Valid values:
|
asap |
| Dealed |
string |
No |
Specifies whether the vulnerability is fixed. Valid values:
|
n |
| GroupId |
string |
No |
The ID of the server group. Note
You can call the DescribeAllGroups operation to query the IDs of server groups. |
8834224 |
| SearchTags |
string |
No |
The tag that is used to filter vulnerabilities. Valid values:
|
Restart required |
| AttachTypes |
string |
No |
The additional vulnerability type. You must specify this parameter when you set the Type parameter to app. The value is fixed as sca. Note
If you set the AttachTypes parameter to sca, you can query for application vulnerabilities (app) and software component analysis (sca) vulnerabilities. If you do not set this parameter, only application vulnerabilities are queried. |
sca |
| VpcInstanceIds |
string |
No |
The IDs of the virtual private cloud (VPC) instances in which the vulnerabilities are detected. You can specify multiple VPC IDs. Separate them with commas (,). Note
You can call the DescribeVpcList operation to query the IDs of VPCs. |
ins-133****,ins-5414**** |
| CveId |
string |
No |
The CVE ID. |
CVE-2022-44702 |
| Path |
string |
No |
The path of the process. |
/etc/test |
| ContainerName |
string |
No |
The name of the container. |
xxljob-7b87597b99-mcskr |
| ImageName |
string |
No |
The name of the image. |
container-***:**** |
| CreateTsStart |
integer |
No |
The start time of the first scan. Note
The value is a UNIX timestamp. Unit: milliseconds. |
1696128144000 |
| CreateTsEnd |
integer |
No |
The end time of the first scan. Note
The value is a UNIX timestamp. Unit: milliseconds. |
1696186800000 |
| RaspDefend |
integer |
No |
Specifies whether RASP is supported. Valid values:
|
0 |
| VulEntityList |
array<object> |
No |
The information about the vulnerability. |
|
|
object |
No |
The information about the vulnerability. |
||
| EntityVersion |
string |
No |
The version of the component. |
1.0.0 |
| EntityName |
string |
No |
The name of the component. |
Ollama |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The details of the vulnerability export task. |
||
| RequestId |
string |
The unique identifier for the request. Alibaba Cloud generates this ID for each request. Use this ID for troubleshooting and support. |
E1FAB2B8-DF4D-55DF-BC3D-5C3CA6FD5B13 |
| FileName |
string |
The name of the exported file. |
app_20211101 |
| Id |
integer |
The ID of the export task. |
81634 |
Examples
Success response
JSON format
{
"RequestId": "E1FAB2B8-DF4D-55DF-BC3D-5C3CA6FD5B13",
"FileName": "app_20211101",
"Id": 81634
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | FreeVersionNotPermit | Free version is not permitted. | The free version cannot be used. |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.