As of Dradis v4.17 you can upload tool output (e.g. Nessus, Burp, etc.) to projects via the API.
Define the Dradis-Project-Id HTTP header to choose the project that receives the tool output.
POST /pro/api/uploadStarts a job that imports a tool output file into the project.
| Accepted Parameter | Use |
|---|---|
file |
The tool output file to upload. |
uploader |
Defines the integration uploader (e.g. Nessus, Burp, etc.) to be used for a POST file upload action. |
state |
The state given to the imported Issues. Valid values are draft, ready_for_review or published. Any other value returns a 404. |
Sample request:
curl -X POST -k -H 'Authorization: Token token="xMsNwttqN5bVNEYcrIF01s65"' \
-H 'Content-Type: multipart/form-data' \
-H 'Dradis-Project-Id: 1' \
-F "file=@/path/to/myfile.nessus" \
-F 'uploader=Dradis::Plugins::Nessus' \
-F 'state=draft' \
https://dradis-pro.dev/pro/api/upload
GET /pro/api/upload/:idYou can then query the status of the upload job with the following:
curl -k -H 'Authorization: Token token="xMsNwttqN5bVNEYcrIF01s65"' \
https://dradis-pro.dev/pro/api/upload/1
Next help article: Export and reports endpoint →
Loading form...
Your email is kept private. We don't do the spam thing.