SarifRule

@JsonClass(generateAdapter = true)
data class SarifRule(@Json(name = "helpUri") val helpURI: String? = null, @Json(name = "id") val id: String, @Json(name = "name") val name: String? = null, @Json(name = "defaultConfiguration") val defaultConfiguration: ReportingConfiguration? = null, @Json(name = "shortDescription") val shortDescription: MultiformatMessageString? = null, @Json(name = "fullDescription") val fullDescription: MultiformatMessageString? = null, @Json(name = "deprecatedGuids") val deprecatedGuids: List<String>? = null, @Json(name = "deprecatedIds") val deprecatedIDS: List<String>? = null, @Json(name = "deprecatedNames") val deprecatedNames: List<String>? = null, @Json(name = "guid") val guid: String? = null, @Json(name = "help") val help: MultiformatMessageString? = null, @Json(name = "messageStrings") val messageStrings: Map<String, MultiformatMessageString>? = null, @Json(name = "properties") val properties: PropertyBag? = null, @Json(name = "relationships") val relationships: List<ReportingDescriptorRelationship>? = null)(source)

Metadata that describes a specific report produced by the tool, as part of the analysis it provides or its runtime reporting.

Since

0.12.0

Constructors

Link copied to clipboard
constructor(@Json(name = "helpUri") helpURI: String? = null, @Json(name = "id") id: String, @Json(name = "name") name: String? = null, @Json(name = "defaultConfiguration") defaultConfiguration: ReportingConfiguration? = null, @Json(name = "shortDescription") shortDescription: MultiformatMessageString? = null, @Json(name = "fullDescription") fullDescription: MultiformatMessageString? = null, @Json(name = "deprecatedGuids") deprecatedGuids: List<String>? = null, @Json(name = "deprecatedIds") deprecatedIDS: List<String>? = null, @Json(name = "deprecatedNames") deprecatedNames: List<String>? = null, @Json(name = "guid") guid: String? = null, @Json(name = "help") help: MultiformatMessageString? = null, @Json(name = "messageStrings") messageStrings: Map<String, MultiformatMessageString>? = null, @Json(name = "properties") properties: PropertyBag? = null, @Json(name = "relationships") relationships: List<ReportingDescriptorRelationship>? = null)

Properties

Link copied to clipboard

Default reporting configuration information.

Link copied to clipboard

An array of unique identifies in the form of a GUID by which this report was known in some previous version of the analysis tool.

Link copied to clipboard
val deprecatedIDS: List<String>? = null

An array of stable, opaque identifiers by which this report was known in some previous version of the analysis tool.

Link copied to clipboard

An array of readable identifiers by which this report was known in some previous version of the analysis tool.

Link copied to clipboard

A description of the report. Should, as far as possible, provide details sufficient to enable resolution of any problem indicated by the result.

Link copied to clipboard
val guid: String? = null

A unique identifer for the reporting descriptor in the form of a GUID.

Link copied to clipboard

Provides the primary documentation for the report, useful when there is no online documentation.

Link copied to clipboard
val helpURI: String? = null

A URI where the primary documentation for the report can be found.

Link copied to clipboard
val id: String

A stable, opaque identifier for the report.

Link copied to clipboard

A set of name/value pairs with arbitrary names. Each value is a multiformatMessageString object, which holds message strings in plain text and (optionally) Markdown format. The strings can include placeholders, which can be used to construct a message in combination with an arbitrary number of additional string arguments.

Link copied to clipboard
val name: String? = null

A report identifier that is understandable to an end user.

Link copied to clipboard
val properties: PropertyBag? = null

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

Link copied to clipboard

An array of objects that describe relationships between this reporting descriptor and others.

Link copied to clipboard

A concise description of the report. Should be a single sentence that is understandable when visible space is limited to a single line of text.