Requête d'obtention des informations sur une session concrète

Chemin

http://<server>:<port>/scans/<ID unique de session d'analyse>[?force]

Exemple de réponse :

{

"completed": "Mon, 01 Mar 2021 06:45:19 GMT",

"created": "Mon, 01 Mar 2021 06:45:19 GMT",

"progress": 100,

"scan_result": {

"noname": {

"started": "2021-03-01 06:45:19",

"stopped": "2021-03-01 06:45:19",

"threats": [

{

"name": "EICAR-Test-File",

"object": "/root/kesl-service/tmp/65b55d89-b758-4609-a2f3-f63ef839815d"

}

],

"verdict": "infected"

}

},

"status": "completed",

"verdicts": [

"infected"

]

}

Haut de page