Tailoring File

Defines customizations of rules and variables for a set of profiles

ComplianceEnterpriseLinuxOperating SystemPatch ManagementRHELRed HatSecurityVulnerability Management

Properties

Name Type Description
profiles array
View JSON Schema on GitHub

JSON Schema

red-hat-enterprise-linux-8-tailoring-file-json-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-tailoring-file-json-schema.json",
  "title": "Tailoring File",
  "description": "Defines customizations of rules and variables for a set of profiles",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/red-hat-enterprise-linux-8-compliance-api-openapi.yml#/components/schemas/tailoring_file_json",
  "type": "object",
  "additionalProperties": true,
  "properties": {
    "profiles": {
      "type": "array",
      "items": {
        "type": "object",
        "title": "Profile",
        "description": "A new tailored profile with modifications",
        "additionalProperties": true,
        "anyOf": [
          {
            "required": [
              "id",
              "base_profile_id"
            ]
          },
          {
            "required": [
              "id",
              "title"
            ]
          }
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "New profile identifier, can be same as 'base_profile_id', to 'shadow' the origin"
          },
          "base_profile_id": {
            "type": "string",
            "description": "Original profile identifier, the base for modifications"
          },
          "title": {
            "type": "string",
            "description": "Title for the new profile, inherited from base profile if not given, required if there is no base profile"
          },
          "groups": {
            "type": "object",
            "description": "Group modifications, keys are identifiers",
            "additionalProperties": {
              "type": "object",
              "additionalProperties": true,
              "anyOf": [
                {
                  "required": [
                    "evaluate"
                  ]
                }
              ],
              "properties": {
                "evaluate": {
                  "type": "boolean",
                  "description": "Includes or excludes a group of rules from evaluation"
                }
              }
            }
          },
          "rules": {
            "type": "object",
            "description": "Rule modifications, keys are identifiers",
            "additionalProperties": {
              "type": "object",
              "additionalProperties": true,
              "anyOf": [
                {
                  "required": [
                    "evaluate"
                  ]
                },
                {
                  "required": [
                    "severity"
                  ]
                },
                {
                  "required": [
                    "role"
                  ]
                }
              ],
              "properties": {
                "evaluate": {
                  "type": "boolean",
                  "description": "Includes or excludes a rule from evaluation"
                },
                "severity": {
                  "type": "string",
                  "enum": [
                    "unknown",
                    "info",
                    "low",
                    "medium",
                    "high"
                  ],
                  "description": "Overrides severity level of the rule"
                },
                "role": {
                  "type": "string",
                  "enum": [
                    "full",
                    "unscored",
                    "unchecked"
                  ],
                  "description": "Overrides role of the rule"
                }
              }
            }
          },
          "variables": {
            "type": "object",
            "description": "Variables modifications, keys are identifiers",
            "additionalProperties": {
              "type": "object",
              "additionalProperties": true,
              "oneOf": [
                {
                  "required": [
                    "value"
                  ]
                },
                {
                  "required": [
                    "option_id"
                  ]
                }
              ],
              "properties": {
                "value": {
                  "type": [
                    "string",
                    "integer",
                    "boolean"
                  ],
                  "description": "Directly overrides variable's value with a given value"
                },
                "option_id": {
                  "type": "string",
                  "description": "Overrides variable's value with a predefined value identified by 'option_id'"
                }
              }
            }
          }
        }
      }
    }
  }
}

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-tailoring-file-json"
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.