finding record schema

RAGE Finding (exposure). Required: resource_id, severity.

Download JSON Validate a finding

Properties

propertytyperequirednotes
kind const required must be "finding".
resource_id string required
severity enum required one of low medium high critical .
emits_hint string optional
location string optional
value_ref string optional

Additional properties are allowed - RAGE is forward-compatible; unknown fields are ignored.

Raw schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://rage.fail/schemas/0.1/finding.schema.json",
  "title": "RAGE Finding (exposure)",
  "type": "object",
  "required": [
    "kind",
    "resource_id",
    "severity"
  ],
  "additionalProperties": true,
  "properties": {
    "kind": {
      "const": "finding"
    },
    "resource_id": {
      "type": "string"
    },
    "severity": {
      "enum": [
        "low",
        "medium",
        "high",
        "critical"
      ]
    },
    "location": {
      "type": "string"
    },
    "emits_hint": {
      "type": "string"
    },
    "value_ref": {
      "type": "string"
    }
  }
}
move · open · esc close