You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It doesn't seem to have an option to scan for vulnerable files. According to AWS docs:
Step 2: Send the File for Scanning
To send the file for scanning, you will need to:
Specify the headers. This should include content type and the authentication token. Content types can be multipart/form-data or a binary stream.
Get the file as your language dictates.
HTTP POST the file and headers <baseURL> + /api/Scan.
headers = {"Prefer": "respond-async", "Content-Type": form.content_type, 'Authorization': 'Bearer ' + accessToken}
r = session.post("https://<baseURL to load balancer or friendly URL>/api/Scan", headers=headers, data=form, timeout=4000)
This will return the following response:
{
"dateScanned": "2021-07-02T07:04:18.8896831Z",
"detectedInfections": [],
"errorMessage": null,
"result": "Clean"
}
The text was updated successfully, but these errors were encountered:
It doesn't seem to have an option to scan for vulnerable files. According to AWS docs:
The text was updated successfully, but these errors were encountered: