{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/red-hat-enterprise-linux-8/json-schema/red-hat-enterprise-linux-8-dashboard-schema.json",
  "title": "Dashboard",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/red-hat-enterprise-linux-8-vulnerability-api-openapi.yml#/components/schemas/Dashboard",
  "type": "object",
  "properties": {
    "cves_total": {
      "type": "integer",
      "description": "Number of unique CVEs discovered on the managed systems."
    },
    "cves_by_severity": {
      "type": "object",
      "description": "Number of CVEs discovered on the managed systems, divided into buckets based on their CVSSv3 score (CVSSv2 is used when CVSSv3 is not available).",
      "properties": {
        "0to3.9": {
          "type": "object",
          "properties": {
            "count": {
              "type": "integer",
              "description": "Number of CVEs with CVSS score lower than 4."
            },
            "percentage": {
              "type": "number",
              "description": "Percentage of CVEs with CVSS score lower than 4."
            },
            "known_exploits": {
              "type": "number",
              "description": "Number of CVEs in given bracket with a known exploit."
            }
          },
          "required": [
            "count",
            "percentage"
          ]
        },
        "4to7.9": {
          "type": "object",
          "properties": {
            "count": {
              "type": "integer",
              "description": "Number of CVEs with CVSS score higher or equal to 4 and lower then 8."
            },
            "percentage": {
              "type": "number",
              "description": "Percentage of CVEs with CVSS score higher or equal to 4 and lower then 8."
            },
            "known_exploits": {
              "type": "number",
              "description": "Number of CVEs in given bracket with a known exploit."
            }
          },
          "required": [
            "count",
            "percentage"
          ]
        },
        "8to10": {
          "type": "object",
          "properties": {
            "count": {
              "type": "integer",
              "description": "Number of CVEs with CVSS score higher or equal to 8."
            },
            "percentage": {
              "type": "number",
              "description": "Percentage of CVEs with CVSS score higher or equal to 8."
            },
            "known_exploits": {
              "type": "number",
              "description": "Number of CVEs in given bracket with a known exploit."
            }
          },
          "required": [
            "count",
            "percentage"
          ]
        }
      },
      "required": [
        "0to3.9",
        "4to7.9",
        "8to10"
      ]
    },
    "recent_cves": {
      "type": "object",
      "description": "Number of recently published CVEs identified on managed systems",
      "properties": {
        "last7days": {
          "type": "integer",
          "description": "Number of CVEs identified on managed systems published in last 7 days."
        },
        "last30days": {
          "type": "integer",
          "description": "Number of CVEs identified on managed systems published in last 30 days."
        },
        "last90days": {
          "type": "integer",
          "description": "Number of CVEs identified on managed systems published in last 90 days."
        }
      },
      "required": [
        "last7days",
        "last30days",
        "last90days"
      ]
    },
    "recent_rules": {
      "type": "array",
      "description": "List of recently (14 days) released security rules.",
      "items": {
        "type": "object",
        "description": "Security rule.",
        "properties": {
          "associated_cves": {
            "type": "array",
            "description": "List of CVEs associated with the security rule.",
            "items": {
              "type": "string",
              "description": "CVE name."
            }
          },
          "description": {
            "type": "string",
            "description": "Description of the issue related with the security rule."
          },
          "id": {
            "type": "string",
            "description": "ID of the security rule."
          },
          "name": {
            "type": "string",
            "description": "Name of the security rule."
          },
          "node_id": {
            "type": [
              "number",
              "null"
            ],
            "description": "Node id of access.redhat.com/node/* article."
          },
          "public_date": {
            "type": [
              "string",
              "null"
            ],
            "description": "String representation of ISO-8601 formatted date of release of the security rule."
          },
          "severity": {
            "type": "number",
            "description": "Number representation of the security rule severity."
          },
          "systems_affected": {
            "type": "number",
            "description": "Number of systems triggering the security rule."
          }
        }
      },
      "required": [
        "associated_cves",
        "description",
        "name",
        "node_id",
        "severity",
        "systems_affected"
      ]
    },
    "rules_cves_total": {
      "type": "integer",
      "description": "Total number of CVEs with associated security rules affecting given account."
    },
    "system_count": {
      "type": "integer",
      "description": "Total systems registered to Vulnerability service (with applied filtering)."
    },
    "exploited_cves_count": {
      "type": "integer",
      "description": "unique number of CVEs having known exploit affecting at least one system"
    }
  },
  "required": [
    "cves_total",
    "cves_by_severity",
    "recent_cves",
    "recent_rules",
    "rules_cves_total",
    "system_count",
    "exploited_cves_count"
  ]
}