RuleForAccount

Rule information when we know the account, and therefore can calculate the number of impacted systems and the reports_shown/rule_status flags. We have to declare those explicitly here because they're not part of the model.

ComplianceEnterpriseLinuxOperating SystemPatch ManagementRHELRed HatSecurityVulnerability Management

Properties

Name Type Description
rule_id string Rule ID from Insights
created_at string
updated_at string
deleted_at string
description string
active boolean
category object
impact object
likelihood integer
node_id string KCS solution number
tags string
playbook_count integer
reboot_required boolean
publish_date stringnull
summary string
generic string
reason string
more_info string
impacted_systems_count integer
reports_shown boolean
rule_status string
resolution_set array
total_risk integer
hosts_acked_count integer
rating integer
pathway object
View JSON Schema on GitHub

JSON Schema

red-hat-enterprise-linux-8-rule-for-account-schema.json Raw ↑
{
  "$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-rule-for-account-schema.json",
  "title": "RuleForAccount",
  "description": "Rule information when we know the account, and therefore can calculate\nthe number of impacted systems and the reports_shown/rule_status flags.\nWe have to declare those explicitly here because they're not part of the model.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/red-hat-enterprise-linux-8-advisor-api-openapi.yml#/components/schemas/RuleForAccount",
  "type": "object",
  "properties": {
    "rule_id": {
      "type": "string",
      "description": "Rule ID from Insights",
      "maxLength": 240
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "deleted_at": {
      "type": "string",
      "format": "date-time"
    },
    "description": {
      "type": "string",
      "maxLength": 240
    },
    "active": {
      "type": "boolean"
    },
    "category": {
      "$ref": "#/$defs/RuleCategory"
    },
    "impact": {
      "$ref": "#/$defs/RuleImpact"
    },
    "likelihood": {
      "type": "integer",
      "maximum": 32767,
      "minimum": 0
    },
    "node_id": {
      "type": "string",
      "description": "KCS solution number",
      "maxLength": 10
    },
    "tags": {
      "type": "string",
      "readOnly": true
    },
    "playbook_count": {
      "type": "integer",
      "readOnly": true
    },
    "reboot_required": {
      "type": "boolean"
    },
    "publish_date": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "summary": {
      "type": "string"
    },
    "generic": {
      "type": "string"
    },
    "reason": {
      "type": "string"
    },
    "more_info": {
      "type": "string"
    },
    "impacted_systems_count": {
      "type": "integer",
      "readOnly": true
    },
    "reports_shown": {
      "type": "boolean",
      "readOnly": true
    },
    "rule_status": {
      "type": "string",
      "readOnly": true
    },
    "resolution_set": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Resolution"
      }
    },
    "total_risk": {
      "type": "integer",
      "maximum": 32767,
      "minimum": 0
    },
    "hosts_acked_count": {
      "type": "integer",
      "readOnly": true
    },
    "rating": {
      "type": "integer",
      "readOnly": true
    },
    "pathway": {
      "$ref": "#/$defs/RulePathway"
    }
  },
  "required": [
    "category",
    "created_at",
    "description",
    "generic",
    "hosts_acked_count",
    "impact",
    "impacted_systems_count",
    "playbook_count",
    "rating",
    "reason",
    "reports_shown",
    "resolution_set",
    "rule_id",
    "rule_status",
    "summary",
    "tags",
    "updated_at"
  ],
  "$defs": {
    "Resolution": {
      "type": "object",
      "properties": {
        "system_type": {
          "type": "integer"
        },
        "resolution": {
          "type": "string"
        },
        "resolution_risk": {
          "allOf": [
            {
              "$ref": "#/$defs/ResolutionRisk"
            }
          ],
          "readOnly": true
        },
        "has_playbook": {
          "type": "boolean",
          "readOnly": true
        }
      },
      "required": [
        "has_playbook",
        "resolution",
        "resolution_risk",
        "system_type"
      ]
    },
    "ResolutionRisk": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "maxLength": 80
        },
        "risk": {
          "type": "integer",
          "maximum": 32767,
          "minimum": 0
        }
      }
    },
    "RuleCategory": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "maxLength": 20
        }
      },
      "required": [
        "id",
        "name"
      ]
    },
    "RuleImpact": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "maxLength": 80
        },
        "impact": {
          "type": "integer",
          "maximum": 32767,
          "minimum": 0
        }
      }
    },
    "RulePathway": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "maxLength": 240
        },
        "component": {
          "type": "string",
          "maxLength": 80
        },
        "resolution_risk": {
          "allOf": [
            {
              "$ref": "#/$defs/ResolutionRisk"
            }
          ],
          "readOnly": true
        }
      },
      "required": [
        "component",
        "name",
        "resolution_risk"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/red-hat-enterprise-linux-8-rule-for-account"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.