Import uploaded scan
POST {{baseUrl}}/scans/import?include_aggregate=1
Import an existing scan uploaded using the Upload File endpoint. Tenable.io supports scan imports up to 4 GB in size. Note: You cannot import results from scans run more than 15 months ago.
Requires BASIC [16] user permissions. See Permissions.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
include_aggregate | number | Specifies whether to include the imported scan data in the vulnerabilities dashboard views. To include, use 1 . To exclude, use 0 . If you don't specify the include_aggregate parameter, the data does not appear in the dashboard. |
Request Body
{"file"=>"nostrud officia commodo proident in", "folder_id"=>98659883, "password"=>"Ut velit amet"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"scan":{"timezone":null,"id":38,"last_modification_date":1544219402,"status":"imported","user_permissions":128,"folder_id":null,"owner":"user2@example.com","control":null,"starttime":null,"uuid":"25f3b839-3e4b-aa38-252f-f4614dbe5b170e3fa8eea4c7cb27","rrules":null,"creation_date":1544219402,"read":false,"name":"KitchenSinkScan","shared":false}}