SarifResult

@Serializable
data class SarifResult(val ruleId: String, val level: String, val message: SarifMessage, val locations: List<SarifLocation> = emptyList(), val codeFlows: List<SarifCodeFlow>? = null, val suppressions: List<SarifSuppression>? = null)

An individual finding or violation recorded by an analysis run.

Constructors

Link copied to clipboard
constructor(ruleId: String, level: String, message: SarifMessage, locations: List<SarifLocation> = emptyList(), codeFlows: List<SarifCodeFlow>? = null, suppressions: List<SarifSuppression>? = null)

Properties

Link copied to clipboard

Execution or dependency traces relevant to the finding.

Link copied to clipboard

Severity level of this result ("error", "warning", "note").

Link copied to clipboard

Physical or logical locations where the finding occurred.

Link copied to clipboard

The message describing the finding.

Link copied to clipboard

Identifier of the rule that produced this finding.

Link copied to clipboard

Information about any suppressions applied (e.g. architecture baselines).