Skip to main content
Manusで任意のスキルを実行
ワンクリックで

convert-ocsf-to-sarif

スター3
フォーク0
更新日2026年7月9日 05:43

Convert OCSF 1.8 Detection Findings (class 2004) into SARIF 2.1.0 results for upload to GitHub code scanning. Maps each finding's MITRE ATT&CK technique to a SARIF rule (ruleId = technique.uid), maps severity_id to SARIF level (CRITICAL/HIGH → error, MEDIUM → warning, LOW/INFO → note), and projects observables[] into SARIF locations and properties so the downstream Security tab carries the actor, target resource, and evidence pointers. Use when the user mentions SARIF, GitHub code scanning, GitHub Security tab, code scanning upload, or wants detection findings to land alongside dependency findings in the same UI. Do NOT use for OCSF events that are NOT Detection Findings (class 2004) — Compliance Findings (2003) and Inventory Info (5001) need different mappings; a future convert-ocsf-compliance-to-sarif will cover those. Do NOT use as a detection skill — this only converts.

インストール

Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。

ファイルエクスプローラー
6 ファイル
SKILL.md
readonly