SarifRule
@JsonClass(generateAdapter = true)
Content copied to clipboard
Metadata that describes a specific report produced by the tool, as part of the analysis it provides or its runtime reporting.
Constructors
Link copied to clipboard
fun SarifRule( @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)
Content copied to clipboard
Properties
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.