Tool output upload endpoint

As of Dradis v4.17 you can upload tool output (e.g. Nessus, Burp, etc.) to projects via the API.

Uploads belong to a Project

Define the Dradis-Project-Id HTTP header to choose the project that receives the tool output.

POST /pro/api/upload

Starts 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/:id

You 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 →

Seven Strategies To Differentiate Your Cybersecurity Consultancy

You don't need to reinvent the wheel to stand out from other cybersecurity consultancies. Often, it's about doing the simple things better, and clearly communicating what sets you apart.

  • Tell your story better
  • Improve your testimonials and case studies
  • Build strategic partnerships

Loading form...

Your email is kept private. We don't do the spam thing.