docs: a German home and getting started for Maschinenbauer (#405)
This commit was merged in pull request #405.
This commit is contained in:
1 parent
96aab82382
commit
bf24fb3370
9 files changed
+1721
-129
No files matched your search
+72
-33
@@ -1,68 +1,107 @@
|
||||
import { defineConfig } from 'vitepress'
|
||||
import { withMermaid } from 'vitepress-plugin-mermaid'
|
||||
|
||||
// `head` entries are not base-prefixed, so the favicon carries `/docs/`.
|
||||
const BASE = '/docs/'
|
||||
|
||||
export default withMermaid(defineConfig({
|
||||
// Served under https://pruefwerk-<env>.breakpilot.com/docs/ (orca route
|
||||
// /docs/* on the dashboard host, prefix not stripped).
|
||||
base: '/docs/',
|
||||
base: BASE,
|
||||
lang: 'de-DE',
|
||||
title: 'Prüfwerk',
|
||||
description: 'AI-powered security compliance scanning platform',
|
||||
description: 'CRA-Nachweise aus Ihrem Quellcode',
|
||||
head: [
|
||||
['link', { rel: 'icon', type: 'image/svg+xml', href: `${BASE}logo.svg` }],
|
||||
['link', { rel: 'preconnect', href: 'https://fonts.googleapis.com' }],
|
||||
['link', { rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: '' }],
|
||||
[
|
||||
'link',
|
||||
{
|
||||
rel: 'stylesheet',
|
||||
href: 'https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500&display=swap',
|
||||
},
|
||||
],
|
||||
],
|
||||
ignoreDeadLinks: [
|
||||
/localhost/,
|
||||
],
|
||||
// Internal design notes live next to the docs but are not published.
|
||||
srcExclude: ['design/**'],
|
||||
themeConfig: {
|
||||
logo: '/logo.svg',
|
||||
// The navbar shows the BreakPilot wordmark instead (theme/components/Wordmark.vue).
|
||||
siteTitle: false,
|
||||
nav: [
|
||||
{ text: 'Guide', link: '/guide/getting-started' },
|
||||
{ text: 'Features', link: '/features/overview' },
|
||||
{ text: 'Reference', link: '/reference/glossary' },
|
||||
{ text: 'Erste Schritte', link: '/guide/getting-started' },
|
||||
{ text: 'Handbuch', link: '/guide/repositories' },
|
||||
{ text: 'Referenz', link: '/reference/glossary' },
|
||||
],
|
||||
sidebar: [
|
||||
{
|
||||
text: 'Guide',
|
||||
text: 'Einstieg',
|
||||
items: [
|
||||
{ text: 'Getting Started', link: '/guide/getting-started' },
|
||||
{ text: 'Adding Repositories', link: '/guide/repositories' },
|
||||
{ text: 'Running Scans', link: '/guide/scanning' },
|
||||
{ text: 'PLC / SPS (CODESYS)', link: '/guide/plc' },
|
||||
{ text: 'Demo Targets', link: '/guide/demo-targets' },
|
||||
{ text: 'Understanding Findings', link: '/guide/findings' },
|
||||
{ text: 'Findings from Manual Tests', link: '/guide/manual-findings' },
|
||||
{ text: 'Data and Retention', link: '/guide/data-retention' },
|
||||
{ text: 'SBOM & Licenses', link: '/guide/sbom' },
|
||||
{ text: 'Issues & Tracking', link: '/guide/issues' },
|
||||
{ text: 'Webhooks & PR Reviews', link: '/guide/webhooks' },
|
||||
{ text: 'Erste Schritte', link: '/guide/getting-started' },
|
||||
{ text: 'Demo-Prüfobjekte', link: '/guide/demo-targets' },
|
||||
],
|
||||
},
|
||||
{
|
||||
text: 'Features',
|
||||
text: 'Prüfen',
|
||||
items: [
|
||||
{ text: 'Prüfobjekte anlegen', link: '/guide/repositories' },
|
||||
{ text: 'Prüfungen', link: '/guide/scanning' },
|
||||
{ text: 'SPS / PLC (CODESYS)', link: '/guide/plc' },
|
||||
{ text: 'Befunde', link: '/guide/findings' },
|
||||
{ text: 'Befunde aus manuellen Tests', link: '/guide/manual-findings' },
|
||||
{ text: 'Stückliste (SBOM) und Lizenzen', link: '/guide/sbom' },
|
||||
{ text: 'CRA-Anforderungen', link: '/features/control-mapping' },
|
||||
{ text: 'Daten und Aufbewahrung', link: '/guide/data-retention' },
|
||||
],
|
||||
},
|
||||
{
|
||||
text: 'Oberfläche und Anbindung',
|
||||
items: [
|
||||
{ text: 'Übersicht', link: '/features/overview' },
|
||||
{ text: 'MCP-Schnittstelle', link: '/features/mcp-server' },
|
||||
{ text: 'Tickets', link: '/guide/issues' },
|
||||
{ text: 'Webhooks und PR-Reviews', link: '/guide/webhooks' },
|
||||
{ text: 'Getting Started (English)', link: '/guide/getting-started-en' },
|
||||
],
|
||||
},
|
||||
{
|
||||
text: 'Referenz',
|
||||
items: [
|
||||
{ text: 'Glossar', link: '/reference/glossary' },
|
||||
{ text: 'Werkzeuge', link: '/reference/tools' },
|
||||
{ text: 'SPS-Laufzeitumgebungen', link: '/reference/plc-runtimes' },
|
||||
],
|
||||
},
|
||||
{
|
||||
text: 'Weitere Funktionen (nicht im Pilotumfang)',
|
||||
collapsed: true,
|
||||
items: [
|
||||
{ text: 'Dashboard Overview', link: '/features/overview' },
|
||||
{ text: 'DAST Scanning', link: '/features/dast' },
|
||||
{ text: 'AI Pentest', link: '/features/pentest' },
|
||||
{ text: 'Pentest Architecture', link: '/features/pentest-architecture' },
|
||||
{ text: 'AI Chat', link: '/features/ai-chat' },
|
||||
{ text: 'Code Knowledge Graph', link: '/features/graph' },
|
||||
{ text: 'Compliance Control Mapping', link: '/features/control-mapping' },
|
||||
{ text: 'MCP Integration', link: '/features/mcp-server' },
|
||||
],
|
||||
},
|
||||
{
|
||||
text: 'Reference',
|
||||
items: [
|
||||
{ text: 'Glossary', link: '/reference/glossary' },
|
||||
{ text: 'Tools & Scanners', link: '/reference/tools' },
|
||||
{ text: 'PLC Runtime Landscape', link: '/reference/plc-runtimes' },
|
||||
],
|
||||
},
|
||||
],
|
||||
socialLinks: [
|
||||
{ icon: 'github', link: 'https://git.breakpilot.com/platform/pruefwerk' },
|
||||
],
|
||||
footer: {
|
||||
message: 'Prüfwerk Documentation',
|
||||
message: 'Prüfwerk von BreakPilot',
|
||||
},
|
||||
outline: { label: 'Auf dieser Seite' },
|
||||
docFooter: { prev: 'Zurück', next: 'Weiter' },
|
||||
darkModeSwitchLabel: 'Darstellung',
|
||||
lightModeSwitchTitle: 'Zum hellen Modus wechseln',
|
||||
darkModeSwitchTitle: 'Zum dunklen Modus wechseln',
|
||||
sidebarMenuLabel: 'Menü',
|
||||
returnToTopLabel: 'Nach oben',
|
||||
},
|
||||
// Code blocks sit on the dark "Nacht" ground in both themes.
|
||||
markdown: {
|
||||
theme: 'github-dark',
|
||||
},
|
||||
mermaid: {},
|
||||
}))
|
||||
@@ -0,0 +1,876 @@
|
||||
<!--
|
||||
The docs home page for machine builders (German). Used from docs/index.md
|
||||
with `layout: page`. Only pilot (source_only) capabilities appear here.
|
||||
-->
|
||||
<script setup lang="ts">
|
||||
import { withBase } from 'vitepress'
|
||||
|
||||
/** The CRA status strip of the example view: 40 Annex I requirements. */
|
||||
const craStates = [
|
||||
{ key: 'violated', label: 'Nicht erfüllt', count: 3 },
|
||||
{ key: 'unassessed', label: 'Nicht bewertet', count: 5 },
|
||||
{ key: 'clean', label: 'Kein Verstoß gefunden', count: 13 },
|
||||
{ key: 'process', label: 'Nicht im Code prüfbar', count: 19 },
|
||||
]
|
||||
const craTotal = craStates.reduce((sum, s) => sum + s.count, 0)
|
||||
|
||||
const checks = [
|
||||
{
|
||||
title: 'Quellcode C/C++',
|
||||
body:
|
||||
'Statische Analyse der Firmware- und Anwendungsquellen mit eigenen CRA-Regeln ' +
|
||||
'für C/C++, dazu eine Suche nach eingecheckten Passwörtern und Schlüsseln.',
|
||||
tools: ['semgrep', 'cppcheck', 'gitleaks'],
|
||||
},
|
||||
{
|
||||
title: 'SPS-Programme IEC 61131-3',
|
||||
body:
|
||||
'Prüfregeln für die Steuerungslogik aus CODESYS und PLCopen-Exporten. Aus dem ' +
|
||||
'Projektarchiv entsteht die Stückliste der verwendeten Bibliotheken.',
|
||||
tools: ['PLCopen XML', 'Structured Text', 'CODESYS-Archiv'],
|
||||
},
|
||||
{
|
||||
title: 'Firmware und Komponenten',
|
||||
body:
|
||||
'Eine Stückliste (SBOM) auch für eingebettete Komponenten wie FreeRTOS, lwIP, ' +
|
||||
'Mbed TLS oder FatFs, abgeglichen mit bekannten Schwachstellen (CVE).',
|
||||
tools: ['CycloneDX', 'SPDX', 'NVD', 'OSV'],
|
||||
},
|
||||
]
|
||||
|
||||
const steps = [
|
||||
{
|
||||
title: 'Prüfobjekt anlegen',
|
||||
body: 'Unter „Neues Prüfobjekt“ den Typ wählen, etwa SPS / PLC oder Firmware — RTOS.',
|
||||
},
|
||||
{
|
||||
title: 'Code oder Archiv hinzufügen',
|
||||
body: 'Ein Git-Repository mit Zugangstoken oder ein Archiv als zip, tar oder tar.gz.',
|
||||
},
|
||||
{
|
||||
title: 'Prüfung läuft',
|
||||
body: 'Sie startet nach dem Anlegen von selbst. Jeder Schritt ist mit Laufzeit sichtbar.',
|
||||
},
|
||||
{
|
||||
title: 'Befunde, Stückliste, CRA-Stand, Nachweispaket',
|
||||
body: 'Befunde mit Fundstelle, bekannte Schwachstellen, der Stand je Anforderung und das Paket zum Herunterladen.',
|
||||
},
|
||||
]
|
||||
|
||||
const packFiles = [
|
||||
{ name: 'oscal-assessment-results.json', what: 'Bewertung gegen CRA Anhang I, OSCAL' },
|
||||
{ name: 'cra-compliance.json', what: 'Stand je Anforderung' },
|
||||
{ name: 'findings.json', what: 'Befunde' },
|
||||
{ name: 'findings.csv', what: 'Befunde als Tabelle' },
|
||||
{ name: 'sbom.cdx.json', what: 'Stückliste, CycloneDX' },
|
||||
{ name: 'sbom.spdx.json', what: 'Stückliste, SPDX' },
|
||||
{ name: 'cve-alerts.json', what: 'bekannte Schwachstellen' },
|
||||
{ name: 'manifest.json', what: 'SHA-256 je Datei, Werkzeugversionen' },
|
||||
]
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="bp-home">
|
||||
<!-- Opener -->
|
||||
<section class="bp-opener bp-wrap">
|
||||
<div class="bp-opener-copy">
|
||||
<p class="bp-eyebrow">Prüfwerk · BreakPilot</p>
|
||||
<h1 class="bp-title">CRA-Nachweise aus Ihrem Quellcode</h1>
|
||||
<p class="bp-lede">
|
||||
Prüfwerk prüft Quellcode, Firmware und SPS-Programme und zeigt für jede
|
||||
Anforderung aus Anhang I des Cyber Resilience Act, was im Code geprüft ist:
|
||||
mit Befund, Fundstelle und Nachweis.
|
||||
</p>
|
||||
<div class="bp-actions">
|
||||
<a class="bp-button" :href="withBase('/guide/getting-started')">Erste Schritte</a>
|
||||
<a class="bp-textlink" href="#was-pruefwerk-prueft">Was geprüft wird <span aria-hidden="true">→</span></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<figure class="bp-visual" aria-label="Beispielansicht eines Befunds und des CRA-Status">
|
||||
<figcaption class="bp-visual-caption">Beispielansicht</figcaption>
|
||||
|
||||
<article class="bp-finding">
|
||||
<header class="bp-finding-head">
|
||||
<span class="bp-sev">Hoch</span>
|
||||
<span class="bp-finding-meta">Befund · CWE-120 · semgrep</span>
|
||||
</header>
|
||||
<h3 class="bp-finding-title">Unbegrenzte Kopie in den Empfangspuffer</h3>
|
||||
<dl class="bp-finding-where">
|
||||
<dt>Fundstelle</dt>
|
||||
<dd><code>src/comm/modbus_handler.c:214</code></dd>
|
||||
</dl>
|
||||
<pre class="bp-snippet"><code><span class="ln">212</span> uint8_t rx_buf[64];
|
||||
<span class="ln">213</span>
|
||||
<span class="hl"><span class="ln">214</span> memcpy(rx_buf, frame->data, frame->len);</span></code></pre>
|
||||
<div class="bp-link-row">
|
||||
<span class="bp-link-label">Befund ↔ Anforderung</span>
|
||||
<span class="bp-req">CRA Anhang I, Teil I, Nr. 2</span>
|
||||
<span class="bp-state bp-state-violated">Nicht erfüllt</span>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<div class="bp-strip">
|
||||
<div class="bp-strip-head">
|
||||
<span>CRA-Status</span>
|
||||
<span class="bp-strip-total">{{ craTotal }} Anforderungen</span>
|
||||
</div>
|
||||
<div class="bp-bar" role="img"
|
||||
:aria-label="craStates.map((s) => `${s.label} ${s.count}`).join(', ')">
|
||||
<span v-for="s in craStates" :key="s.key" :class="['bp-seg', `bp-seg-${s.key}`]"
|
||||
:style="{ flexGrow: s.count }" />
|
||||
</div>
|
||||
<ul class="bp-legend">
|
||||
<li v-for="s in craStates" :key="s.key">
|
||||
<span :class="['bp-dot', `bp-seg-${s.key}`]" />
|
||||
<span class="bp-legend-label">{{ s.label }}</span>
|
||||
<span class="bp-legend-count">{{ s.count }}</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</figure>
|
||||
</section>
|
||||
|
||||
<!-- What gets checked -->
|
||||
<section id="was-pruefwerk-prueft" class="bp-section bp-wrap">
|
||||
<h2 class="bp-h2">Was Prüfwerk prüft</h2>
|
||||
<div class="bp-checks">
|
||||
<div v-for="c in checks" :key="c.title" class="bp-check">
|
||||
<h3>{{ c.title }}</h3>
|
||||
<p>{{ c.body }}</p>
|
||||
<ul class="bp-tools">
|
||||
<li v-for="t in c.tools" :key="t">{{ t }}</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- How a check runs -->
|
||||
<section class="bp-section bp-wrap">
|
||||
<h2 class="bp-h2">So läuft eine Prüfung</h2>
|
||||
<ol class="bp-steps">
|
||||
<li v-for="(s, i) in steps" :key="s.title" class="bp-step">
|
||||
<span class="bp-step-no">{{ String(i + 1).padStart(2, '0') }}</span>
|
||||
<h3>{{ s.title }}</h3>
|
||||
<p>{{ s.body }}</p>
|
||||
</li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<!-- Evidence pack -->
|
||||
<section class="bp-section bp-wrap bp-pack">
|
||||
<div class="bp-pack-copy">
|
||||
<h2 class="bp-h2">Was Sie erhalten</h2>
|
||||
<p>
|
||||
Ein Nachweispaket je Prüfobjekt, als ZIP. Jede Datei steht mit ihrer
|
||||
SHA-256-Prüfsumme im Manifest, so lässt sich später zeigen, dass ein
|
||||
Nachweis unverändert ist.
|
||||
</p>
|
||||
<p>
|
||||
Dieselben Nachweise stehen der BreakPilot-Plattform über API und MCP bereit.
|
||||
Befunde aus Penetrationstests importieren Sie als SARIF 2.1.0 oder ZAP-JSON.
|
||||
</p>
|
||||
</div>
|
||||
<div class="bp-listing" aria-label="Inhalt des Nachweispakets">
|
||||
<div class="bp-listing-head">pruefwerk-evidence-<id>-<datum>.zip</div>
|
||||
<ul>
|
||||
<li v-for="f in packFiles" :key="f.name">
|
||||
<span class="bp-file">{{ f.name }}</span>
|
||||
<span class="bp-file-what">{{ f.what }}</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Honesty note -->
|
||||
<section class="bp-section bp-wrap bp-note">
|
||||
<p>
|
||||
Prüfwerk liefert Nachweise für die CRA-Bewertung. Es zeigt, welche Anforderungen
|
||||
im Code geprüft sind, und sagt offen, was nicht bewertet wurde und warum.
|
||||
Prozess- und Designanforderungen belegen Sie im BreakPilot-Compliance-Prozess.
|
||||
</p>
|
||||
<dl class="bp-dates">
|
||||
<div>
|
||||
<dt>11. September 2026</dt>
|
||||
<dd>Meldepflichten gelten</dd>
|
||||
</div>
|
||||
<div>
|
||||
<dt>11. Dezember 2027</dt>
|
||||
<dd>CRA gilt in vollem Umfang</dd>
|
||||
</div>
|
||||
</dl>
|
||||
</section>
|
||||
|
||||
<footer class="bp-footer bp-wrap">
|
||||
<span>Prüfwerk von BreakPilot</span>
|
||||
<nav aria-label="Rechtliches">
|
||||
<a href="https://breakpilot.com">Plattform</a>
|
||||
<a href="https://breakpilot.com/impressum">Impressum</a>
|
||||
<a href="https://breakpilot.com/datenschutz">Datenschutz</a>
|
||||
</nav>
|
||||
</footer>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.bp-home {
|
||||
padding-bottom: 24px;
|
||||
color: var(--bp-text);
|
||||
}
|
||||
|
||||
.bp-wrap {
|
||||
max-width: 1152px;
|
||||
margin: 0 auto;
|
||||
padding: 0 32px;
|
||||
}
|
||||
|
||||
/* ---------- Opener ---------- */
|
||||
|
||||
.bp-opener {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
|
||||
gap: 64px;
|
||||
align-items: center;
|
||||
padding-top: 88px;
|
||||
padding-bottom: 48px;
|
||||
}
|
||||
|
||||
.bp-eyebrow {
|
||||
margin: 0 0 20px;
|
||||
font-family: var(--bp-mono);
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.1em;
|
||||
text-transform: uppercase;
|
||||
color: var(--bp-accent);
|
||||
}
|
||||
|
||||
.bp-title {
|
||||
margin: 0;
|
||||
max-width: 13ch;
|
||||
font-size: clamp(38px, 5.6vw, 62px);
|
||||
line-height: 1.02;
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.04em;
|
||||
color: var(--bp-ink);
|
||||
}
|
||||
|
||||
.bp-lede {
|
||||
margin: 28px 0 0;
|
||||
max-width: 46ch;
|
||||
font-size: 18px;
|
||||
line-height: 1.6;
|
||||
color: var(--bp-text);
|
||||
}
|
||||
|
||||
.bp-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 28px;
|
||||
margin-top: 36px;
|
||||
}
|
||||
|
||||
.bp-button {
|
||||
display: inline-block;
|
||||
padding: 11px 20px;
|
||||
border-radius: 8px;
|
||||
background: var(--bp-accent);
|
||||
color: #fff;
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
text-decoration: none;
|
||||
transition: background-color 0.15s;
|
||||
}
|
||||
|
||||
.dark .bp-button {
|
||||
color: #0f1225;
|
||||
}
|
||||
|
||||
.bp-button:hover {
|
||||
background: var(--bp-accent-hover);
|
||||
}
|
||||
|
||||
.bp-textlink {
|
||||
color: var(--bp-ink);
|
||||
font-size: 15px;
|
||||
font-weight: 500;
|
||||
text-decoration: none;
|
||||
border-bottom: 1px solid var(--bp-rule);
|
||||
padding-bottom: 2px;
|
||||
}
|
||||
|
||||
.bp-textlink:hover {
|
||||
color: var(--bp-accent);
|
||||
border-bottom-color: var(--bp-accent);
|
||||
}
|
||||
|
||||
/* ---------- Product visual ---------- */
|
||||
|
||||
.bp-visual {
|
||||
position: relative;
|
||||
margin: 0;
|
||||
padding: 22px;
|
||||
border: 1px solid var(--bp-rule);
|
||||
border-radius: 16px;
|
||||
background: var(--bp-surface);
|
||||
box-shadow: 0 1px 2px rgba(20, 22, 43, 0.04), 0 24px 48px -24px rgba(20, 22, 43, 0.18);
|
||||
}
|
||||
|
||||
.dark .bp-visual {
|
||||
box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.6);
|
||||
}
|
||||
|
||||
.bp-visual-caption {
|
||||
position: absolute;
|
||||
top: -10px;
|
||||
left: 20px;
|
||||
padding: 2px 8px;
|
||||
border: 1px solid var(--bp-rule);
|
||||
border-radius: 4px;
|
||||
background: var(--bp-ground);
|
||||
font-family: var(--bp-mono);
|
||||
font-size: 10.5px;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
color: var(--bp-muted);
|
||||
}
|
||||
|
||||
.bp-finding {
|
||||
padding: 18px 18px 16px;
|
||||
border: 1px solid var(--bp-rule);
|
||||
border-left: 3px solid var(--bp-danger);
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.bp-finding-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.bp-sev {
|
||||
padding: 2px 8px;
|
||||
border-radius: 4px;
|
||||
background: var(--bp-danger-soft);
|
||||
color: var(--bp-danger);
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.bp-finding-meta {
|
||||
font-family: var(--bp-mono);
|
||||
font-size: 11.5px;
|
||||
color: var(--bp-muted);
|
||||
}
|
||||
|
||||
.bp-finding-title {
|
||||
margin: 12px 0 0;
|
||||
font-size: 17px;
|
||||
line-height: 1.35;
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.012em;
|
||||
color: var(--bp-ink);
|
||||
}
|
||||
|
||||
.bp-finding-where {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
gap: 10px;
|
||||
margin: 10px 0 0;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.bp-finding-where dt {
|
||||
color: var(--bp-muted);
|
||||
}
|
||||
|
||||
.bp-finding-where dd {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.bp-finding-where code {
|
||||
font-family: var(--bp-mono);
|
||||
font-size: 12.5px;
|
||||
color: var(--bp-ink);
|
||||
}
|
||||
|
||||
.bp-snippet {
|
||||
margin: 12px 0 0;
|
||||
padding: 10px 0;
|
||||
border-radius: 8px;
|
||||
background: var(--bp-night);
|
||||
overflow-x: auto;
|
||||
font-family: var(--bp-mono);
|
||||
font-size: 12px;
|
||||
line-height: 1.7;
|
||||
color: #c9cdea;
|
||||
}
|
||||
|
||||
.bp-snippet code {
|
||||
display: block;
|
||||
min-width: max-content;
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
.bp-snippet .ln {
|
||||
display: inline-block;
|
||||
width: 40px;
|
||||
padding-right: 10px;
|
||||
text-align: right;
|
||||
color: #4f557d;
|
||||
}
|
||||
|
||||
.bp-snippet .hl {
|
||||
display: inline-block;
|
||||
min-width: 100%;
|
||||
padding-right: 14px;
|
||||
background: rgba(139, 135, 246, 0.16);
|
||||
box-shadow: inset 2px 0 0 #8b87f6;
|
||||
color: #eef0fa;
|
||||
}
|
||||
|
||||
.bp-link-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 8px 12px;
|
||||
margin-top: 14px;
|
||||
padding-top: 12px;
|
||||
border-top: 1px dashed var(--bp-rule);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.bp-link-label {
|
||||
font-family: var(--bp-mono);
|
||||
font-size: 11px;
|
||||
letter-spacing: 0.06em;
|
||||
text-transform: uppercase;
|
||||
color: var(--bp-muted);
|
||||
}
|
||||
|
||||
.bp-req {
|
||||
font-weight: 600;
|
||||
color: var(--bp-ink);
|
||||
}
|
||||
|
||||
.bp-state {
|
||||
margin-left: auto;
|
||||
padding: 2px 8px;
|
||||
border-radius: 4px;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.bp-state-violated {
|
||||
background: var(--bp-danger-soft);
|
||||
color: var(--bp-danger);
|
||||
}
|
||||
|
||||
.bp-strip {
|
||||
margin-top: 18px;
|
||||
padding: 4px 2px 0;
|
||||
}
|
||||
|
||||
.bp-strip-head {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
color: var(--bp-ink);
|
||||
}
|
||||
|
||||
.bp-strip-total {
|
||||
font-family: var(--bp-mono);
|
||||
font-size: 11.5px;
|
||||
font-weight: 400;
|
||||
color: var(--bp-muted);
|
||||
}
|
||||
|
||||
.bp-bar {
|
||||
display: flex;
|
||||
gap: 2px;
|
||||
height: 10px;
|
||||
margin-top: 10px;
|
||||
overflow: hidden;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.bp-seg {
|
||||
display: block;
|
||||
flex-basis: 0;
|
||||
}
|
||||
|
||||
.bp-seg-violated {
|
||||
background: var(--bp-danger);
|
||||
}
|
||||
|
||||
.bp-seg-unassessed {
|
||||
background: var(--bp-neutral);
|
||||
}
|
||||
|
||||
.bp-seg-clean {
|
||||
background: var(--bp-ok);
|
||||
}
|
||||
|
||||
.bp-seg-process {
|
||||
background: var(--bp-process);
|
||||
}
|
||||
|
||||
.bp-legend {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 6px 18px;
|
||||
margin: 12px 0 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
font-size: 12.5px;
|
||||
}
|
||||
|
||||
.bp-legend li {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.bp-dot {
|
||||
flex: none;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.bp-legend-label {
|
||||
color: var(--bp-text);
|
||||
}
|
||||
|
||||
.bp-legend-count {
|
||||
margin-left: auto;
|
||||
font-family: var(--bp-mono);
|
||||
color: var(--bp-ink);
|
||||
}
|
||||
|
||||
/* ---------- Sections ---------- */
|
||||
|
||||
.bp-section {
|
||||
padding-top: 72px;
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
|
||||
.bp-h2 {
|
||||
margin: 0 0 32px;
|
||||
padding-top: 20px;
|
||||
border-top: 1px solid var(--bp-rule);
|
||||
font-size: 26px;
|
||||
line-height: 1.2;
|
||||
font-weight: 650;
|
||||
letter-spacing: -0.025em;
|
||||
color: var(--bp-ink);
|
||||
}
|
||||
|
||||
.bp-checks {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 40px;
|
||||
}
|
||||
|
||||
.bp-check h3,
|
||||
.bp-step h3 {
|
||||
margin: 0;
|
||||
font-size: 17px;
|
||||
line-height: 1.35;
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.012em;
|
||||
color: var(--bp-ink);
|
||||
}
|
||||
|
||||
.bp-check p,
|
||||
.bp-step p {
|
||||
margin: 10px 0 0;
|
||||
font-size: 15px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.bp-tools {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
margin: 16px 0 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.bp-tools li {
|
||||
padding: 3px 8px;
|
||||
border: 1px solid var(--bp-rule);
|
||||
border-radius: 4px;
|
||||
background: var(--bp-surface);
|
||||
font-family: var(--bp-mono);
|
||||
font-size: 12px;
|
||||
color: var(--bp-ink);
|
||||
}
|
||||
|
||||
.bp-steps {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
gap: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
counter-reset: none;
|
||||
}
|
||||
|
||||
.bp-step {
|
||||
position: relative;
|
||||
padding: 0 28px 0 0;
|
||||
}
|
||||
|
||||
.bp-step-no {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
margin-bottom: 16px;
|
||||
font-family: var(--bp-mono);
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
color: var(--bp-accent);
|
||||
}
|
||||
|
||||
/* The hairline that joins the steps into one sequence. */
|
||||
.bp-step-no::after {
|
||||
content: '';
|
||||
flex: 1;
|
||||
height: 1px;
|
||||
background: var(--bp-accent-line);
|
||||
}
|
||||
|
||||
.bp-step:last-child .bp-step-no::after {
|
||||
background: linear-gradient(to right, var(--bp-accent-line), transparent);
|
||||
}
|
||||
|
||||
.bp-pack {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
|
||||
gap: 56px;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.bp-pack-copy p {
|
||||
margin: 0 0 14px;
|
||||
max-width: 46ch;
|
||||
font-size: 16px;
|
||||
line-height: 1.65;
|
||||
}
|
||||
|
||||
.bp-listing {
|
||||
margin-top: 21px;
|
||||
border-radius: 12px;
|
||||
background: var(--bp-night);
|
||||
border: 1px solid var(--bp-night-rule);
|
||||
font-family: var(--bp-mono);
|
||||
font-size: 12.5px;
|
||||
color: #c9cdea;
|
||||
}
|
||||
|
||||
.bp-listing-head {
|
||||
padding: 12px 18px;
|
||||
border-bottom: 1px solid var(--bp-night-rule);
|
||||
color: #eef0fa;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.bp-listing ul {
|
||||
margin: 0;
|
||||
padding: 10px 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.bp-listing li {
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
padding: 5px 18px 5px 34px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.bp-listing li::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 20px;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: 1px;
|
||||
background: var(--bp-night-rule);
|
||||
}
|
||||
|
||||
.bp-file {
|
||||
flex: none;
|
||||
white-space: nowrap;
|
||||
color: #eef0fa;
|
||||
}
|
||||
|
||||
.bp-listing li:last-child .bp-file {
|
||||
color: #a5a2f8;
|
||||
}
|
||||
|
||||
.bp-file-what {
|
||||
margin-left: auto;
|
||||
text-align: right;
|
||||
color: #7d82a8;
|
||||
}
|
||||
|
||||
.bp-note {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
|
||||
gap: 56px;
|
||||
align-items: start;
|
||||
padding-top: 88px;
|
||||
}
|
||||
|
||||
.bp-note p {
|
||||
margin: 0;
|
||||
padding-left: 20px;
|
||||
border-left: 2px solid var(--bp-accent);
|
||||
max-width: 58ch;
|
||||
font-size: 17px;
|
||||
line-height: 1.65;
|
||||
color: var(--bp-ink);
|
||||
}
|
||||
|
||||
.bp-dates {
|
||||
display: grid;
|
||||
gap: 16px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.bp-dates div {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
gap: 16px;
|
||||
padding-bottom: 12px;
|
||||
border-bottom: 1px solid var(--bp-rule);
|
||||
}
|
||||
|
||||
.bp-dates dt {
|
||||
flex: none;
|
||||
width: 11em;
|
||||
font-family: var(--bp-mono);
|
||||
font-size: 13px;
|
||||
color: var(--bp-ink);
|
||||
}
|
||||
|
||||
.bp-dates dd {
|
||||
margin: 0;
|
||||
font-size: 14.5px;
|
||||
}
|
||||
|
||||
.bp-footer {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
gap: 12px 24px;
|
||||
margin-top: 96px;
|
||||
padding-top: 24px;
|
||||
padding-bottom: 24px;
|
||||
border-top: 1px solid var(--bp-rule);
|
||||
font-size: 13.5px;
|
||||
color: var(--bp-muted);
|
||||
}
|
||||
|
||||
.bp-footer nav {
|
||||
display: flex;
|
||||
gap: 24px;
|
||||
}
|
||||
|
||||
.bp-footer a {
|
||||
color: var(--bp-text);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.bp-footer a:hover {
|
||||
color: var(--bp-accent);
|
||||
}
|
||||
|
||||
/* ---------- Narrower screens ---------- */
|
||||
|
||||
@media (max-width: 1023px) {
|
||||
.bp-opener {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
gap: 48px;
|
||||
padding-top: 56px;
|
||||
padding-bottom: 64px;
|
||||
}
|
||||
|
||||
.bp-visual {
|
||||
max-width: 560px;
|
||||
}
|
||||
|
||||
.bp-steps {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
row-gap: 36px;
|
||||
}
|
||||
|
||||
.bp-pack,
|
||||
.bp-note {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
gap: 32px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.bp-wrap {
|
||||
padding: 0 16px;
|
||||
}
|
||||
|
||||
.bp-opener {
|
||||
padding-top: 40px;
|
||||
}
|
||||
|
||||
.bp-lede {
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
.bp-visual {
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.bp-finding {
|
||||
padding: 14px;
|
||||
}
|
||||
|
||||
.bp-state {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.bp-legend {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.bp-checks,
|
||||
.bp-steps {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
gap: 32px;
|
||||
}
|
||||
|
||||
.bp-step {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.bp-section {
|
||||
padding-top: 56px;
|
||||
}
|
||||
|
||||
.bp-listing li {
|
||||
flex-direction: column;
|
||||
gap: 0;
|
||||
}
|
||||
|
||||
.bp-file-what {
|
||||
margin-left: 0;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.bp-dates dt {
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,8 @@
|
||||
<!-- The BreakPilot wordmark with the product name underneath, as in the
|
||||
dashboard. The chevron next to it is the theme's `logo`. -->
|
||||
<template>
|
||||
<span class="bp-wordmark">
|
||||
<span class="bp-wordmark-name">Break<span>Pilot</span></span>
|
||||
<span class="bp-wordmark-sub">Prüfwerk</span>
|
||||
</span>
|
||||
</template>
|
||||
@@ -0,0 +1,469 @@
|
||||
/*
|
||||
* Prüfwerk docs in the BreakPilot platform look.
|
||||
*
|
||||
* Tokens first (light, then dark), then the default theme's variables mapped
|
||||
* onto them, then typography for content pages, custom blocks, code, sidebar
|
||||
* and the navbar wordmark. The home page styles live in HomePage.vue.
|
||||
* Fonts (Geist, Geist Mono) are loaded from Google Fonts in config.mts.
|
||||
*/
|
||||
|
||||
/* ---------- Tokens ---------- */
|
||||
|
||||
:root {
|
||||
--bp-ground: #f5f6fb;
|
||||
--bp-surface: #ffffff;
|
||||
--bp-ink: #14162b;
|
||||
--bp-text: #414669;
|
||||
--bp-muted: #5e6384;
|
||||
--bp-rule: #e4e6f0;
|
||||
--bp-accent: #4f46e5;
|
||||
--bp-accent-hover: #4338ca;
|
||||
--bp-accent-soft: rgba(79, 70, 229, 0.08);
|
||||
--bp-accent-line: rgba(79, 70, 229, 0.28);
|
||||
--bp-violet: #7c3aed;
|
||||
--bp-night: #0f1225;
|
||||
--bp-night-rule: #232846;
|
||||
--bp-night-text: #c9cdea;
|
||||
|
||||
--bp-ok: #17805a;
|
||||
--bp-ok-soft: rgba(23, 128, 90, 0.08);
|
||||
--bp-warn: #a15c07;
|
||||
--bp-warn-soft: rgba(161, 92, 7, 0.08);
|
||||
--bp-danger: #c0283f;
|
||||
--bp-danger-soft: rgba(192, 40, 63, 0.07);
|
||||
--bp-neutral: #c9ccdf;
|
||||
--bp-process: #b9b5f5;
|
||||
|
||||
--bp-sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto,
|
||||
'Helvetica Neue', Arial, sans-serif;
|
||||
--bp-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
|
||||
monospace;
|
||||
}
|
||||
|
||||
.dark {
|
||||
--bp-ground: #0f1225;
|
||||
--bp-surface: #1a1e38;
|
||||
--bp-ink: #eef0fa;
|
||||
--bp-text: #b9bedc;
|
||||
--bp-muted: #8b90b3;
|
||||
--bp-rule: #2a2f52;
|
||||
--bp-accent: #8b87f6;
|
||||
--bp-accent-hover: #a5a2f8;
|
||||
--bp-accent-soft: rgba(139, 135, 246, 0.1);
|
||||
--bp-accent-line: rgba(139, 135, 246, 0.35);
|
||||
--bp-violet: #a78bfa;
|
||||
--bp-night: #0a0c1a;
|
||||
--bp-night-rule: #232846;
|
||||
|
||||
--bp-ok: #4cc79a;
|
||||
--bp-ok-soft: rgba(76, 199, 154, 0.09);
|
||||
--bp-warn: #e7a74a;
|
||||
--bp-warn-soft: rgba(231, 167, 74, 0.09);
|
||||
--bp-danger: #f07a8c;
|
||||
--bp-danger-soft: rgba(240, 122, 140, 0.09);
|
||||
--bp-neutral: #3a4068;
|
||||
--bp-process: #4a4690;
|
||||
}
|
||||
|
||||
/* ---------- Default theme variables ---------- */
|
||||
|
||||
:root,
|
||||
.dark {
|
||||
--vp-font-family-base: var(--bp-sans);
|
||||
--vp-font-family-mono: var(--bp-mono);
|
||||
|
||||
--vp-c-bg: var(--bp-ground);
|
||||
--vp-c-bg-alt: var(--bp-surface);
|
||||
--vp-c-bg-elv: var(--bp-surface);
|
||||
--vp-c-bg-soft: var(--bp-accent-soft);
|
||||
|
||||
--vp-c-text-1: var(--bp-ink);
|
||||
--vp-c-text-2: var(--bp-text);
|
||||
--vp-c-text-3: var(--bp-muted);
|
||||
|
||||
--vp-c-divider: var(--bp-rule);
|
||||
--vp-c-border: var(--bp-rule);
|
||||
--vp-c-gutter: var(--bp-rule);
|
||||
|
||||
--vp-c-brand-1: var(--bp-accent);
|
||||
--vp-c-brand-2: var(--bp-accent-hover);
|
||||
--vp-c-brand-3: var(--bp-accent);
|
||||
--vp-c-brand-soft: var(--bp-accent-soft);
|
||||
|
||||
--vp-c-tip-1: var(--bp-ok);
|
||||
--vp-c-tip-soft: var(--bp-ok-soft);
|
||||
--vp-c-warning-1: var(--bp-warn);
|
||||
--vp-c-warning-soft: var(--bp-warn-soft);
|
||||
--vp-c-danger-1: var(--bp-danger);
|
||||
--vp-c-danger-soft: var(--bp-danger-soft);
|
||||
--vp-c-caution-1: var(--bp-danger);
|
||||
--vp-c-caution-soft: var(--bp-danger-soft);
|
||||
|
||||
--vp-nav-bg-color: var(--bp-surface);
|
||||
--vp-sidebar-bg-color: var(--bp-surface);
|
||||
--vp-local-nav-bg-color: var(--bp-surface);
|
||||
|
||||
--vp-button-brand-bg: var(--bp-accent);
|
||||
--vp-button-brand-hover-bg: var(--bp-accent-hover);
|
||||
--vp-button-brand-active-bg: var(--bp-accent-hover);
|
||||
--vp-button-brand-text: #ffffff;
|
||||
--vp-button-brand-hover-text: #ffffff;
|
||||
--vp-button-brand-active-text: #ffffff;
|
||||
|
||||
--vp-code-font-size: 0.9em;
|
||||
--vp-code-bg: var(--bp-accent-soft);
|
||||
--vp-code-color: var(--bp-ink);
|
||||
--vp-code-block-bg: var(--bp-night);
|
||||
--vp-code-block-color: var(--bp-night-text);
|
||||
--vp-code-block-divider-color: var(--bp-night-rule);
|
||||
--vp-code-lang-color: #8b90b3;
|
||||
--vp-code-line-highlight-color: rgba(139, 135, 246, 0.16);
|
||||
--vp-code-line-number-color: #4f557d;
|
||||
--vp-code-copy-code-bg: #1a1e38;
|
||||
--vp-code-copy-code-hover-bg: #232846;
|
||||
--vp-code-copy-code-border-color: #2a2f52;
|
||||
--vp-code-copy-code-hover-border-color: #3a4068;
|
||||
|
||||
--vp-custom-block-font-size: 15px;
|
||||
}
|
||||
|
||||
.dark {
|
||||
/* Dark ink on the light accent keeps the primary button readable. */
|
||||
--vp-button-brand-text: #0f1225;
|
||||
--vp-button-brand-hover-text: #0f1225;
|
||||
--vp-button-brand-active-text: #0f1225;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: var(--bp-ground);
|
||||
font-feature-settings: 'ss01', 'cv11';
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
/* ---------- Content typography ---------- */
|
||||
|
||||
.vp-doc {
|
||||
color: var(--bp-text);
|
||||
font-size: 16px;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.vp-doc p,
|
||||
.vp-doc ul,
|
||||
.vp-doc ol,
|
||||
.vp-doc blockquote {
|
||||
max-width: 70ch;
|
||||
}
|
||||
|
||||
.vp-doc h1,
|
||||
.vp-doc h2,
|
||||
.vp-doc h3,
|
||||
.vp-doc h4 {
|
||||
color: var(--bp-ink);
|
||||
font-weight: 650;
|
||||
}
|
||||
|
||||
.vp-doc h1 {
|
||||
font-size: clamp(30px, 4vw, 38px);
|
||||
line-height: 1.12;
|
||||
letter-spacing: -0.03em;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.vp-doc h2 {
|
||||
margin-top: 56px;
|
||||
padding-top: 28px;
|
||||
border-top: 1px solid var(--bp-rule);
|
||||
font-size: 24px;
|
||||
line-height: 1.25;
|
||||
letter-spacing: -0.022em;
|
||||
}
|
||||
|
||||
.vp-doc h3 {
|
||||
margin-top: 36px;
|
||||
font-size: 18px;
|
||||
letter-spacing: -0.012em;
|
||||
}
|
||||
|
||||
.vp-doc h4 {
|
||||
font-family: var(--bp-mono);
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
color: var(--bp-muted);
|
||||
}
|
||||
|
||||
.vp-doc strong {
|
||||
color: var(--bp-ink);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.vp-doc a {
|
||||
color: var(--bp-accent);
|
||||
font-weight: 500;
|
||||
text-decoration: underline;
|
||||
text-decoration-color: var(--bp-accent-line);
|
||||
text-underline-offset: 3px;
|
||||
text-decoration-thickness: 1px;
|
||||
}
|
||||
|
||||
.vp-doc a:hover {
|
||||
color: var(--bp-accent-hover);
|
||||
text-decoration-color: currentColor;
|
||||
}
|
||||
|
||||
.vp-doc hr {
|
||||
border-top: 1px solid var(--bp-rule);
|
||||
}
|
||||
|
||||
.vp-doc blockquote {
|
||||
border-left: 2px solid var(--bp-accent);
|
||||
color: var(--bp-text);
|
||||
}
|
||||
|
||||
/* Tables: hairlines only, a mono header row. */
|
||||
.vp-doc table {
|
||||
border-collapse: collapse;
|
||||
font-size: 14.5px;
|
||||
}
|
||||
|
||||
.vp-doc tr {
|
||||
background: transparent !important;
|
||||
border-top: 1px solid var(--bp-rule);
|
||||
}
|
||||
|
||||
.vp-doc th,
|
||||
.vp-doc td {
|
||||
border: none;
|
||||
border-bottom: 1px solid var(--bp-rule);
|
||||
padding: 10px 16px 10px 0;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.vp-doc th {
|
||||
background: transparent;
|
||||
font-family: var(--bp-mono);
|
||||
font-size: 11.5px;
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.07em;
|
||||
text-transform: uppercase;
|
||||
color: var(--bp-muted);
|
||||
}
|
||||
|
||||
/* Inline code: a quiet indigo tint, mono. */
|
||||
.vp-doc :not(pre) > code {
|
||||
border-radius: 4px;
|
||||
padding: 2px 5px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.vp-doc a > code {
|
||||
color: var(--bp-accent);
|
||||
}
|
||||
|
||||
/* ---------- Code blocks: "Nacht" ---------- */
|
||||
|
||||
.vp-doc div[class*='language-'] {
|
||||
border: 1px solid var(--bp-night-rule);
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.vp-doc div[class*='language-'] .highlighted {
|
||||
box-shadow: inset 2px 0 0 #8b87f6;
|
||||
}
|
||||
|
||||
/* ---------- Custom blocks ---------- */
|
||||
|
||||
.vp-doc .custom-block {
|
||||
border: 1px solid var(--bp-rule);
|
||||
border-left-width: 3px;
|
||||
border-radius: 6px;
|
||||
background: var(--bp-surface);
|
||||
color: var(--bp-text);
|
||||
padding: 14px 20px 12px;
|
||||
line-height: 1.65;
|
||||
}
|
||||
|
||||
.vp-doc .custom-block .custom-block-title {
|
||||
font-family: var(--bp-mono);
|
||||
font-size: 11.5px;
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.vp-doc .custom-block.info,
|
||||
.vp-doc .custom-block.note,
|
||||
.vp-doc .custom-block.important,
|
||||
.vp-doc .custom-block.details {
|
||||
border-left-color: var(--bp-accent);
|
||||
}
|
||||
|
||||
.vp-doc .custom-block.info .custom-block-title,
|
||||
.vp-doc .custom-block.note .custom-block-title,
|
||||
.vp-doc .custom-block.important .custom-block-title {
|
||||
color: var(--bp-accent);
|
||||
}
|
||||
|
||||
.vp-doc .custom-block.tip {
|
||||
border-left-color: var(--bp-ok);
|
||||
background: linear-gradient(var(--bp-ok-soft), var(--bp-ok-soft)), var(--bp-surface);
|
||||
}
|
||||
|
||||
.vp-doc .custom-block.tip .custom-block-title {
|
||||
color: var(--bp-ok);
|
||||
}
|
||||
|
||||
.vp-doc .custom-block.warning {
|
||||
border-left-color: var(--bp-warn);
|
||||
background: linear-gradient(var(--bp-warn-soft), var(--bp-warn-soft)), var(--bp-surface);
|
||||
}
|
||||
|
||||
.vp-doc .custom-block.warning .custom-block-title {
|
||||
color: var(--bp-warn);
|
||||
}
|
||||
|
||||
.vp-doc .custom-block.danger,
|
||||
.vp-doc .custom-block.caution {
|
||||
border-left-color: var(--bp-danger);
|
||||
background: linear-gradient(var(--bp-danger-soft), var(--bp-danger-soft)),
|
||||
var(--bp-surface);
|
||||
}
|
||||
|
||||
.vp-doc .custom-block.danger .custom-block-title,
|
||||
.vp-doc .custom-block.caution .custom-block-title {
|
||||
color: var(--bp-danger);
|
||||
}
|
||||
|
||||
.vp-doc .custom-block a {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
/* ---------- Sidebar ---------- */
|
||||
|
||||
.VPSidebar {
|
||||
border-right: 1px solid var(--bp-rule);
|
||||
}
|
||||
|
||||
.VPSidebarItem.level-0 > .item > .text,
|
||||
.VPSidebarItem.level-0 > .item > .link > .text {
|
||||
font-family: var(--bp-mono);
|
||||
font-size: 11px !important;
|
||||
font-weight: 500 !important;
|
||||
letter-spacing: 0.09em;
|
||||
text-transform: uppercase;
|
||||
color: var(--bp-muted) !important;
|
||||
}
|
||||
|
||||
.VPSidebarItem.level-0 {
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
.VPSidebarItem.level-1 .text {
|
||||
font-size: 14px;
|
||||
color: var(--bp-text);
|
||||
}
|
||||
|
||||
.VPSidebarItem.level-1.is-active > .item .text {
|
||||
color: var(--bp-accent);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.VPSidebarItem.level-1.is-active > .item > .indicator {
|
||||
background-color: var(--bp-accent);
|
||||
}
|
||||
|
||||
/* ---------- Navbar and wordmark ---------- */
|
||||
|
||||
.VPNavBar .divider-line {
|
||||
background-color: var(--bp-rule) !important;
|
||||
}
|
||||
|
||||
/* One solid bar across the full width, including over the sidebar column. */
|
||||
.VPNavBar,
|
||||
.VPNavBar.has-sidebar {
|
||||
background-color: var(--vp-nav-bg-color) !important;
|
||||
}
|
||||
|
||||
.VPNavBar .content-body {
|
||||
border-bottom: 1px solid var(--bp-rule);
|
||||
}
|
||||
|
||||
.VPNavBarTitle .logo {
|
||||
height: 26px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.VPNavBarMenuLink {
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.bp-wordmark {
|
||||
display: inline-flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.bp-wordmark-name {
|
||||
font-size: 18px;
|
||||
font-weight: 800;
|
||||
letter-spacing: -0.03em;
|
||||
color: var(--bp-ink);
|
||||
}
|
||||
|
||||
.bp-wordmark-name span {
|
||||
color: var(--bp-accent);
|
||||
}
|
||||
|
||||
.bp-wordmark-sub {
|
||||
margin-top: 3px;
|
||||
font-family: var(--bp-mono);
|
||||
font-size: 10.5px;
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
color: var(--bp-muted);
|
||||
}
|
||||
|
||||
/* ---------- Doc footer, pager, outline ---------- */
|
||||
|
||||
.VPDocFooter .pager-link {
|
||||
border-radius: 8px;
|
||||
background: var(--bp-surface);
|
||||
}
|
||||
|
||||
.VPDocFooter .pager-link .desc {
|
||||
font-family: var(--bp-mono);
|
||||
font-size: 11px;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.VPDocAsideOutline .outline-title {
|
||||
font-family: var(--bp-mono);
|
||||
font-size: 11px;
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.09em;
|
||||
text-transform: uppercase;
|
||||
color: var(--bp-muted);
|
||||
}
|
||||
|
||||
.VPDocAsideOutline .outline-marker {
|
||||
background-color: var(--bp-accent);
|
||||
}
|
||||
|
||||
/* ---------- Phone width ---------- */
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.vp-doc h2 {
|
||||
margin-top: 40px;
|
||||
padding-top: 22px;
|
||||
}
|
||||
|
||||
.vp-doc table {
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
// The default VitePress theme in the BreakPilot platform look: palette, type
|
||||
// and surfaces in custom.css, the BreakPilot wordmark in the navbar, and a
|
||||
// custom home page (HomePage.vue) used from docs/index.md.
|
||||
import { h } from 'vue'
|
||||
import DefaultTheme from 'vitepress/theme'
|
||||
import type { Theme } from 'vitepress'
|
||||
import HomePage from './components/HomePage.vue'
|
||||
import Wordmark from './components/Wordmark.vue'
|
||||
import './custom.css'
|
||||
|
||||
export default {
|
||||
extends: DefaultTheme,
|
||||
Layout: () =>
|
||||
h(DefaultTheme.Layout, null, {
|
||||
'nav-bar-title-after': () => h(Wordmark),
|
||||
}),
|
||||
enhanceApp({ app }) {
|
||||
app.component('HomePage', HomePage)
|
||||
},
|
||||
} satisfies Theme
|
||||
@@ -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.
|
||||
|
||||

|
||||
|
||||
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.
|
||||
|
||||

|
||||
|
||||
### 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.
|
||||
|
||||

|
||||
|
||||
## 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
@@ -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).
|
||||
|
||||

|
||||
## 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.
|
||||
|
||||

|
||||
|
||||
### 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.
|
||||
|
||||

|
||||
|
||||
## 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.
|
||||
+9
-27
@@ -1,29 +1,11 @@
|
||||
---
|
||||
layout: home
|
||||
|
||||
hero:
|
||||
name: Prüfwerk
|
||||
text: AI-Powered Security Compliance
|
||||
tagline: Automated SAST, SBOM, DAST, CVE monitoring, and code intelligence for your repositories
|
||||
actions:
|
||||
- theme: brand
|
||||
text: Get Started
|
||||
link: /guide/getting-started
|
||||
- theme: alt
|
||||
text: Features
|
||||
link: /features/overview
|
||||
|
||||
features:
|
||||
- title: Smart Findings with AI Triage
|
||||
details: Every finding is triaged by an LLM that considers severity, blast radius, and codebase context. You get a confidence score, rationale, and remediation guidance -- not just raw scanner output.
|
||||
- title: SBOM & License Compliance
|
||||
details: Full software bill of materials with dependency inventory, vulnerability tracking, license compliance analysis, and export to CycloneDX and SPDX formats.
|
||||
- title: Dynamic Testing (DAST)
|
||||
details: Black-box security testing of live web applications and APIs. Crawls endpoints, fuzzes parameters, and detects SQL injection, XSS, SSRF, and auth bypass vulnerabilities.
|
||||
- title: Code Knowledge Graph
|
||||
details: Interactive visualization of your codebase structure. Understand function calls, class hierarchies, and module dependencies at a glance.
|
||||
- title: AI-Powered Chat
|
||||
details: Ask questions about your codebase using RAG-powered AI. Code is embedded and retrieved contextually to give accurate, source-referenced answers.
|
||||
- title: MCP Integration
|
||||
details: Expose your security data to LLM tools like Claude and Cursor through the Model Context Protocol. Query findings, SBOMs, and DAST results from any MCP-compatible client.
|
||||
layout: page
|
||||
title: Prüfwerk
|
||||
titleTemplate: CRA-Nachweise aus Ihrem Quellcode
|
||||
description: Prüfwerk prüft Quellcode, Firmware und SPS-Programme und liefert Nachweise für die Anforderungen aus Anhang I des Cyber Resilience Act.
|
||||
sidebar: false
|
||||
aside: false
|
||||
footer: false
|
||||
---
|
||||
|
||||
<HomePage />
|
||||
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="8.75 2.25 46.5 45" fill="none" stroke-linecap="round" stroke-linejoin="round"><path d="M12 44 L32 20 L52 44" stroke="#4F46E5" stroke-width="6.5"/><path d="M24 13 L32 5 L40 13" stroke="#7C3AED" stroke-width="5.5"/></svg>
|
||||
|
After Width: | Height: | Size: 269 B |
Reference in new issue
Block a user