emit-sarif

Serialize AI-generated security findings as SARIF v2.1.0 logs.

224|105|Updated Nov 5, 2015
One-click install
npx skills add https://github.com/microsoft/sarif-sdk --skill emit-sarif
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: emit-sarif
Source: https://github.com/microsoft/sarif-sdk/tree/main/skills/emit-sarif
Command: npx skills add https://github.com/microsoft/sarif-sdk --skill emit-sarif

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Serialize AI-generated security findings as a SARIF v2.1.0 log that downstream tooling can consume without tool-specific knowledge.

Core Features & Use Cases

  • Orchestrates the Sarif.Multitool emit workflow to produce a conformant SARIF file from AI findings.
  • Supports a staged run: initialize, append results and invocations, and finalize with validation to ensure profile conformance.
  • Enriches descriptors and integrates CWE taxonomy as part of the finalization, enabling robust risk analysis and interoperability with security pipelines.

Quick Start

Prepare your findings in memory and run the emit-finalize workflow to produce a conformant SARIF log.

Frequently Asked Questions about emit-sarif

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I serialize AI-generated security findings to a SARIF log?

To serialize AI-generated security findings to a SARIF log, you prepare your findings in memory and run the staged emit workflow to initialize, append results and invocations, and finalize with validation.

What is the SARIF AI-generated-findings profile used for?

The SARIF AI-generated-findings profile defines constraints for serializing AI security findings into a v2.1.0 log, enabling downstream tooling to consume results without tool-specific knowledge and ensuring robust risk analysis.

Does emitting SARIF require Sarif.Multitool and repository provenance?

Yes, emitting SARIF requires Sarif.Multitool version 5.0.3 or higher and a valid repository provenance when available to enforce profile constraints and support deterministic reproducibility.

How does the SARIF emit workflow integrate CWE taxonomy?

The SARIF emit workflow enriches descriptors and integrates CWE taxonomy during the finalization stage, enabling robust risk analysis and interoperability with security pipelines downstream.

What is the best way to validate SARIF logs for downstream security tooling?

The best way to validate SARIF logs for downstream security tooling is to use the staged emit-finalize workflow, which finalizes the log with validation to ensure AI-generated-findings profile conformance.

Can I use Sarif.Multitool to append results and invocations to an existing run?

Yes, you can use Sarif.Multitool to support a staged run that initializes a run, appends results and invocations, and finalizes with validation to produce a conformant SARIF log.