Skip to main content
在 Manus 中运行任何 Skill
一键导入

convert-ocsf-to-mermaid-attack-flow

星标3
分支0
更新时间2026年7月10日 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.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
6 个文件
SKILL.md
readonly