SarifLevel
SARIF 2.1.0 result.level field.
The final displayed level is resolved in priority order:
result.level(per-result override)reportingDescriptor.defaultConfiguration.level(the rule's default)Falls back to
WARNINGif nothing is set
| Level | Meaning |
|---|---|
| ERROR | Must fix — broken, dangerous, or will fail |
| WARNING | Should fix — likely a bug or bad practice |
| NOTE | Informational — style, minor improvement |
| NONE | No severity assigned (suppressed/deferred) |
Entries
Properties
Functions
Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared.