Retrieves the scan information of the latest virus scan.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:GetVirusScanLatestTaskStatistic |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. Alibaba Cloud generates a unique identifier for each request. You can use the ID to troubleshoot issues. |
7532B7EE-7CE7-5F4D-BF04-B12447DDCAE1 |
| Data |
object |
The custom result data. |
|
| TaskId |
string |
The ID of the scan task. |
fc98d58eb56f699d49bf7ebbd6d7**** |
| ScanTime |
integer |
The timestamp of the scan. Unit: milliseconds. |
1681145862000 |
| Status |
integer |
The status of the scan task. Valid values for the main task:
Valid values for the subtask:
|
0 |
| SuspiciousCount |
integer |
The number of security alerts detected by the scan. |
2 |
| SuspiciousMachine |
integer |
The number of servers on which risks are detected. |
2 |
| SafeMachine |
integer |
The number of servers on which no risks are detected. |
1 |
| ScanMachine |
integer |
The number of servers scanned in this virus scan. |
3 |
| ScanType |
string |
The scan type of this virus scan. Valid values:
|
system |
| ScanPath |
array |
The file paths specified for scanning when the scan type is user-defined. |
|
|
string |
The file path. |
C:/test1 |
|
| Progress |
string |
The progress percentage of the scan task. |
92 |
| MachineName |
string |
The name of the server. |
testMahine1 |
| CompleteMachine |
integer |
The number of servers that completed the scan. |
2 |
| UnCompleteMachine |
integer |
The number of servers that have not completed the scan or failed the scan. |
1 |
| RiskLevel |
string |
The highest risk level of the alerts detected by the scan. Valid values:
|
medium |
Examples
Success response
JSON format
{
"RequestId": "7532B7EE-7CE7-5F4D-BF04-B12447DDCAE1",
"Data": {
"TaskId": "fc98d58eb56f699d49bf7ebbd6d7****",
"ScanTime": 1681145862000,
"Status": 0,
"SuspiciousCount": 2,
"SuspiciousMachine": 2,
"SafeMachine": 1,
"ScanMachine": 3,
"ScanType": "system",
"ScanPath": [
"C:/test1"
],
"Progress": "92",
"MachineName": "testMahine1",
"CompleteMachine": 2,
"UnCompleteMachine": 1,
"RiskLevel": "medium"
}
}
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.