Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Configuration

reptr uses two TOML files in the engagement root.

reptr.toml

The engagement configuration file. Created by reptr new.

[engagement]
slug        = "acme-webapp-2026"
name        = "Acme Web Application Assessment"
date        = "2026-05-01"
report_date = "2026-05-23"
version     = "1.0"
client      = "acme"           # matches the [client] section in client.toml

[output]
formats   = ["html", "json"]   # html | json | docx | pdf
directory = "output"

# Uncomment to enforce open-finding limits during build (useful in CI):
# [severity_thresholds]
# critical = 0   # fail if any critical finding is open
# high     = 5   # fail if more than 5 high findings are open
# medium   = 10
# low      = 20

[engagement] fields

FieldTypeDescription
slugstringURL/filename-safe identifier. Must be non-empty.
namestringFull engagement name, appears in report headers.
datestringEngagement start date (ISO 8601, e.g. 2026-05-01).
report_datestringReport issue date.
versionstringReport version string (e.g. 1.0, 1.1-draft).
clientstringMust match the client slug in client.toml.

[output] fields

FieldTypeDescription
formatsarrayOutput formats to generate. See reptr build.
directorystringDirectory to write output files. Default: output.

[severity_thresholds] fields

All fields are optional. When set, the value is a count limit: build fails if the number of open findings of that severity exceeds the limit. 0 means fail if any open finding of that severity exists.

FieldTypeDescription
criticalintegerMax allowed open critical findings.
highintegerMax allowed open high findings.
mediumintegerMax allowed open medium findings.
lowintegerMax allowed open low findings.

See Severity thresholds for full details and CI usage.

client.toml

Client contact and branding information. Created by reptr new.

[client]
slug         = "acme"
name         = "Acme Corporation"
contact_name = "Jane Smith"
contact_email = "jsmith@acme.example"
logo         = "assets/acme-logo.png"   # optional, relative to engagement root

[client] fields

FieldTypeDescription
slugstringShort identifier. Must match the client field in reptr.toml.
namestringFull legal name of the client organisation.
contact_namestringPrimary contact name, used in report cover pages.
contact_emailstringPrimary contact email.
logostringOptional path to a logo image (PNG/SVG). Embedded in HTML and DOCX output.

Environment variables

VariableDescription
REPTR_LIBRARYOverride the library directory (default: ~/.config/reptr/library).
REPTR_TEMPLATE_DIROverride the directory searched for custom templates.

Custom templates

Place custom templates in the templates/ subdirectory of your engagement. See Custom templates.