rechtzeitig Startseite

Report format

rechtzeitig-report.json is the interface for machines and coding agents. Every run writes it to $RUNNER_TEMP/upload/rechtzeitig-report.json (output report); private repositories also get it in the artifact. JSON Schema: examples/report.schema.json. English only. No page text, no file contents; secret values are redacted.

Versioning

schema_version rechtzeitig Change
2 from v0.9.0 Locations are objects with a fingerprint; title and fix_hint per result; $schema, schema_version, target.languages added
none up to v0.8.0 Version 1: locations were strings, messages in the report language

schema_version goes up with every change that can break a reader: a field removed, renamed or with a new meaning. New optional fields can come without a bump, so ignore fields you do not know.

Top level

Field Type Meaning
$schema string URL of the JSON Schema
schema_version 2 Format version
version string rechtzeitig version that wrote the report
startedAt string Start of the scan, ISO 8601
target.url string Final URL of the start page, when a site was scanned
target.repository string Folder name of the scanned repository
target.languages string[] Scan languages (word lists in lang/)
target.languages_from input page default From the input language, from the start page (auto), or the fallback de
coverage object What the repository scan could not see or read: submodules, LFS pointers, large and binary files, lockfiles, private package sources
results array One entry per check: every check, also those without a finding and skipped ones

Result

Field Type Meaning
rule string Rule id, e.g. SEC-SECRETS-001. Stable; used by suppressions and translations
check string Check id, the folder below checks/, e.g. security/secrets
title string Rule title
severity info low medium high critical Of the rule
status fail error warn info suppressed pass skip pass means no finding, never compliance
message string The result in English
key, params string, object Message key and parameters (lang/en.yml messages), to build the message in any language. A parameter is a string, a number, or a message of its own ({key, params})
fix_hint string What to do, in English
locations array The places, see below. Can be empty
because object Skips only: {kind: "target", missing} (no url or checkout), {kind: "module", modules}, {kind: "switch", input}, {kind: "data"} (nothing to read)
suppression object Status suppressed only: category, reason, expires, file and line of the entry, and the status without it

Location

Only the fields that apply are set.

Field Meaning
file, line File relative to the repository; the line when known
url A web address the finding is about: a page, a script, a request
text A value shown as it is that is no web address: a host, a cookie name, a package
key, params, message Message of this place: key, parameters, English text
fingerprint Always set, see below

Fingerprint

<sha256>:<n>. The hash covers rule id, file (empty for website findings), message key and parameters, or the finding's own fingerprint where parameters change between runs (an OSV summary). No line and no shown text: the fingerprint stays when code moves or a message is reworded. n counts the same place within one result (1, 2, …). For places in files it equals the code scanning alert's partialFingerprints["rechtzeitig/v1"].

Compare fingerprints between runs to see what is new, what is gone and what stays.

Example

{
  "$schema": "https://raw.githubusercontent.com/kreativ-anders/rechtzeitig/main/examples/report.schema.json",
  "schema_version": 2,
  "version": "0.9.0",
  "startedAt": "2026-11-23T05:17:02.114Z",
  "target": { "url": "https://www.example.de/", "repository": "shop", "languages": ["de", "en"], "languages_from": "page" },
  "results": [
    {
      "rule": "SEC-SECRETS-001",
      "check": "security/secrets",
      "title": "No secrets in the repository",
      "severity": "critical",
      "status": "fail",
      "message": "1 secret found. Revoke it, then remove it from the code and the git history.",
      "key": "secrets",
      "params": { "count": 1 },
      "fix_hint": "Revoke found keys right away, then remove them from code and git history and store them as secrets or environment variables.",
      "locations": [
        {
          "file": "src/config.js",
          "line": 3,
          "key": "secret",
          "params": { "name": "AWS Access Key ID", "start": "AKIA", "length": 20 },
          "message": "AWS Access Key ID (AKIA… (20 chars))",
          "fingerprint": "9b1c0f…e4:1"
        }
      ]
    },
    {
      "rule": "LEG-DE-IMP-001",
      "check": "legal/imprint",
      "title": "Imprint is linked and reachable",
      "severity": "high",
      "status": "pass",
      "message": "Found the imprint (Impressum) at /impressum.",
      "key": "found",
      "params": { "page": { "key": "page_imprint" }, "where": "/impressum" },
      "fix_hint": "Link the imprint from every page, for example in the footer, labeled \"Impressum\".",
      "locations": []
    }
  ]
}

Fix findings with your coding agent

Give the agent the file of the output report, in a later step of the same job or from the artifact:

      - uses: kreativ-anders/rechtzeitig@<sha> # vX.Y.Z
        id: rechtzeitig
        with:
          url: https://www.example.de/
      - run: your-agent "Fix the rechtzeitig findings in $REPORT"
        env:
          REPORT: ${{ steps.rechtzeitig.outputs.report }}

A prompt that works:

Read the rechtzeitig report JSON. For each result with status fail or warn, open every location with a file, apply fix_hint, and keep the change small. Results with only a url concern the live site: list them, do not guess. Do not add entries to .github/rechtzeitig.yml to silence a rule. List what you changed per rule.

Findings are technical risk hints, not legal advice. Review what the agent changes.