ci:DescribeAuditingVirusJob permission is required to view all Cloud Infinite actions.GET /virus/detect/<jobId> HTTP/1.1Host: <BucketName-APPID>.ci.<Region>.myqcloud.comDate: <GMT Date>Authorization: <Auth String>
<Response><JobsDetail><Code></Code><Message></Message><JobId></JobId><State></State><CreationTime></CreationTime><Object></Object><Suggestion></Suggestion><DetectDetail><Result><FileName></FileName><VirusName></VirusName></Result><Result><FileName></FileName><VirusName></VirusName></Result></DetectDetail></JobsDetail><RequestId></RequestId></Response>
Node Name (Keyword) | Parent Node | Description | Type |
Response | None. | Virus detection task result. | Container |
Node Name (Keyword) | Parent Node | Description | Type |
JobsDetail | Response | Detailed information of the virus detection task. | Container |
Node Name (Keyword) | Parent Node | Description | Type |
Code | Response.JobsDetail | Error code, which is meaningful only when State is Failed. | String |
Message | Response.JobsDetail | Error description, which is meaningful only when State is Failed. | String |
JobId | Response.JobsDetail | This time's virus detection task ID. | String |
State | Response.JobsDetail | The status of the virus detection task, which can be one of the following: Submitted (detection submitted), Success (detection succeeded), Failed (detection failed), Auditing (detecting). | String |
CreationTime | Response.JobsDetail | Virus detection task creation time. | String |
Object | Response.JobsDetail | When the detected files are stored in COS, this field represents the file name of this detection. | String |
Suggestion | Response.JobsDetail | This field represents the detection result of this judgment. Based on this result, you can perform subsequent operations. It is recommended that you handle different detection results accordingly based on business needs. Valid values: normal (detection normal), block (virus detected in the file). | String |
DetectDetail | Response.JobsDetail | Detailed information of this detection. | Container Array |
Url | Response.JobsDetail | When the detected file is a file link, this field represents the file link of this detection. | String |
Node Name (Keyword) | Parent Node | Description | Type |
Result | Response.JobsDetail.DetectDetail | Detection result of a single file. Multiple results may exist. | Array |
Node Name (Keyword) | Parent Node | Description | Type |
FileName | Response.JobsDetail.DetectDetail.Result | The name of the detected file. If it is a compressed file, this field represents the specific file name inside after decompression. | String |
VirusName | Response.JobsDetail.DetectDetail.Result | Detected virus name. | String |
GET /virus/detect/ssb1ca9fc8a3ed11ea834c525400863904 HTTP/1.1Accept: */*Authorization: q-sign-algorithm=sha1&q-ak=**********************************&q-sign-time=1497530202;1497610202&q-key-time=1497530202;1497610202&q-header-list=&q-url-param-list=&q-signature=**************************************Host: examplebucket-1250000000.ci.ap-beijing.myqcloud.com
HTTP/1.1 200 OKContent-Type: application/xmlContent-Length: 666Connection: keep-aliveDate: Thu, 15 Jun 2017 12:37:29 GMTServer: tencent-cix-ci-request-id: NTk0MjdmODlfMjQ4OGY3XzYzYzhf****<Response><JobsDetail><Code>Success</Code><Message>Success</Message><JobId>ss364c726b370211ec8fb35254008618d9</JobId><State>Success</State><CreationTime>2021-07-07T12:12:12+0800</CreationTime><Object>a.doc</Object><Suggestion>block</Suggestion><DetectDetail><Result><FileName>xxx</FileName><VirusName>Bk.YDWebShell.Php.Small.11100752</VirusName></Result><Result><FileName>xxx</FileName><VirusName>Bk.YDWebShell.Php.Small.11100752</VirusName></Result></DetectDetail></JobsDetail></Response>
Feedback