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

Get a pentest report

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

Copy page

Get a pentest report

View MarkdownOpen in ChatGPTOpen in ClaudeOpen in PerplexityDownload OpenAPI

Returns a pentest’s executive summary and what it covered. Use the scan id from POST /scans or GET /scans.

  • summary is the executive summary: the risk rating with its rationale, the narrative, every finding with its ID, most severe first, the conclusion, and the next steps. It is null until one is generated, and isStale is true when the findings have changed since.
  • coverage lists each application in the code with its attack surfaces and entry points, the files and untrusted inputs of each entry point, and how many of its functions each pass analysed. It is null when the pentest recorded none.

For the findings themselves, use GET /scans/{id}/findings.

Request

GET /scans/{id}/report

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

Path parameters

ParameterDescription
id
string, required

Responses

200 OK

FieldDescription
scan_id
string (uuid), required
summary
object, required, nullable
The executive summary; null until one is generated.
summary.narrativeMarkdown
string, required
LLM-generated narrative in markdown.
summary.severityCounts
object, required
Severity counts as reported by the model.
summary.keyFindingsDetail
array of object, required
All findings, severity-sorted with stable F-001 labels (severity rank, then UUID tiebreak).
summary.keyFindingsDetail[].findingId
string, required
Stable label like F-001 (severity-sorted index).
summary.keyFindingsDetail[].uuid
string, required
findings.uuid for cross-reference to detailed report.
summary.keyFindingsDetail[].title
string, required
summary.keyFindingsDetail[].severity
string, required
One of critical, high, medium, low, or info.
summary.riskRating
string, required
Deterministic risk rating computed from severity mix. One of CRITICAL, HIGH, MEDIUM, or LOW.
summary.riskRationale
string, required
LLM-generated rationale for the risk rating.
summary.conclusion
string, required
LLM-generated closing paragraph.
summary.nextSteps
string, required
LLM-generated next steps as a markdown numbered list.
summary.generatedAt
string, required
ISO timestamp of last generation.
summary.isStale
boolean, required
True if findings have changed since this narrative was generated.
summary.model
string, required
Model identifier used for generation.
coverage
object, required, nullable
What the scan analysed: each application’s attack surfaces and entry points; null when none was recorded.
coverage.version
number, required
Record format version.
coverage.passes
array of object, required
coverage.passes[].id
string, required
Trace-scan pass id, e.g. authz.
coverage.passes[].name
string, required
Display name of the pass.
coverage.applications
array of object, required
coverage.applications[].name
string, required
coverage.applications[].rootPath
string, required
coverage.applications[].symbols
number, required
Functions in the application.
coverage.applications[].analysed
number, required
Functions analysed by any pass.
coverage.applications[].previouslyAnalysed
number, required
Functions only an earlier scan of this repository analysed.
coverage.applications[].passes
array of object, required
coverage.applications[].passes[].id
string, required
Trace-scan pass id.
coverage.applications[].passes[].analysed
number, required
Functions this pass analysed.
coverage.applications[].surfaces
array of object, required
coverage.applications[].surfaces[].tag
string, required
Enrichment tag, e.g. authentication.
coverage.applications[].surfaces[].symbols
number, required
Functions carrying the tag.
coverage.applications[].surfaces[].analysed
number, required
Functions with the tag analysed by any pass.
coverage.applications[].surfaces[].passes
array of object, required
coverage.applications[].surfaces[].passes[].id
string, required
Trace-scan pass id.
coverage.applications[].surfaces[].passes[].analysed
number, required
Functions this pass analysed.
coverage.applications[].surfaces[].examples
array of string, required
Names of up to five analysed functions with the tag: the ones the summary cites, or else entry points first.
coverage.applications[].surfaces[].summary
string, nullable
Model-written feature summary, kept only when it cites functions from this area.
coverage.applications[].entrypoints
array of object, required
coverage.applications[].entrypoints[].name
string, required
coverage.applications[].entrypoints[].description
string, required
coverage.applications[].entrypoints[].filePath
string, required
coverage.applications[].entrypoints[].line
number, required
coverage.applications[].entrypoints[].taintSources
array of string, required
Untrusted input types, e.g. http_input.
coverage.applications[].entrypoints[].passes
array of string, required
Ids of the passes that analysed it.
[↓] [↑] [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]