Retrieves the list of vulnerability switch configurations.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeVulTargetStatistics |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Type |
string |
No |
The type of vulnerability to query. Valid values:
|
cve |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| CurrentPage |
integer |
The page number of the current page when paging is used in a paged query. |
1 |
| RequestId |
string |
The request ID. |
23AD0BD2-8771-5647-819E-6BA51E212F80 |
| PageSize |
integer |
The maximum number of entries per page when paging is used in a paged query. |
10 |
| TotalCount |
integer |
The total number of entries returned. |
1 |
| TargetStats |
array<object> |
The statistics of vulnerability configurations. |
|
|
array<object> |
The vulnerability configuration statistics. |
||
| VulType |
string |
The type of vulnerability to query. Valid values:
|
cve |
| TotalCount |
integer |
The total number of assets returned. |
1 |
| UuidCount |
integer |
The number of servers on which the configuration takes effect. |
1 |
| Targets |
array<object> |
The list of target servers for the assets. |
|
|
object |
The asset configuration information. |
||
| Flag |
string |
Indicates whether the configurations are applied to the server. Valid values:
|
add |
| Target |
string |
The group ID or UUID of the server to which the configurations are applied. |
0011ea53-738c-4bff-93be-ce6a1cc9**** |
| TargetType |
string |
The condition by which the configurations are applied to the server. Valid values:
|
uuid |
Examples
Success response
JSON format
{
"CurrentPage": 1,
"RequestId": "23AD0BD2-8771-5647-819E-6BA51E212F80",
"PageSize": 10,
"TotalCount": 1,
"TargetStats": [
{
"VulType": "cve",
"TotalCount": 1,
"UuidCount": 1,
"Targets": [
{
"Flag": "add",
"Target": "0011ea53-738c-4bff-93be-ce6a1cc9****",
"TargetType": "uuid"
}
]
}
]
}
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.