SarifReport

@JsonClass(generateAdapter = true)
data class SarifReport(    @Json(name = "$schema") val schema: String,     @Json(name = "version") val version: Version,     @Json(name = "inlineExternalProperties") val inlineExternalProperties: List<ExternalProperties>? = null,     @Json(name = "properties") val properties: PropertyBag? = null,     @Json(name = "runs") val runs: List<Run>)

Static Analysis Results Format (SARIF) Version 2.1.0 JSON Schema: a standard format for the output of static analysis tools.

Constructors

Link copied to clipboard
fun SarifReport(    @Json(name = "$schema") schema: String,     @Json(name = "version") version: Version,     @Json(name = "inlineExternalProperties") inlineExternalProperties: List<ExternalProperties>? = null,     @Json(name = "properties") properties: PropertyBag? = null,     @Json(name = "runs") runs: List<Run>)

Properties

Link copied to clipboard
val inlineExternalProperties: List<ExternalProperties>? = null

References to external property files that share data between runs.

Link copied to clipboard
val properties: PropertyBag? = null

Key/value pairs that provide additional information about the log file.

Link copied to clipboard
val runs: List<Run>

The set of runs contained in this log file.

Link copied to clipboard
val schema: String

The URI of the JSON schema corresponding to the version.

Link copied to clipboard
val version: Version

The SARIF format version of this log file.

Sources

Link copied to clipboard