Red Hat Enterprise Linux 8 Oscap API

The oscap API from Red Hat Enterprise Linux 8 — 3 operation(s) for oscap.

GitHub OpenAPI

Operations 3

GET /oscap/{distribution}/profiles get the available profiles for a given distribution. #
GET /oscap/{distribution}/{profile}/customizations get the customizations for a given distribution and profile. #
GET /oscap/{policy}/{distribution}/policy_customizations get the customizations for a compliance policy #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/red-hat-enterprise-linux-8:red-hat-enterprise-linux-8-oscap-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

red-hat-enterprise-linux-8-oscap-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Service that relays image build requests
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  title: Image-builder service Oscap API
  version: '1.0'
servers:
- url: /api/image-builder/v1
- url: /api/image-builder/v1.0
tags:
- name: oscap
paths:
  /oscap/{distribution}/profiles:
    parameters:
    - in: path
      name: distribution
      required: true
      schema:
        $ref: '#/components/schemas/Distributions'
    get:
      operationId: getOscapProfiles
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DistributionProfileResponse'
          description: 'A list of profiles configurable for this distribution.

            '
      summary: get the available profiles for a given distribution.
      tags:
      - oscap
  /oscap/{distribution}/{profile}/customizations:
    parameters:
    - in: path
      name: distribution
      required: true
      schema:
        $ref: '#/components/schemas/Distributions'
    - description: Name of the profile to retrieve customizations from
      in: path
      name: profile
      required: true
      schema:
        $ref: '#/components/schemas/DistributionProfileItem'
    get:
      operationId: getOscapCustomizations
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Customizations'
          description: 'A customizations array updated with the needed elements.

            '
      summary: get the customizations for a given distribution and profile.
      tags:
      - oscap
  /oscap/{policy}/{distribution}/policy_customizations:
    parameters:
    - example: 123e4567-e89b-12d3-a456-426655440000
      in: path
      name: policy
      required: true
      schema:
        format: uuid
        type: string
    - in: path
      name: distribution
      required: true
      schema:
        $ref: '#/components/schemas/Distributions'
    get:
      operationId: getOscapCustomizationsForPolicy
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Customizations'
          description: 'A customizations array updated with the needed elements.

            '
      summary: get the customizations for a compliance policy
      tags:
      - oscap
components:
  schemas:
    Disk:
      properties:
        minsize:
          $ref: '#/components/schemas/minsize'
        partitions:
          items:
            $ref: '#/components/schemas/Partition'
          type: array
        type:
          description: 'Type of the partition table

            '
          enum:
          - gpt
          - dos
          type: string
      required:
      - partitions
      type: object
      x-go-type: composer.Disk
    IgnitionEmbedded:
      additionalProperties: false
      properties:
        config:
          type: string
      required:
      - config
      type: object
    FIPS:
      additionalProperties: false
      description: System FIPS mode setup
      properties:
        enabled:
          default: false
          description: Enables the system FIPS mode
          type: boolean
      type: object
    User:
      description: 'At least one of password, ssh_key must be set, validator takes care of it.

        On update empty string can be used to remove password or ssh_key,

        but at least one of them still must be present.

        '
      properties:
        groups:
          description: 'List of groups to add the user to. The ''wheel'' group should be added explicitly, as the

            default value is empty.

            '
          example:
          - wheel
          items:
            type: string
          type: array
        hasPassword:
          description: 'Indicates whether the user has a password set. This flag is read-only.

            '
          type: boolean
        name:
          example: user1
          type: string
        password:
          description: 'Plaintext passwords are also supported, they will be hashed and stored using the SHA-512 algorithm.

            The password is never returned in the response.

            Empty string can be used to remove the password during update but only with ssh_key set.

            '
          example: $6$G91SvTj7uVp3xhqj$zVa8nqnJTlewniDII5dmvsBJnj3kloL3CXWdPDu9.e677VoRQd5zB6GKwkDvfGLoRR7NTl5nXLnJywk6IPIvS.
          format: password
          type: string
        ssh_key:
          example: ssh-rsa AAAAB3NzaC1
          type: string
      required:
      - name
      type: object
    Distributions:
      description: 'List of all distributions that image builder supports. A user might not have access to

        restricted distributions.


        Restricted distributions include the RHEL nightlies and the Fedora distributions.

        '
      enum:
      - rhel-8
      - rhel-8-nightly
      - rhel-84
      - rhel-85
      - rhel-86
      - rhel-87
      - rhel-88
      - rhel-89
      - rhel-8.10
      - rhel-9
      - rhel-9-nightly
      - rhel-9.6-nightly
      - rhel-9.7-nightly
      - rhel-9.8-nightly
      - rhel-9.9-nightly
      - rhel-9.10-nightly
      - rhel-9-beta
      - rhel-90
      - rhel-91
      - rhel-92
      - rhel-93
      - rhel-94
      - rhel-95
      - rhel-9.6
      - rhel-9.7
      - rhel-9.8
      - rhel-9.9
      - rhel-10
      - rhel-10-nightly
      - rhel-10.0-nightly
      - rhel-10.1-nightly
      - rhel-10.2-nightly
      - rhel-10.3-nightly
      - rhel-10.4-nightly
      - rhel-10-beta
      - rhel-10.0
      - rhel-10.1
      - rhel-10.2
      - rhel-10.3
      - centos-9
      - centos-10
      - fedora-37
      - fedora-38
      - fedora-39
      - fedora-40
      - fedora-41
      - fedora-42
      - fedora-43
      - fedora-44
      - fedora-45
      - hummingbird
      type: string
    Locale:
      additionalProperties: false
      description: Locale configuration
      properties:
        keyboard:
          description: Sets the keyboard layout
          example: us
          type: string
        languages:
          description: 'List of locales to be installed, the first one becomes primary, subsequent ones are secondary

            '
          example:
          - en_US.UTF-8
          items:
            type: string
          type: array
      type: object
    OpenSCAP:
      oneOf:
      - $ref: '#/components/schemas/OpenSCAPProfile'
      - $ref: '#/components/schemas/OpenSCAPCompliance'
    Repository:
      properties:
        baseurl:
          example: https://cdn.redhat.com/content/dist/rhel8/8/x86_64/baseos/os/
          format: uri
          type: string
        check_gpg:
          type: boolean
        check_repo_gpg:
          default: false
          description: 'Enables gpg verification of the repository metadata

            '
          type: boolean
        gpgkey:
          type: string
        id:
          description: 'An ID referring to a repository defined in content sources can be used instead of

            ''baseurl'', ''mirrorlist'' or ''metalink''.

            '
          type: string
        ignore_ssl:
          type: boolean
        metalink:
          example: https://mirrors.fedoraproject.org/metalink?repo=fedora-32&arch=x86_64
          format: uri
          type: string
        mirrorlist:
          example: http://mirrorlist.centos.org/?release=9-stream&arch=aarch64&repo=BaseOS
          format: uri
          type: string
        module_hotfixes:
          type: boolean
        rhsm:
          type: boolean
      required:
      - rhsm
      type: object
    Ignition:
      additionalProperties: false
      description: Ignition configuration
      properties:
        embedded:
          $ref: '#/components/schemas/IgnitionEmbedded'
        firstboot:
          $ref: '#/components/schemas/IgnitionFirstboot'
      type: object
    BtrfsVolume:
      properties:
        minsize:
          $ref: '#/components/schemas/minsize'
        part_type:
          description: 'The partition type GUID for GPT partitions. For DOS partitions, this field can be used to set the (2 hex digit) partition type. If not set, the type will be automatically set based on the mountpoint or the payload type.

            '
          type: string
        subvolumes:
          items:
            $ref: '#/components/schemas/BtrfsSubvolume'
          type: array
        type:
          enum:
          - btrfs
          type: string
      required:
      - type
      - subvolumes
      type: object
      x-go-type: composer.BtrfsVolume
    Subscription:
      properties:
        activation-key:
          example: my-secret-key
          format: password
          type: string
        base-url:
          example: http://cdn.redhat.com/
          type: string
        insights:
          example: true
          type: boolean
        insights_client_proxy:
          description: 'Optional value to set proxy option when registering the system to Insights.

            '
          format: uri
          type: string
        organization:
          example: 2040324
          type: integer
        rhc:
          default: false
          description: 'Optional flag to use rhc to register the system, which also always enables Insights.

            '
          example: true
          type: boolean
        server-url:
          example: subscription.rhsm.redhat.com
          type: string
      required:
      - organization
      - activation-key
      - server-url
      - base-url
      - insights
      type: object
    CustomRepository:
      description: 'Repository configuration for custom repositories.

        At least one of the ''baseurl'', ''mirrorlist'', ''metalink'' properties must

        be specified. If more of them are specified, the order of precedence is

        the same as listed above. Id is required.

        '
      properties:
        baseurl:
          example:
          - https://cdn.redhat.com/content/dist/rhel8/8/x86_64/baseos/os/
          items:
            format: uri
            type: string
          type: array
        check_gpg:
          type: boolean
        check_repo_gpg:
          type: boolean
        enabled:
          type: boolean
        filename:
          type: string
        gpgkey:
          description: GPG key used to sign packages in this repository. Can be a gpg key or a URL
          example:
          - '-----BEGIN PGP PUBLIC KEY BLOCK-----


            mQINBGAcScoBEADLf8YHkezJ6adlMYw7aGGIlJalt8Jj2x/B2K+hIfIuxGtpVj7e

            LRgDU76jaT5pVD5mFMJ3pkeneR/cTmqqQkNyQshX2oQXwEzUSb1CNMCfCGgkX8Q2

            zZkrIcCrF0Q2wrKblaudhU+iVanADsm18YEqsb5AU37dtUrM3QYdWg9R+XiPfV8R

            KBjT03vVBOdMSsY39LaCn6Ip1Ovp8IEo/IeEVY1qmCOPAaK0bJH3ufg4Cueks+TS

            wQWTeCLxuZL6OMXoOPKwvMQfxbg1XD8vuZ0Ktj/cNH2xau0xmsAu9HJpekvOPRxl

            yqtjyZfroVieFypwZgvQwtnnM8/gSEu/JVTrY052mEUT7Ccb74kcHFTFfMklnkG/

            0fU4ARa504H3xj0ktbe3vKcPXoPOuKBVsHSv00UGYAyPeuy+87cU/YEhM7k3SVKj

            6eIZgyiMO0wl1YGDRKculwks9A+ulkg1oTb4s3zmZvP07GoTxW42jaK5WS+NhZee

            860XoVhbc1KpS+jfZojsrEtZ8PbUZ+YvF8RprdWArjHbJk2JpRKAxThxsQAsBhG1

            0Lux2WaMB0g2I5PcMdJ/cqjo08ccrjBXuixWri5iu9MXp8qT/fSzNmsdIgn8/qZK

            i8Qulfu77uqhW/wt2btnitgRsqjhxMujYU4Zb4hktF8hKU/XX742qhL5KwARAQAB

            tDFGZWRvcmEgKDM1KSA8ZmVkb3JhLTM1LXByaW1hcnlAZmVkb3JhcHJvamVjdC5v

            cmc+iQJOBBMBCAA4FiEEeH6mrhFH7uVsQLMM20Y5cZhnxY8FAmAcScoCGw8FCwkI

            BwIGFQoJCAsCBBYCAwECHgECF4AACgkQ20Y5cZhnxY+NYA/7BYpglySAZYHhjyKh

            /+f6zPfVvbH20Eq3kI7OFBN0nLX+BU1muvS+qTuS3WLrB3m3GultpKREJKLtm5ED

            1rGzXAoT1yp9YI8LADdMCCOyjAjsoWU87YUuC+/bnjrTeR2LROCfyPC76W985iOV

            m5S+bsQDw7C2LrldAM4MDuoyZ1SitGaZ4KQLVt+TEa14isYSGCjzo7PY8V3JOk50

            gqWg82N/bm2EzS7T83WEDb1lvj4IlvxgIqKeg11zXYxmrYSZJJCfvzf+lNS6uxgH

            jx/J0ylZ2LibGr6GAAyO9UWrAZSwSM0EcjT8wECnxkSDuyqmWwVvNBXuEIV8Oe3Y

            MiU1fJN8sd7DpsFx5M+XdnMnQS+HrjTPKD3mWrlAdnEThdYV8jZkpWhDys3/99eO

            hk0rLny0jNwkauf/iU8Oc6XvMkjLRMJg5U9VKyJuWWtzwXnjMN5WRFBqK4sZomMM

            ftbTH1+5ybRW/A3vBbaxRW2t7UzNjczekSZEiaLN9L/HcJCIR1QF8682DdAlEF9d

            k2gQiYSQAaaJ0JJAzHvRkRJLLgK2YQYiHNVy2t3JyFfsram5wSCWOfhPeIyLBTZJ

            vrpNlPbefsT957Tf2BNIugzZrC5VxDSKkZgRh1VGvSIQnCyzkQy6EU2qPpiW59G/

            hPIXZrKocK3KLS9/izJQTRltjMA=

            =PfT7

            -----END PGP PUBLIC KEY BLOCK-----

            '
          items:
            type: string
          type: array
        id:
          type: string
        metalink:
          example: https://mirrors.fedoraproject.org/metalink?repo=fedora-32&arch=x86_64
          format: uri
          type: string
        mirrorlist:
          example: http://mirrorlist.centos.org/?release=9-stream&arch=aarch64&repo=BaseOS
          format: uri
          type: string
        module_hotfixes:
          type: boolean
        name:
          type: string
        priority:
          type: integer
        ssl_verify:
          type: boolean
      required:
      - id
      type: object
    FilesystemTyped:
      properties:
        fs_type:
          description: 'The filesystem type. Swap partitions must have an empty mountpoint.

            '
          enum:
          - ext4
          - xfs
          - vfat
          - swap
          type: string
        label:
          type: string
        minsize:
          $ref: '#/components/schemas/minsize'
        mountpoint:
          type: string
        part_type:
          description: 'The partition type GUID for GPT partitions. For DOS partitions, this field can be used to set the (2 hex digit) partition type. If not set, the type will be automatically set based on the mountpoint or the payload type.

            '
          type: string
        type:
          enum:
          - plain
          type: string
      required:
      - fs_type
      type: object
      x-go-type: composer.FilesystemTyped
    minsize:
      description: size with data units
      example: 2 GiB
      type: string
    Customizations:
      properties:
        aap_registration:
          $ref: '#/components/schemas/AAPRegistration'
        cacerts:
          $ref: '#/components/schemas/CACertsCustomization'
        containers:
          items:
            $ref: '#/components/schemas/Container'
            description: Container images to embed into the final artfact
          type: array
        custom_repositories:
          description: List of custom repositories.
          items:
            $ref: '#/components/schemas/CustomRepository'
          type: array
        directories:
          items:
            $ref: '#/components/schemas/Directory'
            description: Directories to create in the final artifact
          type: array
        disk:
          $ref: '#/components/schemas/Disk'
        enabled_modules:
          description: 'List of dnf modules to enable, so that packages can be installed from them.

            '
          items:
            $ref: '#/components/schemas/Module'
          type: array
        fdo:
          $ref: '#/components/schemas/FDO'
        files:
          items:
            $ref: '#/components/schemas/File'
            description: Files to create in the final artifact
          type: array
        filesystem:
          items:
            $ref: '#/components/schemas/Filesystem'
          maxItems: 128
          type: array
        fips:
          $ref: '#/components/schemas/FIPS'
        firewall:
          $ref: '#/components/schemas/FirewallCustomization'
        groups:
          description: List of groups to create
          items:
            $ref: '#/components/schemas/Group'
          type: array
        hostname:
          description: Configures the hostname
          example: myhostname
          type: string
        ignition:
          $ref: '#/components/schemas/Ignition'
        installation_device:
          description: 'Name of the installation device, currently only useful for the edge-simplified-installer type

            '
          example: /dev/sda
          type: string
        installer:
          $ref: '#/components/schemas/Installer'
        kernel:
          $ref: '#/components/schemas/Kernel'
        locale:
          $ref: '#/components/schemas/Locale'
        openscap:
          $ref: '#/components/schemas/OpenSCAP'
        packages:
          example:
          - postgresql
          items:
            type: string
          maxItems: 10000
          type: array
        partitioning_mode:
          description: 'Select how the disk image will be partitioned. ''auto-lvm'' will use raw unless

            there are one or more mountpoints in which case it will use LVM. ''lvm'' always

            uses LVM, even when there are no extra mountpoints. ''raw'' uses raw partitions

            even when there are one or more mountpoints.

            '
          enum:
          - raw
          - lvm
          - auto-lvm
          type: string
        payload_repositories:
          items:
            $ref: '#/components/schemas/Repository'
          type: array
        services:
          $ref: '#/components/schemas/Services'
        subscription:
          $ref: '#/components/schemas/Subscription'
        timezone:
          $ref: '#/components/schemas/Timezone'
        users:
          description: 'List of users that a customer can add,

            also specifying their respective groups and SSH keys and/or password

            '
          items:
            $ref: '#/components/schemas/User'
          type: array
      type: object
    Group:
      additionalProperties: false
      properties:
        gid:
          description: Group id of the group to create (optional)
          type: integer
        name:
          description: Name of the group to create
          type: string
      required:
      - name
      type: object
    Installer:
      additionalProperties: false
      description: Anaconda installer configuration
      properties:
        sudo-nopasswd:
          items:
            description: 'Enable passwordless sudo for users or groups (groups must be prefixed by %)

              '
            type: string
          type: array
        unattended:
          description: 'Create a kickstart file for a fully automated installation

            '
          type: boolean
      type: object
    AAPRegistration:
      additionalProperties: false
      properties:
        ansible_callback_url:
          example: https://aap-gw.example.com/api/controller/v2/job_templates/9/callback/
          type: string
        host_config_key:
          example: 44d7507f2ead49af5fca80aa18fd24bc
          type: string
        skip_tls_verification:
          description: When true, indicates the user has confirmed that HTTPS callback URL does not require a CA certificate for verification
          type: boolean
        tls_certificate_authority:
          type: string
          x-go-type-skip-optional-pointer: true
      required:
      - ansible_callback_url
      - host_config_key
      type: object
      x-go-name: AAPRegistration
    OpenSCAPCompliance:
      properties:
        policy_id:
          description: 'Apply a compliance policy which is defined in the Red Hat Insights Compliance

            service. This policy can include tailorings. This only works for RHEL images, and the

            policy needs to be available for the specific RHEL version.

            '
          example: fef25b3c-b970-46da-a4e1-cc4d855b98dc
          format: uuid
          type: string
      required:
      - policy_id
      type: object
    Directory:
      description: 'A custom directory to create in the final artifact.

        '
      properties:
        ensure_parents:
          default: false
          description: Ensure that the parent directories exist
          type: boolean
        group:
          description: Group of the directory as a group name or a gid
          example: root
          oneOf:
          - type: string
          - type: integer
            x-go-type: int64
        mode:
          description: Permissions string for the directory in octal format
          example: '0755'
          type: string
        path:
          description: Path to the directory
          example: /etc/mydir
          type: string
        user:
          description: Owner of the directory as a user name or a uid
          example: root
          oneOf:
          - type: string
          - type: integer
            x-go-type: int64
      required:
      - path
      type: object
    Container:
      properties:
        name:
          description: Name to use for the container from the image
          type: string
        source:
          description: Reference to the container to embed
          example: registry.example.com/image:tag
          type: string
        tls_verify:
          description: Control TLS verifification
          example: true
          type: boolean
      required:
      - source
      type: object
    Partition:
      oneOf:
      - $ref: '#/components/schemas/FilesystemTyped'
      - $ref: '#/components/schemas/BtrfsVolume'
      - $ref: '#/components/schemas/VolumeGroup'
      type: object
      x-go-type: composer.Partition
    CACertsCustomization:
      additionalProperties: false
      properties:
        pem_certs:
          example:
          - '---BEGIN CERTIFICATE---\nMIIC0DCCAbigAwIBAgIUI...\n---END CERTIFICATE---'
          items:
            type: string
          type: array
      required:
      - pem_certs
      type: object
    Filesystem:
      properties:
        min_size:
          description: size of the filesystem in bytes
          example: 2147483648
          x-go-type: uint64
        mountpoint:
          example: /var
          type: string
      required:
      - mountpoint
      - min_size
      type: object
    DistributionProfileItem:
      enum:
      - xccdf_org.ssgproject.content_profile_anssi_bp28_enhanced
      - xccdf_org.ssgproject.content_profile_anssi_bp28_high
      - xccdf_org.ssgproject.content_profile_anssi_bp28_intermediary
      - xccdf_org.ssgproject.content_profile_anssi_bp28_minimal
      - xccdf_org.ssgproject.content_profile_ccn_advanced
      - xccdf_org.ssgproject.content_profile_ccn_basic
      - xccdf_org.ssgproject.content_profile_ccn_intermediate
      - xccdf_org.ssgproject.content_profile_cis
      - xccdf_org.ssgproject.content_profile_cis_server_l1
      - xccdf_org.ssgproject.content_profile_cis_workstation_l1
      - xccdf_org.ssgproject.content_profile_cis_workstation_l2
      - xccdf_org.ssgproject.content_profile_cui
      - xccdf_org.ssgproject.content_profile_e8
      - xccdf_org.ssgproject.content_profile_hipaa
      - xccdf_org.ssgproject.content_profile_ism_o
      - xccdf_org.ssgproject.content_profile_ospp
      - xccdf_org.ssgproject.content_profile_pci-dss
      - xccdf_org.ssgproject.content_profile_standard
      - xccdf_org.ssgproject.content_profile_stig
      - xccdf_org.ssgproject.content_profile_stig_gui
      type: string
    IgnitionFirstboot:
      additionalProperties: false
      properties:
        url:
          description: Provisioning URL
          type: string
      required:
      - url
      type: object
    FDO:
      additionalProperties: false
      description: FIDO device onboard configuration
      properties:
        diun_pub_key_hash:
          type: string
        diun_pub_key_insecure:
          type: string
        diun_pub_key_root_certs:
          type: string
        manufacturing_server_url:
          type: string
      type: object
    FirewallCustomization:
      additionalProperties: false
      description: Firewalld configuration
      properties:
        ports:
          description: List of ports (or port ranges) and protocols to open
          example:
          - 22:tcp
          - 80:tcp
          - imap:tcp
          items:
            type: string
          type: array
        services:
          additionalProperties: false
          description: Firewalld services to enable or disable
          properties:
            disabled:
              description: List of services to disable
              example:
              - telnet
              items:
                type: string
              type: array
            enabled:
              description: List of services to enable
              example:
              - ftp
              - ntp
              items:
                type: string
              type: array
          type: object
      type: object
    VolumeGroup:
      properties:
        logical_volumes:
          items:
            $ref: '#/components/schemas/LogicalVolume'
          type: array
        minsize:
          $ref: '#/components/schemas/minsize'
        name:
          description: 'Volume group name (will be automatically generated if omitted)

            '
          type: string
        part_type:
          description: 'The partition type GUID for GPT partitions. For DOS partitions, this field can be used to set the (2 hex digit) partition type. If not set, the type will be automatically set based on the mountpoint or the payload type.

            '
          type: string
        type:
          enum:
          - lvm
          type: string
      required:
      - type
      - logical_volumes
      type: object
      x-go-type: composer.VolumeGroup
    File:
      description: 'A custom file to create in the final artifact.

        '
      properties:
        data:
          description: Contents of the file as plain text
          type: string
        data_encoding:
          default: plain
          description: When data is base64-encoded to prevent Akamai content filter false positives
          enum:
          - plain
          - base64
          type: string
        ensure_parents:
          default: false
          description: Ensure that the parent directories exist
          example: true
          type: boolean
        group:
          description: Group of the file as a gid or a group name
          example: root
          oneOf:
          - type: string
          - type: integer
            x-go-type: int64
        mode:
          description: Permissions string for the file in octal format
          example: '0644'
          type: string
        path:
          description: Path to the file
          example: /etc/myfile
          type: string
        user:
          description: Owner of the file as a uid or a user name
          example: root
          oneOf:
          - type: string
          - type: integer
            x-go-type: int64
      required:
      - path
      type: object
    Timezone:
      additionalProperties: false
      description: Timezone configuration
      properties:
        ntpservers:
          description: List of ntp servers
          example:
          - 0.north-america.pool.ntp.org
          - 1.north-america.pool.ntp.org
          items:
            type: string
          type: array
        timezone:
          description: Name of the timezone, defaults to UTC
          example: US/Eastern
          type: string
      type: object
    Services:
      additionalProperties: false
      properties:
        default_target:
          description: Default systemd target to boot into
          example: multi-user.target
          type: string
        disabled:
          description: List of services to disable by default
          items:
            example: firewalld
            type: string
          minItems: 1
          type: array
        enabled:
          description: List of services to enable by default
          items:
            example: nftables
            type: string
          minItems: 1
          type: array
        masked:
          description: List of services to mask by default
          items:
            example: telnet
            type: string
          minItems: 1
          type: array
      type: object
    BtrfsSubvolume:
      properties:
        mountpoint:
          description: 'Mountpoint for the subvolume

            '
          type: string
        name:
          description: 'The name of the subvolume, which defines the location (path) on the root volume

            '
          type: string
      required:
      - name
      - mountpoint
      type: object
      x-go-type: composer.BtrfsSubvolume
    Module:
      additionalProperties: false
      properties:
        name:
          description: 'Name of the module to enable.

            '
          example: nodejs
          type: string
        stream:
          description: 'Stream to enable.

            '
          example: '22'
          type: string
      required:
      - name
      - stream
      type: object
    DistributionProfileResponse:
      description: 'List of profiles for a given distribution

        '
      items:
        $ref: '#/components/schemas/DistributionProfileItem'
      type: array
    OpenSCAPProfile:
      properties:
        profile_description:
          description: The longform profile description
          type: string
        profile_id:
          description: 'Uses the OpenSCAP tooling directly to apply a pre-defined profile without tailorings.

            '
          example: xccdf_org.ssgproject.content_profile_cis
          type: string
        profile_name:
          description: The profile type
          type: string
      required:
      - profile_id
      type: object
    Kernel:
      additionalProperties: false
      properties:
        append:
          description: Appends arguments to the bootloader kernel command line
          example: nosmt=force
          type: string
        name:
          description: Name of the kernel to use
          example: kernel-debug
          type: string
      type: object
    LogicalVolume:
      properties:
        fs_type:
          description: 'The filesystem type for the logical volume. Swap LVs must have an empty mountpoint.

            '
          enum:
          - ext4
          - xfs
          - vfat
          - swap
          type: string
        label:
          type: string
        minsize:
          $ref: '#/components/schemas/minsize'
        mountpoint:
          description: 'Mountpoint for the logical volume

            '
          type: string
        name:
          type: string
      required:
      - fs_type
      type: object
      x-go-type: composer.LogicalVolume