Run

open class Run : PropertyOwner

Describes a single run of an analysis tool, and contains the reported output of that run.

Constructors

Link copied to clipboard
constructor()
No args constructor for use in serialization
constructor(tool: Tool)

Types

Link copied to clipboard
Specifies the unit in which the tool measures columns.

Properties

Link copied to clipboard
@SerializedName(value = "addresses")
@Expose
open var addresses: List<Address>
Addresses associated with this run instance, if any.
Link copied to clipboard
@SerializedName(value = "artifacts")
@Expose
open var artifacts: Set<Artifact>
An array of artifact objects relevant to the run.
Link copied to clipboard
@SerializedName(value = "automationDetails")
@Expose
open var automationDetails: RunAutomationDetails
Information that describes a run's identity and role within an engineering system process.
Link copied to clipboard
@SerializedName(value = "baselineGuid")
@Expose
open var baselineGuid: String
The 'guid' property of a previous SARIF 'run' that comprises the baseline that was used to compute result 'baselineState' properties for the run.
Link copied to clipboard
@SerializedName(value = "columnKind")
@Expose
open var columnKind: Run.ColumnKind
Specifies the unit in which the tool measures columns.
Link copied to clipboard
@SerializedName(value = "conversion")
@Expose
open var conversion: Conversion
Describes how a converter transformed the output of a static analysis tool from the analysis tool's native output format into the SARIF format.
Link copied to clipboard
@SerializedName(value = "defaultEncoding")
@Expose
open var defaultEncoding: String
Specifies the default encoding for any artifact object that refers to a text file.
Link copied to clipboard
@SerializedName(value = "defaultSourceLanguage")
@Expose
open var defaultSourceLanguage: String
Specifies the default source language for any artifact object that refers to a text file that contains source code.
Link copied to clipboard
@SerializedName(value = "externalPropertyFileReferences")
@Expose
open var externalPropertyFileReferences: ExternalPropertyFileReferences
References to external property files that should be inlined with the content of a root log file.
Link copied to clipboard
@SerializedName(value = "graphs")
@Expose
open var graphs: Set<Graph>
An array of zero or more unique graph objects associated with the run.
Link copied to clipboard
@SerializedName(value = "invocations")
@Expose
open var invocations: List<Invocation>
Describes the invocation of the analysis tool.
Link copied to clipboard
@SerializedName(value = "language")
@Expose
open var language: String
The language of the messages emitted into the log file during this run (expressed as an ISO 639-1 two-letter lowercase culture code) and an optional region (expressed as an ISO 3166-1 two-letter uppercase subculture code associated with a country or region).
Link copied to clipboard
@SerializedName(value = "logicalLocations")
@Expose
open var logicalLocations: Set<LogicalLocation>
An array of logical locations such as namespaces, types or functions.
Link copied to clipboard
@SerializedName(value = "newlineSequences")
@Expose
open var newlineSequences: Set<String>
An ordered list of character sequences that were treated as line breaks when computing region information for the run.
Link copied to clipboard
@SerializedName(value = "originalUriBaseIds")
@Expose
open var originalUriBaseIds: OriginalUriBaseIds
The artifact location specified by each uriBaseId symbol on the machine where the tool originally ran.
Link copied to clipboard
@SerializedName(value = "policies")
@Expose
open var policies: Set<ToolComponent>
Contains configurations that may potentially override both reportingDescriptor.defaultConfiguration (the tool's default severities) and invocation.configurationOverrides (severities established at run-time from the command line).
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 = "redactionTokens")
@Expose
open var redactionTokens: Set<String>
An array of strings used to replace sensitive information in a redaction-aware property.
Link copied to clipboard
@SerializedName(value = "results")
@Expose
open var results: List<Result>
The set of results contained in an SARIF log.
Link copied to clipboard
@SerializedName(value = "runAggregates")
@Expose
open var runAggregates: Set<RunAutomationDetails>
Automation details that describe the aggregate of runs to which this run belongs.
Link copied to clipboard
@SerializedName(value = "specialLocations")
@Expose
open var specialLocations: SpecialLocations
Defines locations of special significance to SARIF consumers.
Link copied to clipboard
@SerializedName(value = "taxonomies")
@Expose
open var taxonomies: Set<ToolComponent>
An array of toolComponent objects relevant to a taxonomy in which results are categorized.
Link copied to clipboard
@SerializedName(value = "threadFlowLocations")
@Expose
open var threadFlowLocations: Set<ThreadFlowLocation>
An array of threadFlowLocation objects cached at run level.
Link copied to clipboard
@SerializedName(value = "tool")
@Expose
open var tool: Tool
The analysis tool that was run.
Link copied to clipboard
@SerializedName(value = "translations")
@Expose
open var translations: Set<ToolComponent>
The set of available translations of the localized data provided by the tool.
Link copied to clipboard
@SerializedName(value = "versionControlProvenance")
@Expose
open var versionControlProvenance: Set<VersionControlDetails>
Specifies the revision in version control of the artifacts that were scanned.
Link copied to clipboard
@SerializedName(value = "webRequests")
@Expose
open var webRequests: Set<WebRequest>
An array of request objects cached at run level.
Link copied to clipboard
@SerializedName(value = "webResponses")
@Expose
open var webResponses: Set<WebResponse>
An array of response objects cached at run level.

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 withAddresses(addresses: List<Address>): Run
Link copied to clipboard
open fun withArtifacts(artifacts: Set<Artifact>): Run
Link copied to clipboard
open fun withAutomationDetails(automationDetails: RunAutomationDetails): Run
Link copied to clipboard
open fun withBaselineGuid(baselineGuid: String): Run
Link copied to clipboard
open fun withColumnKind(columnKind: Run.ColumnKind): Run
Link copied to clipboard
open fun withConversion(conversion: Conversion): Run
Link copied to clipboard
open fun withDefaultEncoding(defaultEncoding: String): Run
Link copied to clipboard
open fun withDefaultSourceLanguage(defaultSourceLanguage: String): Run
Link copied to clipboard
open fun withExternalPropertyFileReferences(externalPropertyFileReferences: ExternalPropertyFileReferences): Run
Link copied to clipboard
open fun withGraphs(graphs: Set<Graph>): Run
Link copied to clipboard
open fun withInvocations(invocations: List<Invocation>): Run
Link copied to clipboard
open fun withLanguage(language: String): Run
Link copied to clipboard
open fun withLogicalLocations(logicalLocations: Set<LogicalLocation>): Run
Link copied to clipboard
open fun withNewlineSequences(newlineSequences: Set<String>): Run
Link copied to clipboard
open fun withOriginalUriBaseIds(originalUriBaseIds: OriginalUriBaseIds): Run
Link copied to clipboard
open fun withPolicies(policies: Set<ToolComponent>): Run
Link copied to clipboard
open fun withProperties(properties: PropertyBag): Run
Link copied to clipboard
open fun withRedactionTokens(redactionTokens: Set<String>): Run
Link copied to clipboard
open fun withResults(results: List<Result>): Run
Link copied to clipboard
open fun withRunAggregates(runAggregates: Set<RunAutomationDetails>): Run
Link copied to clipboard
open fun withSpecialLocations(specialLocations: SpecialLocations): Run
Link copied to clipboard
open fun withTaxonomies(taxonomies: Set<ToolComponent>): Run
Link copied to clipboard
open fun withThreadFlowLocations(threadFlowLocations: Set<ThreadFlowLocation>): Run
Link copied to clipboard
open fun withTool(tool: Tool): Run
Link copied to clipboard
open fun withTranslations(translations: Set<ToolComponent>): Run
Link copied to clipboard
open fun withVersionControlProvenance(versionControlProvenance: Set<VersionControlDetails>): Run
Link copied to clipboard
open fun withWebRequests(webRequests: Set<WebRequest>): Run
Link copied to clipboard
open fun withWebResponses(webResponses: Set<WebResponse>): Run