Queries the status of a vulnerability scanning node for a specified server.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeVulCheckTaskStatusDetail |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TaskIds |
array |
No |
The list of task IDs. |
|
|
string |
No |
The task ID of the server. |
ad8afca3914a5fff4636e67f18e259c7 |
|
| Types |
array |
No |
The list of vulnerability types for the one-click scan. |
|
|
string |
No |
The vulnerability type. Valid values:
|
sca |
|
| Uuid |
string |
No |
The UUID of the server to query. This parameter is required. If this parameter is not specified, the API returns HTTP 503 with the error code ServiceUnavailable. |
5d55af3c-35f3-4d4d-8ccc-8c5443b0**** |
| ResourceDirectoryAccountId |
integer |
No |
The Alibaba Cloud account ID of the member accounts in the resource folder. Note
Invoke the DescribeMonitorAccounts operation to obtain this parameter. |
127608589417**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| TotalCount |
integer |
The total number of vulnerability subtasks for the server. |
1 |
| RequestId |
string |
The request ID. |
BE120DAB-F4E7-4C53-ADC3-A97578ABF384 |
| TaskStatuses |
array<object> |
The list of vulnerability task statuses for the server. |
|
|
array<object> |
The vulnerability main task status struct. |
||
| TaskId |
string |
The main task ID. |
16190385 |
| TaskStatusList |
array<object> |
The list of vulnerability detection task statuses. |
|
|
object |
The vulnerability subtask status struct. |
||
| Type |
string |
The vulnerability type. Valid values:
|
cve |
| Status |
string |
The check completion status. Valid values:
|
4 |
| Code |
string |
The failure code. |
push_command_failed |
Examples
Success response
JSON format
{
"TotalCount": 1,
"RequestId": "BE120DAB-F4E7-4C53-ADC3-A97578ABF384",
"TaskStatuses": [
{
"TaskId": "16190385",
"TaskStatusList": [
{
"Type": "cve",
"Status": "4",
"Code": "push_command_failed"
}
]
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalParam | Illegal param | |
| 400 | RdCheckNoPermission | Resource directory account verification has no permission. | |
| 500 | ServerError | ServerError | |
| 500 | RdCheckInnerError | Resource directory account service internal error. | |
| 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.