docs: a German home and getting started for Maschinenbauer (#405)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Agent (push) Skipped
CI / Deploy Dashboard (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Docs (push) Successful in 53s

This commit was merged in pull request #405.
This commit is contained in:
sharang committed 2026-09-26 08:25:10 +00:00
1 parent 96aab82382
commit bf24fb3370
9 files changed
+1721 -129

No files matched your search

+88
View File
@@ -0,0 +1,88 @@
# Getting Started (English)
Prüfwerk is an AI-powered security compliance platform that scans your Git repositories for vulnerabilities, builds software bills of materials, performs dynamic application testing, and provides code intelligence through an interactive knowledge graph and AI chat.
## What You Get
When you connect a repository, Prüfwerk runs a comprehensive scan pipeline that covers:
- **Static Analysis (SAST)** -- finds code-level vulnerabilities like injection flaws, insecure crypto, and misconfigurations
- **Software Bill of Materials (SBOM)** -- inventories every dependency, its version, and its license
- **CVE Monitoring** -- cross-references your dependencies against known vulnerabilities
- **Code Knowledge Graph** -- maps the structure of your codebase for impact analysis
- **AI Triage** -- every finding is reviewed by an LLM that provides severity assessment, confidence scores, and remediation guidance
- **Issue Tracking** -- automatically creates issues in your tracker for new findings
## Dashboard Overview
After logging in, you land on the Overview page, which gives you a snapshot of your security posture across all repositories.
![Dashboard overview showing stats cards, severity distribution, and recent scan activity](/screenshots/dashboard-overview.png)
The overview shows key metrics at a glance: total repositories, findings broken down by severity, dependency counts, CVE alerts, and tracker issues. A severity distribution chart visualizes your risk profile, and recent scan runs let you monitor scanning activity.
## Quick Walkthrough
Here is the fastest path from zero to your first scan results:
### 0. Or start with the demo targets
An empty workspace offers **Add demo targets** on the Targets page and in the
onboarding wizard. It creates a small curated set — two PLC projects, a
deliberately vulnerable web service and a Zephyr firmware sample — attaches
their files, detects each type and starts the first scans, so there are real
findings to look at within minutes. See [Demo targets](/guide/demo-targets).
### 1. Add a repository
Navigate to **Repositories** in the sidebar and click **Add Repository**. Enter a name, the Git clone URL, and the default branch to scan.
![Add repository dialog](/screenshots/add-repository.png)
### 2. Trigger a scan
Click the **Scan** button on your repository row. The scan runs in the background through all phases: cloning, static analysis, SBOM extraction, CVE checking, graph building, and issue sync.
### 3. View findings
Once the scan completes, navigate to **Findings** to see everything that was discovered. Each finding includes a severity level, description, code evidence, and AI-generated remediation guidance.
![Findings list with filters](/screenshots/findings-list.png)
## Next Steps
- [Add and configure repositories](/guide/repositories) -- including private repos and issue tracker setup
- [Understand how scans work](/guide/scanning) -- phases, triggers, and deduplication
- [Work with findings](/guide/findings) -- triage, false positives, and developer feedback
- [Explore your SBOM](/guide/sbom) -- dependencies, licenses, and exports
- [Connect your IDE](/features/mcp-server) -- query findings from an LLM client over MCP
## Deployment modes (`APP_ENV`)
`APP_ENV` decides how strict the deployment is about authentication.
| `APP_ENV` | Behaviour |
|---|---|
| `dev` (default) | Auth may be absent. Without Keycloak the API serves unauthenticated against a synthetic `dev` tenant, CORS is permissive, entitlements are not checked. For a laptop and CI only. |
| `staging`, `production` | *Hardened.* The agent, dashboard and MCP server refuse to start unless authentication is fully configured, and the dev-tenant, permissive-CORS and skip-entitlement paths are unreachable. |
A hardened deployment requires `KEYCLOAK_URL`, `KEYCLOAK_REALM`,
`KEYCLOAK_AUDIENCE`, `CORS_ALLOWED_ORIGINS`, `TENANT_REGISTRY_URL`,
`TENANT_REGISTRY_CLIENT_ID`, `TENANT_REGISTRY_CLIENT_SECRET` and
`PLATFORM_ALLOWED_CLIENTS`; the MCP server additionally requires `MCP_PORT`,
since its stdio transport has no tenant authentication. Startup lists every
missing variable at once, so one corrected deploy is enough.
The scheduler follows the same rule: where a tenant registry is configured, its
tenant list is authoritative, and a registry outage skips the tick instead of
falling back to the `dev` tenant.
## Static-analysis-only environments
Some deployments run with `PW_FEATURES=source_only` — the shared staging
environment does. Dynamic testing needs infrastructure (a browser, a soft-PLC,
network access to a running target) that is not deployed there, so dynamic
application testing, pentest sessions, the ICS probe and the ephemeral PLC
runtime are hidden in the interface, and a scan records those stages as
*skipped* rather than failed. Everything static — SAST, SBOM, CVE, the graph,
AI triage, control mapping — works as documented.
+178 -69
View File
@@ -1,88 +1,197 @@
# Getting Started
---
title: Erste Schritte
---
Prüfwerk is an AI-powered security compliance platform that scans your Git repositories for vulnerabilities, builds software bills of materials, performs dynamic application testing, and provides code intelligence through an interactive knowledge graph and AI chat.
# Erste Schritte
## What You Get
Diese Seite führt Sie vom ersten Anmelden bis zum Nachweispaket für ein
Prüfobjekt. Ein Prüfobjekt ist ein Produkt oder eine Komponente, die Prüfwerk
prüft: eine Firmware, ein SPS-Programm oder eine Anwendung.
When you connect a repository, Prüfwerk runs a comprehensive scan pipeline that covers:
In der Testphase prüft Prüfwerk ausschließlich Quellcode. Es führt nichts aus
und verbindet sich mit keinem Gerät.
- **Static Analysis (SAST)** -- finds code-level vulnerabilities like injection flaws, insecure crypto, and misconfigurations
- **Software Bill of Materials (SBOM)** -- inventories every dependency, its version, and its license
- **CVE Monitoring** -- cross-references your dependencies against known vulnerabilities
- **Code Knowledge Graph** -- maps the structure of your codebase for impact analysis
- **AI Triage** -- every finding is reviewed by an LLM that provides severity assessment, confidence scores, and remediation guidance
- **Issue Tracking** -- automatically creates issues in your tracker for new findings
## Was Sie brauchen
## Dashboard Overview
- einen Zugang zur BreakPilot-Plattform und einen Arbeitsbereich;
- den Quellcode des Prüfobjekts, entweder
- als **Git-Repository** (HTTPS-Adresse; für private Repositories ein
Zugangstoken mit Leserecht), oder
- als **Archiv** im Format zip, tar oder tar.gz. Passwortgeschützte
zip-Archive sind möglich. 7z- und RAR-Archive werden nicht angenommen.
After logging in, you land on the Overview page, which gives you a snapshot of your security posture across all repositories.
Für CODESYS-Projekte gilt: Die Steuerungslogik lässt sich aus PLCopen-XML-Exporten
oder `.st`-Dateien prüfen, die Stückliste der Bibliotheken braucht das
`.projectarchive`. Die binäre `.project`-Datei allein lässt sich nicht auswerten.
Mehr dazu unter [SPS / PLC (CODESYS)](/guide/plc).
![Dashboard overview showing stats cards, severity distribution, and recent scan activity](/screenshots/dashboard-overview.png)
## 1. Prüfwerk öffnen
The overview shows key metrics at a glance: total repositories, findings broken down by severity, dependency counts, CVE alerts, and tracker issues. A severity distribution chart visualizes your risk profile, and recent scan runs let you monitor scanning activity.
Melden Sie sich bei der BreakPilot-Plattform an, öffnen Sie Ihren
Arbeitsbereich und wählen Sie **Prüfwerk**. Prüfwerk startet mit der
**Übersicht**. Über **Zur Plattform** in der Seitenleiste kommen Sie zurück.
## Quick Walkthrough
Die Oberfläche ist auf Deutsch; über den Sprachschalter wechseln Sie auf
Englisch.
Here is the fastest path from zero to your first scan results:
## 2. Ein Prüfobjekt anlegen
### 0. Or start with the demo targets
Klicken Sie in der Seitenleiste auf **Neues Prüfobjekt**. Es öffnet sich
**Prüfobjekt anlegen** mit vier Schritten: **Typ**, **Artefakte**, **Prüfen**,
**Fertig**.
An empty workspace offers **Add demo targets** on the Targets page and in the
onboarding wizard. It creates a small curated set — two PLC projects, a
deliberately vulnerable web service and a Zephyr firmware sample — attaches
their files, detects each type and starts the first scans, so there are real
findings to look at within minutes. See [Demo targets](/guide/demo-targets).
### Typ
### 1. Add a repository
Tragen Sie unter **Name** einen Namen ein und beantworten Sie die Frage
**Um welche Art von Software handelt es sich?** Für Maschinen- und
Anlagenbau sind meist diese Typen richtig:
Navigate to **Repositories** in the sidebar and click **Add Repository**. Enter a name, the Git clone URL, and the default branch to scan.
![Add repository dialog](/screenshots/add-repository.png)
### 2. Trigger a scan
Click the **Scan** button on your repository row. The scan runs in the background through all phases: cloning, static analysis, SBOM extraction, CVE checking, graph building, and issue sync.
### 3. View findings
Once the scan completes, navigate to **Findings** to see everything that was discovered. Each finding includes a severity level, description, code evidence, and AI-generated remediation guidance.
![Findings list with filters](/screenshots/findings-list.png)
## Next Steps
- [Add and configure repositories](/guide/repositories) -- including private repos and issue tracker setup
- [Understand how scans work](/guide/scanning) -- phases, triggers, and deduplication
- [Work with findings](/guide/findings) -- triage, false positives, and developer feedback
- [Explore your SBOM](/guide/sbom) -- dependencies, licenses, and exports
- [Connect your IDE](/features/mcp-server) -- query findings from an LLM client over MCP
## Deployment modes (`APP_ENV`)
`APP_ENV` decides how strict the deployment is about authentication.
| `APP_ENV` | Behaviour |
| Typ | Wann |
|---|---|
| `dev` (default) | Auth may be absent. Without Keycloak the API serves unauthenticated against a synthetic `dev` tenant, CORS is permissive, entitlements are not checked. For a laptop and CI only. |
| `staging`, `production` | *Hardened.* The agent, dashboard and MCP server refuse to start unless authentication is fully configured, and the dev-tenant, permissive-CORS and skip-entitlement paths are unreachable. |
| **SPS / PLC** | Steuerungsprogramme nach IEC 61131-3 (CODESYS, PLCopen XML, Structured Text) |
| **Firmware — RTOS** | Mikrocontroller-Firmware mit Echtzeitbetriebssystem, z. B. Zephyr oder FreeRTOS |
| **Firmware — ohne Betriebssystem** | Mikrocontroller-Firmware ohne Betriebssystem |
| **Embedded Linux / Yocto** | BSP und Image auf Linux-Basis |
A hardened deployment requires `KEYCLOAK_URL`, `KEYCLOAK_REALM`,
`KEYCLOAK_AUDIENCE`, `CORS_ALLOWED_ORIGINS`, `TENANT_REGISTRY_URL`,
`TENANT_REGISTRY_CLIENT_ID`, `TENANT_REGISTRY_CLIENT_SECRET` and
`PLATFORM_ALLOWED_CLIENTS`; the MCP server additionally requires `MCP_PORT`,
since its stdio transport has no tenant authentication. Startup lists every
missing variable at once, so one corrected deploy is enough.
Für Software auf PC oder Server wählen Sie **Webanwendung**, **Backend / API**
oder **Desktop-Anwendung**.
The scheduler follows the same rule: where a tenant registry is configured, its
tenant list is authoritative, and a registry outage skips the tick instead of
falling back to the `dev` tenant.
### Artefakte
## Static-analysis-only environments
Unter **Artefakte hinzufügen** geben Sie an, woher der Code kommt. Wählen Sie
bei **Art**:
Some deployments run with `PW_FEATURES=source_only` — the shared staging
environment does. Dynamic testing needs infrastructure (a browser, a soft-PLC,
network access to a running target) that is not deployed there, so dynamic
application testing, pentest sessions, the ICS probe and the ephemeral PLC
runtime are hidden in the interface, and a scan records those stages as
*skipped* rather than failed. Everything static — SAST, SBOM, CVE, the graph,
AI triage, control mapping — works as documented.
- **Git-Repository**: Tragen Sie die Adresse unter **Referenz (URL / Pfad / Text)**
ein, bei Bedarf den **Branch**. Für ein privates Repository füllen Sie
**Zugangstoken (nur für private Repositories)** aus, gegebenenfalls auch
**Benutzername (optional)**. Mit **+ Hinzufügen** übernehmen Sie das
Repository.
- **Quellcode-Archiv (zip, tar, tar.gz)**: Wählen Sie die **Datei** und klicken
Sie auf **+ Datei hinzufügen**. Ist das Archiv passwortgeschützt, tragen Sie
das Passwort in das Feld **Archiv-Passwort (nur bei passwortgeschützten
Archiven)** neben der Datei ein.
- **SPS-Projekt**: Wählen Sie die Datei und das **Format** (PLCopen XML,
Structured Text oder `.projectarchive`) und klicken Sie auf
**+ Datei hinzufügen**.
Ein Prüfobjekt kann mehrere Artefakte haben, etwa die Firmware und das
SPS-Programm einer Maschine.
### Prüfen und anlegen
Im Schritt **Prüfen** sehen Sie Typ und Artefakte noch einmal. Mit
**Anlegen und prüfen** legt Prüfwerk das Prüfobjekt an, lädt die Dateien hoch
und startet die erste Prüfung.
## 3. Die erste Prüfung
Die erste Prüfung startet automatisch. Im Schritt **Fertig** steht
„Die erste Prüfung läuft. Der Fortschritt erscheint unten.“ Darunter sehen Sie
die einzelnen Schritte, zum Beispiel **Statische Codeanalyse (Semgrep)**,
**C/C++-Analyse (cppcheck)**, **Firmware-SBOM** oder
**SPS-Bibliotheken (SBOM)**, und die **Laufzeit**. Prüfungen, die ein
laufendes System brauchen, etwa **Dynamische Prüfung (DAST)**, stehen in der
Testphase unter **Nicht ausgeführt**.
Je nach Umfang des Codes dauert eine Prüfung einige Minuten. Sie können die
Seite verlassen; die Prüfung läuft weiter. Mit **Zu den Befunden** oder
**Zu den Prüfobjekten** geht es weiter.
Eine neue Prüfung, etwa nach einer Änderung am Code, starten Sie unter
**Prüfobjekte** mit **Prüfung starten**. Unter **Details** finden Sie den
**Prüfverlauf** aller Prüfungen.
## 4. Befunde
Unter **Befunde** stehen alle Ergebnisse der Prüfungen. Die Liste lässt sich
nach Prüfobjekt, Schweregrad (**Kritisch**, **Hoch**, **Mittel**, **Niedrig**),
Art und Status filtern. Jeder Befund zeigt die **Fundstelle** (Datei und
Zeile), das **Werkzeug**, das ihn gefunden hat, und in der Spalte **CRA** die
Anforderungen, für die er relevant ist.
Ein Klick auf einen Befund öffnet die Einzelheiten: **Beschreibung**,
**Fundstelle**, den betroffenen **Code**, die **CRA-Anforderungen (Anhang I)**
und, wo vorhanden, eine **Behebung**. Mit **Status ändern** halten Sie fest, wie
Sie mit dem Befund umgehen, zum Beispiel **Behoben**, **Fehlalarm** oder
**Risiko akzeptiert** mit einer **Begründung**. Mehr dazu unter
[Befunde](/guide/findings).
## 5. Stückliste (SBOM)
Unter **SBOM** steht die Stückliste (SBOM) aller Prüfobjekte: welche
Komponenten in welcher Version enthalten sind, unter welcher Lizenz sie stehen
und welche bekannten Schwachstellen (CVE) für sie gemeldet sind. Dazu gehören
auch Firmware-Komponenten wie FreeRTOS, lwIP, Mbed TLS oder FatFs und die
Bibliotheken eines CODESYS-Projekts.
- **Pakete**: die Komponenten; der Filter **Mit Schwachstellen** zeigt nur
Komponenten mit bekannten Schwachstellen.
- **Lizenzen**: die Lizenzverteilung, mit einem Hinweis auf Copyleft-Lizenzen.
- **Vergleich**: die Stücklisten zweier Prüfobjekte nebeneinander, etwa zweier
Firmware-Stände.
Mit **Exportieren** laden Sie die Stückliste eines Prüfobjekts als
CycloneDX 1.5 oder SPDX 2.3 herunter. Mehr dazu unter
[Stückliste (SBOM) und Lizenzen](/guide/sbom).
## 6. CRA-Status
Unter **Prüfobjekte** öffnen Sie mit **Details** ein Prüfobjekt und klicken
auf **CRA-Status anzeigen**. Der **CRA-Status** zeigt für jede der 40
grundlegenden Anforderungen aus Anhang I des Cyber Resilience Act den Stand
dieses Prüfobjekts:
| Stand | Bedeutung |
|---|---|
| **Nicht erfüllt** | Mindestens ein Befund verstößt gegen die Anforderung; die Befunde sind verlinkt. |
| **Kein Verstoß gefunden** | Eine Prüfregel hat den Code in dieser Sprache geprüft, alle Werkzeuge sind vollständig gelaufen, und es gibt keinen Befund. |
| **Nicht bewertet** | Es fehlt etwas für ein Urteil, zum Beispiel eine Prüfregel für die gefundene Sprache oder ein vollständiger Prüflauf. Der Grund steht dabei. |
| **Nicht im Code prüfbar** | Eine Eigenschaft des Designs oder Prozesses; sie wird im Compliance-Prozess von BreakPilot nachgewiesen. |
„Kein Verstoß gefunden“ erscheint also nur dort, wo tatsächlich geprüft wurde.
Befunde werden am Code nachgeprüft, bevor sie einer Anforderung zugeordnet
werden. Der CRA-Status zeigt, welche Anforderungen im Code geprüft sind; er ist
keine Konformitätsbewertung.
## 7. Nachweispaket
Mit **Nachweispaket herunterladen** (auf der Seite **CRA-Status** und unter
**Details** eines Prüfobjekts) erhalten Sie ein ZIP mit:
- der Bewertung gegen CRA Anhang I im Format OSCAL,
- der Stückliste als CycloneDX und SPDX,
- den Befunden als JSON und CSV,
- den CVE-Warnungen,
- einem Manifest mit SHA-256-Prüfsummen aller Dateien.
Dieselben Nachweise stehen der Compliance-Plattform von BreakPilot über API und
MCP zur Verfügung.
## Befunde aus Pentests und manuellen Tests
Ergebnisse eines externen Penetrationstests oder eines DAST-Laufs gehören zum
selben Prüfobjekt. Unter **Prüfobjekte** → **Details** →
**Befunde aus manuellen Tests** können Sie einen **Befund erfassen** oder mit
**Bericht importieren** eine Datei im Format SARIF 2.1.0 oder ZAP-JSON
übernehmen. Mehr dazu unter
[Befunde aus manuellen Tests](/guide/manual-findings).
## Kein Projekt zur Hand?
Im Schritt **Typ** bietet Prüfwerk einen Demo-Satz an: zwei SPS-Projekte,
einen Dienst mit CRA-Schwachstellen und ein Zephyr-Firmwarebeispiel. So sehen
Sie echte Befunde, bevor Sie eigenen Code hochladen. Siehe
[Demo-Prüfobjekte](/guide/demo-targets).
## Weiter
- [SPS / PLC (CODESYS)](/guide/plc): welche Dateien Prüfwerk aus einem
CODESYS-Projekt auswertet
- [Prüfungen](/guide/scanning): wie Prüfungen ausgelöst werden und welche
Schritte sie haben
- [CRA-Anforderungen](/features/control-mapping): wie Befunde den
Anforderungen zugeordnet werden
- [Daten und Aufbewahrung](/guide/data-retention): wo Prüfwerk Ihren Code und
die Ergebnisse speichert und wann sie gelöscht werden
Die weiterführenden Seiten sind derzeit auf Englisch.