ArtifactLocation

@JsonClass(generateAdapter = true)
data class ArtifactLocation(    @Json(name = "description") val description: Message? = null,     @Json(name = "index") val index: Int? = null,     @Json(name = "properties") val properties: PropertyBag? = null,     @Json(name = "uri") val uri: String? = null,     @Json(name = "uriBaseId") val uriBaseID: String? = null)

The location of the artifact.

Specifies the location of an artifact.

An absolute URI specifying the location of the analysis tool's executable.

A file containing the standard error stream from the process that was invoked.

A file containing the standard input stream to the process that was invoked.

A file containing the standard output stream from the process that was invoked.

A file containing the interleaved standard output and standard error stream from the process that was invoked.

The working directory for the analysis tool run.

Identifies the artifact that the analysis tool was instructed to scan. This need not be the same as the artifact where the result actually occurred.

The location of the attachment.

The location of the artifact to change.

The location of the external property file.

Provides a suggestion to SARIF consumers to display file paths relative to the specified location.

The location in the local file system to which the root of the repository was mapped at the time of the analysis.

Constructors

Link copied to clipboard
fun ArtifactLocation(    @Json(name = "description") description: Message? = null,     @Json(name = "index") index: Int? = null,     @Json(name = "properties") properties: PropertyBag? = null,     @Json(name = "uri") uri: String? = null,     @Json(name = "uriBaseId") uriBaseID: String? = null)

Properties

Link copied to clipboard
val description: Message? = null

A short description of the artifact location.

Link copied to clipboard
val index: Int? = null

The index within the run artifacts array of the artifact object associated with the artifact location.

Link copied to clipboard
val properties: PropertyBag? = null

Key/value pairs that provide additional information about the artifact location.

Link copied to clipboard
val uri: String? = null

A string containing a valid relative or absolute URI.

Link copied to clipboard
val uriBaseID: String? = null

A string which indirectly specifies the absolute URI with respect to which a relative URI in the "uri" property is interpreted.

Sources

Link copied to clipboard