OpenAI is partnering with Hacktron to find vulnerabilities in its systems. Read the announcement.

Skip to content Hacktron Sign in [S]
Hacktron Sign in [S] Customers Docs Contact Sign in

Export scan findings

1 min
, View, ChatGPT, Claude, Perplexity, OpenAPI

Copy page

Export scan findings

View MarkdownOpen in ChatGPTOpen in ClaudeOpen in PerplexityDownload OpenAPI

Returns every approved finding for a scan in one of three formats. Unlike GET /scans/{id}/findings, this endpoint isn’t paginated, so every finding comes back in one response.

format=json

Content-Type: application/json; charset=utf-8

Returns a JSON array of finding objects, each matching the schema in GET /findings.

format=csv

Content-Type: text/csv; charset=utf-8
Content-Disposition: attachment; filename="findings-<scanId>.csv"

Returns a CSV document with a header row and one row per finding, for spreadsheets, BI tools, and ad hoc review.

format=sarif

Content-Type: application/sarif+json; charset=utf-8
Content-Disposition: attachment; filename="findings-<scanId>.sarif"

Returns a SARIF 2.1.0 document. GitHub code scanning, Azure DevOps, and most IDE security plugins read SARIF, so use this format to bring Hacktron findings into the security tooling you already use.

Request

GET /scans/{id}/findings/export

Send an API key with the read scope in the X-Api-Key header.

Path parameters

ParameterDescription
id
string, required

Query parameters

ParameterDescription
format
string, required
Export format. One of json, csv, or sarif.

Responses

200 OK

[↓] [↑] [enter] to visit
Menu
[M]
Next in menu
[J]
Previous in menu
[K]
Find
[F]
Ask
[A]
Sign in
[S]
Copy page
[C]
Listen
[L]
Justification
[R]
Language
[G]
Dark mode
[D]
High contrast
[H]
Shortcuts
[I]
Close
[Esc]