Artifact
@JsonClass(generateAdapter = true)
A single artifact. In some cases, this artifact might be nested within another artifact.
Since
0.12.0
Constructors
Link copied to clipboard
constructor(@Json(name = "contents") contents: ArtifactContent? = null, @Json(name = "description") description: Message? = null, @Json(name = "encoding") encoding: String? = null, @Json(name = "hashes") hashes: Map<String, String>? = null, @Json(name = "lastModifiedTimeUtc") lastModifiedTimeUTC: String? = null, @Json(name = "length") length: Int? = null, @Json(name = "location") location: ArtifactLocation? = null, @Json(name = "mimeType") mimeType: String? = null, @Json(name = "offset") offset: Int? = null, @Json(name = "parentIndex") parentIndex: Int? = null, @Json(name = "properties") properties: PropertyBag? = null, @Json(name = "roles") roles: List<Role>? = null, @Json(name = "sourceLanguage") sourceLanguage: String? = null)
Properties
Link copied to clipboard
The contents of the artifact.
Link copied to clipboard
A short description of the artifact.
Link copied to clipboard
The Coordinated Universal Time (UTC) date and time at which the artifact was most recently modified. See "Date/time properties" in the SARIF spec for the required format.
Link copied to clipboard
The location of the artifact.
Link copied to clipboard
Identifies the index of the immediate parent of the artifact, if this artifact is nested.
Link copied to clipboard
Key/value pairs that provide additional information about the artifact.
Link copied to clipboard
Specifies the source language for any artifact object that refers to a text file that contains source code.