SarifReport

Static Analysis Results Format (SARIF) Version 2.1.0 JSON Schema

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
constructor()
No args constructor for use in serialization
constructor(version: SarifReport.Version, runs: List<Run>)

Types

Link copied to clipboard
enum Version
The SARIF format version of this log file.

Properties

Link copied to clipboard
@SerializedName(value = "$schema")
@Expose
open var $schema: URI
The URI of the JSON schema corresponding to the version.
Link copied to clipboard
@SerializedName(value = "inlineExternalProperties")
@Expose
open var inlineExternalProperties: Set<ExternalProperties>
References to external property files that share data between runs.
Link copied to clipboard
@SerializedName(value = "properties")
@Expose
open var properties: PropertyBag
Key/value pairs that provide additional information about the object.
Link copied to clipboard
@SerializedName(value = "runs")
@Expose
open var runs: List<Run>
The set of runs contained in this log file.
Link copied to clipboard
@SerializedName(value = "version")
@Expose
open var version: SarifReport.Version
The SARIF format version of this log file.

Functions

Link copied to clipboard
open fun equals(other: Any): Boolean
Link copied to clipboard
abstract fun getProperties(): PropertyBag
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
abstract fun setProperties(<set-?>: PropertyBag)
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
open fun updateProperties(mutator: (in PropertyBag) -> Unit)
Link copied to clipboard
open fun with$schema($schema: URI): SarifReport
Link copied to clipboard
open fun withInlineExternalProperties(inlineExternalProperties: Set<ExternalProperties>): SarifReport
Link copied to clipboard
open fun withProperties(properties: PropertyBag): SarifReport
Link copied to clipboard
open fun withRuns(runs: List<Run>): SarifReport
Link copied to clipboard