Queries vulnerability management configuration information.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeVulConfig |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SourceIp |
string |
No |
The source IP address of the request. |
113.110.XX.XX |
| Type |
string |
No |
The type of vulnerability management configuration. By default, all types of configurations are queried. Valid values:
|
cve |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The vulnerability management configuration information. |
||
| TotalCount |
integer |
The total number of configuration entries. |
10 |
| RequestId |
string |
The request ID. It is a unique identifier generated by Alibaba Cloud for the request and can be used to troubleshoot issues. |
24A20733-10A0-4AF6-BE6B-E3322413BB68 |
| TargetConfigs |
array<object> |
The list of vulnerability management configurations. |
|
|
object |
The vulnerability management configuration. |
||
| Type |
string |
The type of vulnerability management configuration. Valid values:
|
cve |
| OverAllConfig |
string |
The global switch. Valid values:
|
on |
| Config |
string |
The vulnerability scanning configuration. Note
If type is cve, sys, cms, app, emg, or yum, valid values are:
If type is scanMode, valid values are:
If type is imageVulClean, this value indicates the vulnerability retention period in days. |
90 |
Examples
Success response
JSON format
{
"TotalCount": 10,
"RequestId": "24A20733-10A0-4AF6-BE6B-E3322413BB68",
"TargetConfigs": [
{
"Type": "cve",
"OverAllConfig": "on",
"Config": "90"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.