Skip to main content
Jeden Skill in Manus ausführen
mit einem Klick

convert-ocsf-to-mermaid-attack-flow

Sterne3
Forks0
Aktualisiert10. Juli 2026 um 03:53

Convert OCSF 1.8 Detection Findings (class 2004) into Mermaid flowchart syntax suitable for inline rendering in PR comments, README files, and Markdown wikis. Produces a left-to-right attack flow showing each finding as actor → action → target chains, with MITRE ATT&CK technique IDs as edge labels and severity-coloured nodes. Multiple findings collapse into a single diagram so a reviewer sees the full attack chain in one picture. Use when the user mentions Mermaid, attack flow diagram, PR comment visualisation, README diagram for a detection result, or wants to embed a finding summary in Markdown without uploading SARIF. Do NOT use as a SARIF replacement (different audience: humans reading PRs vs GitHub code scanning UI). Do NOT use for non-finding OCSF events (class_uid != 2004) — those don't have the MITRE / actor / target structure this skill expects.

Installation

Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.

Datei-Explorer
6 Dateien
SKILL.md
readonly