block-quote On this pagechevron-down
copy Copy chevron-down
Getting Started Reports Here you can find a way to upload your reports to Purify.
To upload a report you need to have:
Project and unit within this project
When uploading reports, you have two options: via the user interface on the reports tab of a specific unit, or via the API.
Now you can upload the report as JSON or XML file.
circle-exclamation
unitName is a combination of the project name and the unit name. In the example below
The project name is osint and the unit name is google .
Copy http -f POST https://hostname/api/units/bla.bla/reports \
" apikey: $PURIFY_TOKEN " \
file@gitleaks-example.json If you already created a template for such tool, you need to provide it, so report content will be parsed automatically
Copy http -f POST https://hostname/api/units/bla.bla/reports \
" apikey: $PURIFY_TOKEN " \
template= " gitleaks " \
file@gitleaks-example.json And, of course, you can upload reports via the user interface, you can find the button for uploading at the Reports tab of a particular unit:
In addition, you can upload your results as separate JSON objects. The most common use case is getting events from the webhook from other tools or systems.
circle-exclamation
This can be done only via API.
To upload a oneshot:
To apply a template:
https://purify-develop.herokuapp.com/swagger/#/reportsarrow-up-right