TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/morwn/github-threat-detector/llms.txt
Use this file to discover all available pages before exploring further.
report command reads the findings table written by analyze and presents results either as a color-coded terminal table or as a JSON array suitable for programmatic consumption. Filters for severity, repository, and time window let you narrow the output to exactly what is relevant for a given investigation or automated alert pipeline.
Usage
Options
Comma-separated severity levels to include. Accepted values:
critical, high, medium, low.
When omitted, findings of all severities are returned.Example: --severity critical,highFilter findings to a single repository in
owner/repo format.
When omitted, findings across all repositories are returned.Limit results to findings created on or after a given point in time. Accepts three formats:
7d— the last 7 days24h— the last 24 hours- ISO 8601 timestamp — e.g.
2025-01-15T00:00:00+00:00
Output format. Choose
table (default) for a color-coded terminal table rendered by Rich, or json to emit a JSON array to stdout.Accepted values: table, jsonExamples
Show all findings as a terminal table (default):Output Formats
Table Output
The terminal table is rendered by Rich with rounded borders and per-row lines. Severity cells are color-coded:| Severity | Color |
|---|---|
critical | Bold red |
high | Red |
medium | Yellow |
low | Green |
JSON Output
When--format json is passed, report prints a JSON array to stdout. Each element is a finding object with the following fields:
| Field | Type | Description |
|---|---|---|
id | integer | Auto-incremented primary key in the findings table |
rule_id | string | The rule that generated this finding (e.g. pr-target-abuse) |
severity | string | One of critical, high, medium, low |
repo_name | string | Repository in owner/repo format |
actor_login | string | GitHub username of the actor that triggered the event |
event_id | string | The originating GitHub API event ID |
description | string | Human-readable summary of the anomaly |
evidence | object | Rule-specific JSONB evidence object |
created_at | string | ISO 8601 timestamp of when the finding was written |
click.echo, making it straightforward to pipe into tools like jq, forward to a SIEM, or process in a downstream script: