Serializes findings into a SARIF 2.1.0 log.

Returns:

A SARIF 2.1.0 log dict with one tool.driver.rules entry per distinct

Methods

to_sarif

to_sarif(findings: List) -> dict

Serializes findings into a SARIF 2.1.0 log.

Returns:

A SARIF 2.1.0 log dict with one tool.driver.rules entry per distinct

ParameterTypeDescription
findingsListThe findings to include as SARIF results.

Generated with Flude

Copyright © 2026