Queries the machine list settings for vulnerability scanning.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeTarget |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Type |
string |
No |
The query type. Set this parameter to vul. |
vul |
| Config |
string |
No |
The vulnerability type. Valid values:
|
{"vulType":"cms"} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| TotalCount |
integer |
The total number of machine configuration entries returned. |
10 |
| RequestId |
string |
The request ID. |
79CFF74D-E967-5407-8A78-EE03B925FDAA |
| Targets |
array<object> |
The machine settings for the vulnerability type. |
|
|
object |
The target object. |
||
| Flag |
string |
The flag. This parameter can be empty. |
del |
| Target |
string |
The target. The value is a machine UUID or a machine group ID. |
5c5f0169-3527-40a2-b5ff-0bc1db8f**** |
| TargetType |
string |
The target type. Valid values:
|
uuid |
Examples
Success response
JSON format
{
"TotalCount": 10,
"RequestId": "79CFF74D-E967-5407-8A78-EE03B925FDAA",
"Targets": [
{
"Flag": "del",
"Target": "5c5f0169-3527-40a2-b5ff-0bc1db8f****",
"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.