GET
https://api.vscanner.ai/v1/api/scan/<ENQUEUED_SCAN_ID>?language=en
Query Parameters
Name | Type | Description |
language |
String | Language of the returned vulnerability descriptions. 'pt' for Brazilian Portuguese and 'en' for English. Default: 'en' |
issue_types | Boolean |
Returns issues grouped by types. Default: false |
200: Ok Successful Response
404: Not Found Scan ID
422: Unprocessable Entity Validation Error
404: Not Found Scan not initiates yet
Fetches the result of a given scan id.
Example cURL request
curl --location 'https://api.vscanner.ai/v1/api/scan/<ENQUEUED_SCAN_ID>?language=en?issue_types=true' \
--header 'Authorization: Bearer <API_KEY>'
Example Python request
import requests
api_key = <API_KEY>
enqueue_scan_id = <ENQUEUED_SCAN_ID>
url = f"https://api.vscanner.ai/v1/api/scan/{enqueue_scan_id}"
payload={}
headers = {
'Authorization': f"Bearer {api_key}",
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.json())
*Filling in the API_KEY value is mandatory.
Return
The request response, in JSON format, contains the results and the status of the scan.
Successful response
For this example response, the URL: https://example.com was used.
result of a
given scan id.
Comments
0 comments
Please sign in to leave a comment.