ResultProvenance

@JsonClass(generateAdapter = true)
data class ResultProvenance(    @Json(name = "conversionSources") val conversionSources: List<PhysicalLocation>? = null,     @Json(name = "firstDetectionRunGuid") val firstDetectionRunGUID: String? = null,     @Json(name = "firstDetectionTimeUtc") val firstDetectionTimeUTC: String? = null,     @Json(name = "invocationIndex") val invocationIndex: Int? = null,     @Json(name = "lastDetectionRunGuid") val lastDetectionRunGUID: String? = null,     @Json(name = "lastDetectionTimeUtc") val lastDetectionTimeUTC: String? = null,     @Json(name = "properties") val properties: PropertyBag? = null)

Information about how and when the result was detected.

Contains information about how and when a result was detected.

Constructors

Link copied to clipboard
fun ResultProvenance(    @Json(name = "conversionSources") conversionSources: List<PhysicalLocation>? = null,     @Json(name = "firstDetectionRunGuid") firstDetectionRunGUID: String? = null,     @Json(name = "firstDetectionTimeUtc") firstDetectionTimeUTC: String? = null,     @Json(name = "invocationIndex") invocationIndex: Int? = null,     @Json(name = "lastDetectionRunGuid") lastDetectionRunGUID: String? = null,     @Json(name = "lastDetectionTimeUtc") lastDetectionTimeUTC: String? = null,     @Json(name = "properties") properties: PropertyBag? = null)

Properties

Link copied to clipboard
val conversionSources: List<PhysicalLocation>? = null

An array of physicalLocation objects which specify the portions of an analysis tool's output that a converter transformed into the result.

Link copied to clipboard
val firstDetectionRunGUID: String? = null

A GUID-valued string equal to the automationDetails.guid property of the run in which the result was first detected.

Link copied to clipboard
val firstDetectionTimeUTC: String? = null

The Coordinated Universal Time (UTC) date and time at which the result was first detected. See "Date/time properties" in the SARIF spec for the required format.

Link copied to clipboard
val invocationIndex: Int? = null

The index within the run.invocations array of the invocation object which describes the tool invocation that detected the result.

Link copied to clipboard
val lastDetectionRunGUID: String? = null

A GUID-valued string equal to the automationDetails.guid property of the run in which the result was most recently detected.

Link copied to clipboard
val lastDetectionTimeUTC: String? = null

The Coordinated Universal Time (UTC) date and time at which the result was most recently detected. See "Date/time properties" in the SARIF spec for the required format.

Link copied to clipboard
val properties: PropertyBag? = null

Key/value pairs that provide additional information about the result.

Sources

Link copied to clipboard