Skip to main content
تشغيل أي مهارة في Manus
بنقرة واحدة

convert-ocsf-to-sarif

النجوم٣
التفرعات٠
آخر تحديث٩ يوليو ٢٠٢٦ في ٠٥:٤٣

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