Skip to content

HDF Baseline ​

Information on the set of requirements that can be assessed, including baseline metadata and requirement definitions.

Versionv3.8.0
$idhttps://mitre.github.io/hdf-libs/schemas/hdf-baseline/v3.8.0
Downloadhdf-baseline.schema.json

Interactive schema ​

Expand a field to explore its structure, or choose a definition.

Loading interactive schema…

Properties ​

FieldTypeRequiredDescription
requirementsBaseline_Requirement[]yesThe set of requirements - contains no findings as the assessment has not yet occurred.
groupsRequirement_Group[]noA set of descriptions for the requirement groups.
inputsInput[]noThe input(s) or attribute(s) to be used in the run.
integrityIntegritynoCryptographic integrity information for verifying this baseline has not been tampered with.
remediationRemediationnoOptional reference to automated remediation resources (Ansible playbooks, Terraform scripts, etc.) for implementing the security controls defined in this baseline.
dependsDependency[]noThe set of dependencies this baseline depends on.
generatorGeneratornoThe tool that generated this file.
extensionsExtensionsnoProducer data outside the HDF model, and the pre-converted source artifact(s) this baseline was converted from.

Example ​

json
{
  "name": "ubuntu-2204-stig-baseline",
  "title": "Canonical Ubuntu 22.04 LTS STIG Baseline",
  "description": "Requirements from the DISA STIG for Canonical Ubuntu 22.04 LTS, tailored for hosts in the CUI enclave; checks that need a graphical session are marked not applicable.",
  "version": "1.2.0",
  "maintainer": "DISA STIG Team",
  "license": "Apache-2.0",
  "summary": "Security Technical Implementation Guide for Ubuntu 22.04 LTS",
  "supports": [
    {
      "platformName": "ubuntu",
      "platformFamily": "debian",
      "release": "22.04"
    }
  ],
  "requirements": [
    {
      "id": "SV-260476",
      "title": "Ubuntu 22.04 LTS must enforce password complexity",
      "impact": 0.5,
      "tags": {
        "nist": [
          "IA-5"
        ],
        "severity": "medium",
        "gtitle": "SRG-OS-000069-GPOS-00037"
      },
      "descriptions": [
        {
          "label": "default",
          "data": "Use of a complex password helps to increase the time and resources required to compromise the password."
        },
        {
          "label": "check",
          "data": "Verify the value of 'minlen' in /etc/security/pwquality.conf is 15 or more."
        },
        {
          "label": "fix",
          "data": "Configure Ubuntu 22.04 LTS to enforce a minimum 15-character password length by adding 'minlen = 15' to /etc/security/pwquality.conf."
        }
      ]
    },
    {
      "id": "SV-260477",
      "title": "Ubuntu 22.04 LTS must configure audit logging",
      "impact": 0.7,
      "tags": {
        "nist": [
          "AU-3",
          "AU-12"
        ],
        "severity": "high",
        "gtitle": "SRG-OS-000037-GPOS-00015"
      },
      "descriptions": [
        {
          "label": "default",
          "data": "Without establishing what type of events occurred, it would be difficult to establish, correlate, and investigate security incidents."
        }
      ]
    }
  ],
  "groups": [
    {
      "id": "controls/SV-260476.rb",
      "title": "Password Configuration",
      "requirements": [
        "SV-260476"
      ]
    }
  ]
}

Types ​

Baseline_Requirement ​

A requirement definition without assessment results.

FieldTypeRequiredDescription
descriptionsBaseline_Requirement_DescriptionsyesArray of labeled descriptions. At least one description with label 'default' must be present. Convention: place default description first. Common labels: 'default', 'check', 'fix', 'rationale'.
severitySeveritynoExplicit severity rating. Typically derived from impact score but provided explicitly for clarity.

Baseline_Requirement_Descriptions ​

Array of labeled descriptions. At least one description with label 'default' must be present.

Embedded Primitives ​

These types are embedded from shared primitive schemas.

affected-package ​

Affected_Package ​

Represents a package referenced by a vulnerability finding or by an amendment's scope.

On Evaluated_Requirement.affectedPackages it says 'this CVE affects these package versions'. On Standalone_Override.affectedPackages it says 'this amendment is scoped to these packages' (used by VEX, OSCAL POA&M, FedRAMP component-aware amendments).

NOT a system-level component identifier — see components[] on hdf-system for those.

Validity requires at least one of: (name + version + ecosystem), purl alone, or cpe alone.

purl and cpe are self-describing identifiers that encode name/version implicitly, so either may stand on its own; the name+version+ecosystem combination is the explicit form for sources without formal identifiers.

FieldTypeRequiredDescription
namestringnoThe package name as published in its ecosystem. Examples: 'openssl' (rpm), 'lodash' (npm), 'org.apache.logging.log4j:log4j-core' (maven, group:artifact).
versionstringnoThe exact version of the package that the vulnerability scanner observed. Use the ecosystem's native version string verbatim (e.g., '1.1.1k-7.el8_4' for rpm, '4.17.20' for npm).
ecosystem"npm" | "pypi" | "rpm" | "deb" | "maven" | "gem" | "nuget" | "go" | "cargo" | "generic"noThe packaging ecosystem the package belongs to. Use 'generic' for hardware, firmware, or anything outside the listed language/OS package managers.
cpestringnoOptional CPE 2.3 URI identifying the affected product. Validated leniently: only the 'cpe:2.3:' prefix and the part-type letter ('a' application, 'h' hardware, 'o' operating system) are enforced here. Use hdf-utilities.parseCpe for full-grammar parsing. Example: cpe:2.3:a:openssl:openssl:1.1.1k:*:*:*:*:*:*:*.
purlstringnoOptional Package URL (PURL) identifying the affected package.

Validated leniently: only the 'pkg:TYPE/' scheme prefix is enforced here, where TYPE follows the PURL grammar (a letter followed by letters, digits, '.', '+', or '-') and is matched case-insensitively to mirror hdf-utilities.parsePurl's accept-and-warn behavior.

Use parsePurl for full PURL parsing.

Example: 'pkg:rpm/redhat/openssl@1.1.1k-7.el8_4?arch=x86_64'.
fixedInVersionstringnoOptional version string identifying the first release that contains the fix for the vulnerability. Use the same version syntax as version. Example: '1.1.1l' fixes 'openssl@1.1.1k'.
Example
json
{
  "name": "openssl",
  "version": "1.1.1k-7.el8_4",
  "ecosystem": "rpm",
  "cpe": "cpe:2.3:a:openssl:openssl:1.1.1k:*:*:*:*:*:*:*",
  "purl": "pkg:rpm/redhat/openssl@1.1.1k-7.el8_4?arch=x86_64",
  "fixedInVersion": "1.1.1l"
}

amendments ​

Override_Type ​

The type of amendment, aligned with FedRAMP deviation request categories.

  • 'waiver': risk accepted by Authorizing Official.
  • 'attestation': manually verified by assessor.
  • 'poam': remediation tracked (no status change).
  • 'inherited': control provided by another component or system.
  • 'falsePositive': scanner incorrectly identified a finding — for compliance scans (STIG, CIS), the check actually passes, so status is typically set to 'passed'; for vulnerability scans (CVE, SCA), the flagged vulnerability does not apply to this system, so status is typically set to 'notApplicable'. The disposition field on the requirement distinguishes false positives from genuinely not-applicable findings.
  • 'riskAdjustment': impact score adjusted based on environmental context (FedRAMP Risk Adjustment); does not change pass/fail status, only impact via the impact field; a status on it is rejected by validation.
  • 'operationalRequirement': deviation required by operational constraints (FedRAMP Operational Requirement); the finding cannot be remediated because the system requires the affected functionality. Remains an open risk.

Migration note: 'exception' was removed in v3.1.0 — use 'waiver' with status 'notApplicable' instead.

Enum (string) — allowed values:

  • "waiver"
  • "attestation"
  • "poam"
  • "inherited"
  • "falsePositive"
  • "riskAdjustment"
  • "operationalRequirement"

Justification ​

Structured controlled-vocabulary reason for an override, complementing the free-text 'reason' field. 'reason' carries the human-readable rationale an auditor reads; 'justification' carries the machine-readable category enabling filtering, aggregation, and lossless round-trip with structured ecosystems (VEX, OSCAL, FedRAMP DR). Both fields may be present simultaneously and are NOT redundant: 'reason' explains the specific circumstance; 'justification' classifies it. Authors SHOULD populate both when a controlled-vocabulary value applies — the enum value alone is not self-explanatory to an auditor.

The vocabulary is drawn from the VEX ecosystem: the first five values are common across OpenVEX, CSAF VEX, and CycloneDX VEX; the remaining six (requires_configuration / requires_dependency / requires_environment / protected_by_compiler / protected_at_runtime / protected_at_perimeter) are CycloneDX-specific and describe why the vulnerable code path is unreachable in the deployed configuration.

The enum is extended additively across schema versions as other ecosystems' controlled vocabularies are integrated; documents using values added in a newer schema version will fail validation against an older schema. Consumers SHOULD validate against the schema version declared by the document ($schema) rather than assume a fixed vocabulary.

Enum (string) — allowed values:

  • "component_not_present"
  • "vulnerable_code_not_present"
  • "vulnerable_code_not_in_execute_path"
  • "vulnerable_code_cannot_be_controlled_by_adversary"
  • "inline_mitigations_already_exist"
  • "requires_configuration"
  • "requires_dependency"
  • "requires_environment"
  • "protected_by_compiler"
  • "protected_at_runtime"
  • "protected_at_perimeter"

Impact_Override ​

An override to the requirement's impact score. The prior impact is the original result value or the preceding override in the chain.

FieldTypeRequiredDescription
valuenumberyesThe overridden impact score (0.0–1.0).

Standalone_Override ​

A standalone override to a requirement's compliance status or risk impact.

Validation is gated on 'type': when type is 'operationalRequirement', neither 'status' nor 'impact' may be set — the override records accepted risk without changing the finding (documentation-only). When type is 'riskAdjustment', 'status' may not be set — it re-rates the risk through 'impact' and never changes the finding's pass/fail; an override that must change status is a waiver or falsePositive. For all other types, at least one of 'status' or 'impact' must be set.

This rule aligns with:

FieldTypeRequiredDescription
externalReferencesExternal_Reference[]noOptional references to the external artifacts behind this override (e.g. the STIX bundle/object, advisory, or CTI feed that motivated it). Inert context distinct from evidence; see External_Reference.
typeOverride_TypeyesThe type of amendment.
requirementIdstringyesThe id of the requirement being amended. An id names the requirement, not one finding, so the override applies to every requirement entry carrying that id in the baseline(s) it targets.
baselineRefstringnoName of the baseline containing the requirement. Required when the system has multiple baselines with potentially overlapping requirement IDs.
statusResult_StatusnoThe new status this override sets for the requirement. Optional when only impact is being overridden; forbidden on an operationalRequirement, which adjudicates nothing, and on a riskAdjustment, which re-rates impact only.
impactImpact_OverridenoOverride to the requirement's impact score. At least one of status or impact must be set.
reasonstringyesJustification for this amendment.
appliedByIdentityyesIdentity of who applied this amendment.
appliedAtstring (date-time)yesWhen this amendment was applied. ISO 8601 format.
expiresAtstring (date-time)yesWhen this amendment expires and must be reviewed. No permanent amendments. ISO 8601 format.
evidenceEvidence[]noSupporting evidence (screenshots, logs, URLs, documents).
signatureSignaturenoDigital signature for non-repudiation.
previousChecksumChecksumnoSHA-256 checksum of the prior amendment in chronological order. Each amendment's checksum is recorded by the NEXT one, so editing an amendment in place is detectable — provided a later amendment is chained to it. It is NOT tamper-proof: the final amendment, the document envelope, deleted trailing amendments, and a chain that has been stripped or recomputed wholesale are all outside what it can detect. Use signature for non-repudiation. Omitted on the first amendment.
cvssCvssnoStructured CVSS scoring data backing this override. Captures the rubric (which Environmental/Threat metrics the consumer modified, the recomputed score) used to justify a riskAdjustment. For other override types this is optional context.
justificationJustificationnoStructured controlled-vocabulary classification for why this override applies. Complements (does not replace) the free-text 'reason' field. Most useful on falsePositive and attestation overrides where the structured category enables filtering and lossless round-trip with VEX / OSCAL / FedRAMP DR. See the Justification primitive for the precedent vocabulary and rationale.
milestonesMilestone[]noRemediation milestones (primarily for POA&M type amendments).
inheritedFromstring (uuid)nocomponentId of the local component that provides this control. Set when the provider is in the same system. Omit for external or cross-system providers; the reason field explains the source. Primarily used with type 'inherited'.
componentRefstring (uuid)nocomponentId of the component this amendment is scoped to. When set, the amendment only applies to the specified component. When omitted, the amendment applies system-wide.
affectedPackagesAffected_Package[]noSoftware packages this amendment is scoped to, distinct from componentRef (which scopes to an HDF-internal Component by UUID).

Use when the source amendment format references packages by purl/cpe/name+version — e.g., VEX affects[] / products[], OSCAL POA&M subjects[], FedRAMP component-aware amendments.

Symmetric with Evaluated_Requirement.affectedPackages, which scopes findings to the same package vocabulary.

When omitted, the amendment applies system-wide (or only to componentRef when that is set).
Example
json
{
  "type": "waiver",
  "requirementId": "SV-257777",
  "baselineRef": "RHEL9-STIG",
  "status": "passed",
  "reason": "Compensating control: session timeout set to 15 min",
  "appliedBy": {
    "type": "email",
    "identifier": "ao@agency.gov"
  },
  "appliedAt": "2026-01-15T10:00:00Z",
  "expiresAt": "2026-06-30T00:00:00Z",
  "evidence": [
    {
      "type": "url",
      "data": "https://jira.agency.gov/CYBER-4521",
      "description": "ISSM approval with compensating control documentation"
    }
  ]
}

common ​

External_Reference_Encoding ​

How an embedded copy's bytes are read back: 'utf-8' for text, 'base64' for anything that is not valid UTF-8 text.

Enum (string) — allowed values:

  • "utf-8"
  • "base64"
Example
json
"base64"

External_Reference ​

A generalized reference to any external artifact by identity and/or location, modeled on the STIX 2.1 external_references common property.

Purpose-agnostic: cite a CVE, an ATT&CK technique, a STIX bundle/object, a BOM, a runbook, or any vendor artifact — including kinds with no dedicated HDF reference category.

sourceName names the system; externalId cites by id within that system; href locates it. sourceName + externalId is equivalently a URN (urn:<sourceName>:<externalId>, RFC 8141), so the by-identity and by-location forms stay interconvertible.

An entry may also carry the artifact itself rather than point at it: document for a JSON object, content + encoding for anything else. Embedding satisfies the at-least-one rule on its own, so an artifact with no meaningful public location needs no synthetic href.

A reference is inert context: it overrides nothing, so it carries only lightweight optional addedBy/addedAt attribution, never override machinery.

FieldTypeRequiredDescription
sourceNamestringyesName of the external system/source being referenced (e.g., 'cve', 'mitre-att&ck', 'stix', 'taxii', or any vendor label). Open string — not a closed enum. Use the x- prefix convention for custom/experimental sources, mirroring bomType.
externalIdstringnoIdentifier of the artifact within sourceName (e.g., 'CVE-2021-44228' for source 'cve', 'T1059' for 'mitre-att&ck'). Cite by id without needing a URL. Together with sourceName this is a URN.
hrefstring (uri-reference)noLocation of the artifact. uri-reference (not uri) so a bare internal #fragment/#uuid reference is expressible alongside absolute URLs. Set it only when the location is meaningful to a reader — never a producer's local filesystem path.
descriptionstringnoHuman-readable description of what is referenced. Satisfies the at-least-one rule on its own when neither id nor href is available.
relstringnoOpen relationship token describing how this reference relates to the referencing object. Deliberately open (cf. OSCAL rel allow-other, RFC 8288 extension relations). Documented starter vocabulary: 'reference' (generic), 'definition' (defines the concept), 'evidence' (supporting evidence), 'investigate' (a live pivot to investigate), 'canonical' (the authoritative source).
mediaTypestringnoIANA media type of the artifact (RFC 6838), e.g., 'application/json', 'application/xml', 'text/csv'. Applies both to an artifact retrievable at href and to one embedded here in content or document.
checksumChecksumnoIntegrity hash of the artifact. Reuses the HDF Checksum primitive (not STIX hashes). Applies both to an artifact retrievable at href and to one embedded here in content or document — beside embedded bytes it is what makes the copy verifiable rather than merely present.
addedByIdentitynoWho attached this reference. Lightweight, flat attribution — a reference overrides nothing, so it has no chaining/superseding/disposition.
addedAtstring (date-time)noWhen this reference was attached (RFC 3339 / trimmed-UTC per HDF timestamp convention).
kindstringnoOpen token classifying the referenced/embedded payload, turning a bare reference into an enrichment envelope.

Deliberately open (like sourceName/rel), not a closed enum.

Documented starter vocabulary: 'threat-intel' (STIX/CTI object), 'annotation' (human triage note), 'exploitation' (EPSS/KEV signal carried as context), 'advisory' (vendor/security advisory).

Use the x- prefix for custom kinds.
documentMap<string, any>noOptional lossless embedded copy of the referenced artifact as a JSON object — the raw STIX object, EPSS record, advisory, or annotation payload — preserved verbatim.

JSON objects only. An artifact that is not a JSON object (XML, CSV, NDJSON, plain text, a JSON array, or bytes that are not text at all) embeds through content + encoding instead.

Composes with href/externalId (which point at the artifact) and checksum (which ties the copy to the source): a single entry can both point and embed.

HDF stays payload-agnostic — the content is carried untouched, never normalized into HDF fields — so this does not duplicate the source ontology (e.g. STIX rides here unchanged).
contentstringnoOptional lossless embedded copy of the artifact's bytes as a string, for artifacts document cannot hold: XML, CSV, NDJSON, plain text, a JSON array, or bytes that are not valid UTF-8 text at all.

encoding states how to read it back and is required alongside it. Set mediaType so a consumer knows what the bytes are, and checksum so the copy can be verified against the source.

Carried verbatim — never reformatted, re-indented, or re-serialized.
encodingExternal_Reference_EncodingnoHow to read content back into the artifact's bytes. 'utf-8' for text (XML, CSV, NDJSON, plain text, JavaScript-wrapped JSON); 'base64' for anything that is not valid UTF-8 text.

Required whenever content is present, and meaningless without it — an embedded copy whose encoding a consumer has to guess is not lossless.
Example
json
{
  "sourceName": "cve",
  "externalId": "CVE-2021-44228",
  "rel": "definition"
}

Hash_Algorithm ​

Cryptographic hash algorithms a checksum or integrity record may name. blake3 covers container-image and other artifact digests that use it. HDF tooling verifies every algorithm in this enum, so any of them may be recorded where the checksum needs to be verifiable. md5 and sha1 are excluded deliberately: a checksum or integrity record exists to detect tampering, and both are collision-broken, so a digest in either would look verifiable while proving nothing. A source tool digest in an excluded algorithm is not recorded as a checksum. Admitting weak hashes as an application-level accept/reject decision was considered and rejected; widening this enum is a schema decision, not an oversight.

Enum (string) — allowed values:

  • "sha256"
  • "sha384"
  • "sha512"
  • "blake3"

Requirement_Group ​

Describes a group of requirements, such as those defined in a single file.

FieldTypeRequiredDescription
idstringyesThe unique identifier for the group. Example: the relative path to the file specifying the requirements.
titlestringnoThe title of the group - should be human readable.
requirementsstring[]yesThe set of requirements as specified by their ids in this group. Example: 'SV-238196'.

Dependency ​

A dependency for a baseline. Can include relative paths or URLs for where to find the dependency.

FieldTypeRequiredDescription
namestringnoThe name or assigned alias.
urlstring (uri-reference)noThe address of the dependency.
branchstringnoThe branch name for a git repo.
pathstringnoThe relative path if the dependency is locally available.
statusMessagestringnoThe reason for the status if it is 'failed' or 'skipped'.
statusstringnoThe status. Should be: 'loaded', 'failed', or 'skipped'.
gitstring (uri)noThe location of the git repo. Example: 'https://github.com/my-org/ubuntu-22.04-stig-baseline.git'.
supermarketstringnoThe 'user/profilename' attribute for a Supermarket server.
compliancestringnoThe 'user/profilename' attribute for an Automate server.
Example
json
{
  "name": "ubuntu-22.04-baseline",
  "url": "https://github.com/my-org/ubuntu-22.04-stig-baseline",
  "git": "https://github.com/my-org/ubuntu-22.04-stig-baseline.git",
  "branch": "main",
  "status": "loaded"
}

Reference ​

A reference to an external document.

FieldTypeRequiredDescription
refstring | Map<string, any>[]no
urlstring (uri)no
uristring (uri)no
Example
json
{
  "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-44228"
}

Source_Location ​

The explicit location of a requirement within source code.

FieldTypeRequiredDescription
refstringnoPath to the file that this requirement originates from.
linenumbernoThe line on which this requirement is located.
Example
json
{
  "ref": "controls/SV-260476.rb",
  "line": 1
}

Supported_Platform ​

A supported platform target. Example: the platform name being 'ubuntu'.

FieldTypeRequiredDescription
platformFamilystringnoThe platform family. Example: 'redhat'.
platformNamestringnoThe platform name - can include wildcards. Example: 'debian'.
platformstringnoThe location of the platform. Can be: 'os', 'aws', 'azure', or 'gcp'.
releasestringnoThe release of the platform. Example: '20.04' for 'ubuntu'.

Checksum ​

Cryptographic checksum for baseline integrity verification.

FieldTypeRequiredDescription
algorithmHash_AlgorithmyesThe hash algorithm used for the checksum.
valuestringyesThe checksum value.
Example
json
{
  "algorithm": "sha256",
  "value": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
}

Identity ​

Represents an identity that performed an action, such as capturing evidence or applying an override.

FieldTypeRequiredDescription
identifierstringyesThe identifier value. Example: 'user@example.com', 'jdoe', 'automated-scanner-01'.
type"email" | "username" | "system" | "agent" | "simple" | "other"yesThe type of identifier.

Use 'email' for email addresses, 'username' for user accounts, 'system' for deterministic non-interactive automation (CI jobs, cron, scanners), 'agent' for an AI/LLM agent acting with autonomy — kept distinct from 'system' so auditors can apply AI-specific scrutiny (e.g. 'an LLM proposed this' vs a deterministic job) and satisfy AI-source disclosure under frameworks like the EU AI Act and NIST AI RMF, 'simple' for basic string identifiers without additional classification, or 'other' for custom identity systems.
descriptionstringnoOptional description of the identity or identity system, particularly useful when type is 'other'.
Example
json
{
  "type": "email",
  "identifier": "admin@example.com"
}

Evidence ​

Supporting evidence for a finding or override, such as screenshots, code samples, log excerpts, or URLs.

FieldTypeRequiredDescription
type"screenshot" | "code" | "log" | "url" | "file" | "other"yesThe type of evidence being provided.
datastringyesThe evidence content. For screenshots/files: base64-encoded data or URL. For code/logs: the raw text. For URLs: the URL string. Must not be empty. When encoding is 'base64', data must be bare base64 matching ^[0-9A-Za-z+/]+={0,2}$ (OSCAL's Base64Datatype): no data: URI prefix, URL, or line breaks.
descriptionstringnoHuman-readable description of what this evidence shows.
mimeTypestringnoMIME type of the evidence. Example: 'image/png', 'text/plain', 'application/json'.
encodingstringnoEncoding used for the data. Example: 'base64', 'utf-8'. The value 'base64' (exactly, lowercase) requires data to be bare base64.
sizenumbernoSize of the evidence data in bytes.
capturedAtstring (date-time)noTimestamp when this evidence was captured. ISO 8601 format.
capturedByIdentitynoIdentity of who or what captured this evidence.
Example
json
{
  "type": "screenshot",
  "data": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg==",
  "description": "Screenshot showing firewall configuration with required ports blocked",
  "mimeType": "image/png",
  "encoding": "base64",
  "size": 95,
  "capturedAt": "2025-12-14T10:30:00Z",
  "capturedBy": {
    "identifier": "security-auditor@example.com",
    "type": "email"
  }
}

Remediation ​

Reference to automated remediation resources for implementing security controls. Points to external automation content like Ansible playbooks, Terraform scripts, or vendor-provided remediation tools.

FieldTypeRequiredDescription
uristring (uri)yesURI pointing to automated remediation resources (Ansible playbooks, Terraform scripts, etc.). Examples: GitHub repository, DISA STIG Supplemental Automation Content, vendor-provided scripts.
checksumChecksumnoOptional cryptographic checksum for verifying the integrity of remediation resources fetched from the URI. Recommended for security when referencing external automation scripts.
Example
json
{
  "uri": "https://github.com/ansible-lockdown/RHEL9-STIG/tree/main/tasks"
}

Verification_Method ​

Verification method containing the public key needed to verify a digital signature. Supports multiple key formats including JWK (for RSA, EC), PEM, and Base58.

FieldTypeRequiredDescription
typestringyesThe type of verification method. Example: 'JsonWebKey2020', 'RsaVerificationKey2018', 'Ed25519VerificationKey2020'.
controllerstringyesThe entity that controls this verification method. Can be a DID, URI, or other identifier.
publicKeyJwkMap<string, any>noPublic key in JSON Web Key format.
publicKeyPemstringnoPublic key in PEM format. Example: '-----BEGIN PUBLIC KEY-----...-----END PUBLIC KEY-----'.
publicKeyBase58stringnoPublic key in Base58 format, commonly used with Ed25519 keys.

Milestone ​

A milestone or task within a POA&M remediation plan.

FieldTypeRequiredDescription
titlestringnoShort single-line label for this milestone, suitable where a consumer needs a title (for example an OSCAL POA&M remediation or task). No line breaks, and no leading or trailing whitespace. The description remains the full text of the milestone; the title does not replace it.
descriptionstringyesDescription of this milestone or task.
estimatedCompletionstring (date-time)yesEstimated completion date. ISO 8601 format.
status"pending" | "inProgress" | "completed"yesCurrent status of this milestone.
completedAtstring (date-time)noActual completion timestamp. ISO 8601 format.
completedByIdentitynoIdentity of who completed this milestone.
Example
json
{
  "title": "Deploy OpenSSH 9.8p1",
  "description": "Upgrade OpenSSH to 9.8p1 on every RHEL 9 host in the web tier to remediate CVE-2024-6387, then restart sshd during the Saturday maintenance window.",
  "estimatedCompletion": "2026-10-31T00:00:00Z",
  "status": "inProgress"
}

Signature ​

A digital signature following W3C Data Integrity Proofs pattern. Supports hardware security tokens (PKCS#11/PKCS#12), Yubikeys, GPG keys, passkeys, and other cryptographic signing methods via JWK, PEM, or Base58 key formats.

FieldTypeRequiredDescription
typestringyesThe signature suite type. Example: 'JsonWebSignature2020', 'RsaSignature2018', 'Ed25519Signature2020'.
createdstring (date-time)yesWhen the signature was created. ISO 8601 format.
creatorIdentityyesThe identity that created this signature.
signatureValuestringyesThe base64-encoded or base58-encoded signature value.
proofPurposestringyesThe purpose of this signature. Example: 'attestation', 'authentication', 'assertionMethod'.
verificationMethodVerification_MethodyesThe verification method containing the public key for signature verification.
noncestringnoRandom value to prevent replay attacks.
challengestringnoChallenge value from the verifier, used in challenge-response authentication.
domainstringnoDomain restriction for the signature, prevents cross-domain replay attacks.
Example
json
{
  "type": "JsonWebSignature2020",
  "created": "2025-12-14T10:00:00Z",
  "creator": {
    "identifier": "security-team@example.com",
    "type": "email"
  },
  "signatureValue": "eyJhbGciOiJSUzI1NiIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..MEYCIQDvKbtLRhWAa",
  "proofPurpose": "attestation",
  "verificationMethod": {
    "type": "JsonWebKey2020",
    "controller": "did:example:123456789abcdefghi",
    "publicKeyJwk": {
      "kty": "RSA",
      "n": "0vx7agoebGcQSuuPiLJXZptN9nndrQmbXEps2aiAFbWhM78LhWx4cbbfAAtV",
      "e": "AQAB"
    }
  }
}

Baseline_Metadata ​

Shared metadata fields for baselines. Used in both standalone baseline documents and evaluated baseline results.

FieldTypeRequiredDescription
externalReferencesExternal_Reference[]noOptional references to external artifacts relevant to this baseline (CTI/STIX, advisories, source catalogs, or any URI-addressable artifact). Travels with the baseline definition. Inert context; see External_Reference.
namestringnoThe name - must be unique.
titlestringnoThe title - should be human readable.
descriptionstringnoProse description of the baseline, more detailed than summary. Carried verbatim, like every HDF prose field.
maintainerstringnoThe maintainer(s).
copyrightstringnoThe copyright holder(s).
copyrightEmailstringnoThe email address or other contact information of the copyright holder(s).
licensestringnoThe copyright license. Example: 'Apache-2.0'.
summarystringnoThe summary. Example: the Security Technical Implementation Guide (STIG) header.
versionstringnoThe version of the baseline.
supportsSupported_Platform[]noThe set of supported platform targets.
statusstringnoThe status. Example: 'loaded'.
labelsMap<string, string>noOptional key-value labels for flexible grouping. Well-known keys: system, component, environment, region, team. Values must be strings.
Example
json
{
  "name": "rhel-9-stig-baseline",
  "title": "Red Hat Enterprise Linux 9 STIG Baseline",
  "maintainer": "MITRE SAF Team",
  "copyright": "The MITRE Corporation",
  "copyrightEmail": "saf@mitre.org",
  "license": "Apache-2.0",
  "summary": "InSpec baseline for RHEL 9 STIG compliance",
  "version": "1.0.0",
  "supports": [
    {
      "platformName": "redhat",
      "platformFamily": "redhat",
      "release": "9"
    }
  ],
  "status": "loaded"
}

Requirement_Core ​

Core requirement fields shared between baseline requirements and evaluated requirements. Contains the fundamental requirement definition without assessment results.

FieldTypeRequiredDescription
externalReferencesExternal_Reference[]noOptional references to external artifacts relevant to this requirement (CTI/STIX correlation, advisories, control/definition sources, or any URI-addressable artifact). Applies to both baseline requirement definitions and evaluated requirements. Inert context; see External_Reference.
idstringnoThe requirement identifier, naming the requirement itself rather than one finding of it. Example: 'SV-238196'. Several entries in one baseline may legitimately carry the same id (one scanner reporting one CVE against several packages, or an overlay restating what it inherits), so an id is not an instance key: index requirements as id to list, never id to one, and an amendment addressing an id applies to every entry carrying it.
titlestringnoThe title - is nullable.
descriptionsobject[]noArray of labeled descriptions. At least one description with label 'default' must be present. Convention: place default description first. Common labels: 'default', 'check', 'fix', 'rationale'.
impactnumbernoThe impactfulness or severity (0.0 to 1.0).
refsReference[]noThe set of references to external documents.
tagsMap<string, any>noA set of tags - usually metadata like CCI, STIG ID, severity.
codestringnoThe raw source code of the requirement. Set to null for manual-only requirements or requirements not yet implemented; use verificationMethod to disambiguate manual-by-design from manual-pending-automation. Note that if this is an overlay, it does not include the underlying source code.
sourceLocationSource_LocationnoThe explicit location of the requirement within the source code.
controlType"policy" | "procedure" | "technical" | "management" | "operational"noClassification of the control's nature, aligning with NIST SP 800-53 / SP 800-53A categories.

'policy' = an authored governance statement; 'procedure' = a documented process; 'technical' = an enforced technical configuration; 'management' = a programmatic/management activity; 'operational' = a recurring operational activity (e.g. AT, IR, MA families).

Optional: when omitted, consumers may infer heuristically from family/id but should not assume a default.
verificationMethodVerification_Method_EnumnoHow this requirement is intended to be verified.

Disambiguates the two cases that null 'code' overloads: 'manual-by-design' (the requirement is statement-form and not amenable to automation, e.g. FedRAMP 20x KSIs); 'manual-pending-automation' (automation could exist but does not yet, e.g. a STIG rule lacking a fix).

'automated' = a check exists and runs without operator action; 'hybrid' = part automated, part manual.

Optional: when omitted, consumers should not infer a default.
applicability"required" | "optional" | "advisory"noWhether the requirement is mandatory within its baseline.

Distinct from severity (risk weight) and status (lifecycle state).

Maps cleanly onto: FedRAMP rev5 OSCAL 'CORE' prop, FedRAMP 20x inline 'Optional:' markers, CMMC sublevel rows, and CIS Implementation Group memberships (IG1/IG2/IG3 may carry richer semantics; layer those onto props[]/tags{}).

Optional: when omitted, consumers should treat the requirement as 'required' by convention.
Example
json
{
  "id": "SV-238196",
  "title": "The Ubuntu operating system must enforce password complexity",
  "impact": 0.5,
  "tags": {
    "nist": [
      "IA-5"
    ],
    "severity": "medium",
    "cci": [
      "CCI-000192"
    ]
  },
  "refs": [
    {
      "url": "https://public.cyber.mil/stigs/"
    }
  ],
  "descriptions": [
    {
      "label": "default",
      "data": "Use of a complex password helps to increase the time and resources required to compromise the password."
    },
    {
      "label": "check",
      "data": "Verify the value of 'minlen' in /etc/security/pwquality.conf."
    }
  ]
}

Verification_Method_Enum ​

How a requirement is intended to be verified.

Disambiguates the two cases that null 'code' overloads: 'manual-by-design' (the requirement is statement-form and not amenable to automation, e.g. FedRAMP 20x KSIs); 'manual-pending-automation' (automation could exist but does not yet, e.g. a STIG rule lacking a fix).

'automated' = a check exists and runs without operator action; 'hybrid' = part automated, part manual.

Named '_Enum' to disambiguate from the unrelated Verification_Method DID-context struct.

Enum (string) — allowed values:

  • "automated"
  • "manual-by-design"
  • "manual-pending-automation"
  • "hybrid"

Severity ​

Severity rating for a requirement. Typically derived from the numeric impact score.

Enum (string) — allowed values:

  • "critical"
  • "high"
  • "medium"
  • "low"
  • "informational"

Cloud_Provider ​

Cloud service provider identifier.

Enum (string,null) — allowed values:

  • "aws"
  • "azure"
  • "gcp"
  • "oci"
  • "other"
  • "null"

cvss ​

Cvss_Severity ​

Qualitative CVSS severity band. Aligns with FIRST/NVD bands: none=0.0, low=0.1-3.9, medium=4.0-6.9, high=7.0-8.9, critical=9.0-10.0. Distinct from the broader Severity enum used on Requirement_Core (which includes 'informational').

Enum (string) — allowed values:

  • "none"
  • "low"
  • "medium"
  • "high"
  • "critical"

Cvss ​

A CVSS (Common Vulnerability Scoring System) score record for a vulnerability finding.

Captures the vendor-supplied Base metric group and optional consumer-supplied Threat, Environmental, and Supplemental metric groups.

Supports all four CVSS major versions (2.0, 3.0, 3.1, 4.0).

Vector strings are validated against a permissive umbrella grammar; semantic validation (correct metrics per version, correct values per metric) is performed by the hdf-utilities validateCvssVector helper rather than at the schema layer.

FieldTypeRequiredDescription
version"2.0" | "3.0" | "3.1" | "4.0"yesThe CVSS specification version this entry conforms to. Vendor scanners typically emit 3.1 or 4.0; legacy data may use 2.0 or 3.0.
sourcestringnoOptional identifier the CVSS data is associated with — most commonly a CVE ID (e.g., 'CVE-2024-12345'), but may also be a vendor advisory ID, GHSA, or similar.
baseVectorstringnoOptional Base metric group vector string as emitted by the source (e.g., 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H').

For CVSS 2.0 the version prefix is omitted.

Some vendor tools emit a final baseScore without the vector — in that case this field is absent and the score cannot be recomputed or decomposed.

The pattern accepts any version-prefixed or prefix-less metric token sequence; semantic validity of individual metrics is checked by hdf-utilities, not by the schema.
baseScorenumbernoThe Base score (0.0–10.0) computed from the base vector. Reflects the intrinsic, vendor-published severity before consumer enrichment.
baseSeverityCvss_SeveritynoQualitative severity band corresponding to baseScore. CVSS 2.0 does not natively use 'none' or 'critical' bands; map accordingly when populating.
threatVectorstringnoOptional Threat metric group vector segment (e.g., 'E:U/RL:O/RC:C' for CVSS 3.1, or 'E:A' for CVSS 4.0). Consumer-supplied — captures real-world exploitation and remediation context the vendor cannot know.
threatScorenumbernoOptional score (0.0–10.0) recomputed after applying Threat metrics. Always less than or equal to baseScore in practice.
environmentalVectorstringnoOptional Environmental metric group vector segment (e.g., 'MAV:N/CR:H/IR:H/AR:H'). Consumer-supplied — reflects the deployment context (criticality, mitigations, network exposure).
environmentalScorenumbernoOptional score (0.0–10.0) recomputed after applying Environmental metrics.
supplementalVectorstringnoOptional Supplemental metric group vector segment (CVSS 4.0 only). Examples: 'S:P/AU:N/V:C/RE:M/U:Amber'. Per CVSS 4.0 spec, supplemental metrics convey additional context but have no impact on the computed score.
computedScorenumbernoOptional final score after combining Base + Threat + Environmental metrics. This is the score consumers should treat as authoritative for risk decisions when present.
computedSeverityCvss_SeveritynoQualitative severity band corresponding to computedScore. Same band convention as baseSeverity.
Example
json
{
  "version": "3.1",
  "source": "CVE-2024-12345",
  "baseVector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
  "baseScore": 9.8,
  "baseSeverity": "critical"
}

extensions ​

Raw_Source_Artifact ​

One artifact exactly as a converter received it, before conversion.

An External_Reference used for a single purpose, so the same primitive both points and embeds: sourceName names the producing tool; content + encoding carry the bytes; checksum is of the exact bytes the converter read; rel is 'raw-source'; href appears only when the caller supplied a location that means something to a reader, never a producer's local filesystem path.

BYTES, NOT A PARSED COPY. document is forbidden here, enforced by the schema rather than described: it holds a parsed JSON object, so embedding through it discards the original whitespace, key order, duplicate keys and trailing bytes — which makes the artifact unreconstructable and the checksum unverifiable against what is stored. A JSON input carries as a content string like every other input. This is deliberately stricter than HDF v2, whose passthrough.raw held a parsed structure in every converter but one, and which for XML inputs stored a reshaped object whose keys could collide.

mediaType is REQUIRED on an entry that embeds — bytes whose type a consumer has to infer are not carriage. It is derived from the converter's declared input family (json → application/json, xml → application/xml, text → text/plain) and overridden by converters that know their bytes more precisely (CSV, NDJSON, JavaScript-wrapped JSON).

An entry that only points at a location may omit mediaType, content and encoding.

Example
json
{
  "sourceName": "grype",
  "rel": "raw-source",
  "mediaType": "application/json",
  "encoding": "utf-8",
  "content": "{\"matches\":[{\"vulnerability\":{\"id\":\"CVE-2021-36159\",\"severity\":\"Critical\"}}]}",
  "checksum": {
    "algorithm": "sha256",
    "value": "4b33be77f104d6ee323ff2c945d1c3f9a151606b2d263ea7932716844c75920c"
  }
}

Extensions ​

Carrier for data outside the HDF model: passthrough for producer data HDF does not model, rawSourceArtifacts for the pre-converted input(s).

CLOSED: these two members are the whole of it. A key HDF does not define goes inside passthrough — that is what passthrough is for — so extensions never becomes a second, unnamed schema that consumers must reverse-engineer from the producers that happen to write it.

Closed with additionalProperties rather than the house unevaluatedProperties because this definition composes nothing, and the shipped Go validator is a draft-07 engine that does not implement unevaluatedProperties — a closure only one of the two validators enforces is not a closure.

Declared on every HDF document type that carries a producer envelope (generator / integrity), and on Evaluated_Baseline, so one rule governs both sites.

FieldTypeRequiredDescription
passthroughMap<string, any>noCatch-all for producer data that HDF does not model — the role heimdall2's passthrough.auxiliary_data played: fields a converter deliberately carried but had no home for.

Deliberately permissive: unenumerated properties are accepted by design, with no shape imposed on them. HDF neither reads nor interprets what is here. It is the ONLY permissive surface in extensions — everything HDF does not define belongs here rather than beside it.

This is NOT where the pre-converted source artifact goes. v2 put it here only because nothing else had room; rawSourceArtifacts is its home now, and it gives the bytes a checksum, a media type and a reference contract that an untyped object cannot.

For data that belongs to one requirement rather than to the document, use that object's own fields — a document-level bag cannot say which requirement it describes.
rawSourceArtifactsRaw_Source_Artifact[]noThe input(s) this document was converted from, verbatim.

An array because a conversion can consume more than one artifact — the OSCAL profile path takes a profile and a catalog. Every other converter takes one input, and an array of one costs nothing.

Populating this is required of ingest converters by policy, enforced by the converter contract and test harness rather than by a schema required: a tool that emits HDF natively has no source artifact, and requiring the field would make valid native HDF invalid.
Example
json
{
  "passthrough": {
    "auxiliary_data": [
      {
        "name": "Grype",
        "data": {
          "descriptor": {
            "name": "grype",
            "version": "0.74.0"
          }
        }
      }
    ]
  },
  "rawSourceArtifacts": [
    {
      "sourceName": "grype",
      "rel": "raw-source",
      "mediaType": "application/json",
      "encoding": "utf-8",
      "content": "{\"matches\":[{\"vulnerability\":{\"id\":\"CVE-2021-36159\",\"severity\":\"Critical\"}}]}",
      "checksum": {
        "algorithm": "sha256",
        "value": "4b33be77f104d6ee323ff2c945d1c3f9a151606b2d263ea7932716844c75920c"
      }
    }
  ]
}

Status_Override ​

An intentional change to a requirement's compliance status and/or impact score, as it sits on the requirement once applied. The same type-conditional rule as Standalone_Override: when type is 'operationalRequirement', neither status nor impact may be set, because the override records an accepted deviation without adjudicating the finding; it still governs disposition, and effectiveStatus stays what the results decided. When type is 'riskAdjustment', status may not be set: it re-rates the risk through impact and never changes pass/fail. For every other type, at least one of status or impact must be set. All overrides must have an expiration date to enforce periodic review.

FieldTypeRequiredDescription
externalReferencesExternal_Reference[]noOptional references to the external artifacts behind this override (e.g. the STIX bundle/object or CTI feed motivating an E:A riskAdjustment). Inert context distinct from evidence; see External_Reference. Symmetric with Standalone_Override.externalReferences for the inline (results-embedded) override carrier.
typeOverride_TypeyesThe type of override applied to this requirement.
statusResult_StatusnoThe new status this override sets for the requirement. Optional when only impact is being overridden; forbidden on an operationalRequirement, which adjudicates nothing, and on a riskAdjustment, which re-rates impact only.
impactImpact_OverridenoOverride to the requirement's impact score. For every type except operationalRequirement, at least one of status or impact must be set; an operationalRequirement carries neither.
reasonstringyesExplanation for why this override was applied.
appliedByIdentityyesIdentity of who applied this override. For simple cases, use type 'simple' with just an identifier.
appliedAtstring (date-time)yesTimestamp when this override was applied. ISO 8601 format.
expiresAtstring (date-time)yesTimestamp when this override expires and must be reviewed/renewed. REQUIRED - no permanent overrides allowed. ISO 8601 format.
signatureSignaturenoOptional digital signature for enhanced trust and non-repudiation. Supports hardware security tokens (PKCS#11/PKCS#12), Yubikeys, GPG keys, passkeys, and other signing methods.
evidenceEvidence[]noSupporting evidence for this override, such as screenshots demonstrating manual verification for attestations.
previousChecksumChecksumnoSHA-256 checksum of the previous amendment in chronological order. Each amendment's checksum is recorded by the NEXT one, so editing an amendment in place is detectable — provided a later amendment is chained to it. It is NOT tamper-proof: the final amendment, the document envelope, deleted trailing amendments, and a chain that has been stripped or recomputed wholesale are all outside what it can detect. Use signature for non-repudiation. Omitted on the first amendment on a requirement.
cvssCvssnoStructured CVSS scoring data backing this override. Captures the rubric (which Environmental/Threat metrics the consumer modified, the recomputed score) used to justify a riskAdjustment. For other override types this is optional context.
justificationJustificationnoStructured controlled-vocabulary classification for why this override applies. Complements (does not replace) the free-text 'reason' field. Most useful on falsePositive and attestation overrides where the structured category enables filtering and lossless round-trip with VEX / OSCAL / FedRAMP DR. See the Justification primitive for the precedent vocabulary and rationale.
Example
json
{
  "type": "waiver",
  "status": "notApplicable",
  "reason": "This control does not apply to containerized environments as the application runs in ephemeral containers without persistent storage",
  "appliedBy": {
    "identifier": "security-team@example.com",
    "type": "email"
  },
  "appliedAt": "2025-12-01T10:00:00Z",
  "expiresAt": "2026-12-01T00:00:00Z"
}

POAM ​

Plan of Action and Milestones for tracking remediation, mitigation, or risk acceptance. POAMs do NOT change the effectiveStatus - the requirement remains in its current state while the POA&M tracks remediation efforts.

FieldTypeRequiredDescription
type"remediation" | "mitigation" | "riskAcceptance" | "vendorDependency"yesThe type of POA&M. 'remediation' fixes root cause. 'mitigation' reduces risk via compensating controls. 'riskAcceptance' documents decision to accept risk. 'vendorDependency' tracks a fix that depends on a vendor releasing a patch or update.
explanationstringyesDetailed explanation of the plan, including what actions will be taken.
appliedByIdentityyesIdentity of who created this POA&M. For simple cases, use type 'simple' with just an identifier.
appliedAtstring (date-time)yesTimestamp when this POA&M was created. ISO 8601 format.
expiresAtstring (date-time)yesRequired deadline for this POA&M. A POA&M is a time-boxed acceptance of an open finding; without a deadline it lets a failing requirement duck remediation indefinitely. Source a real date (e.g. a remediation target or vendor-fix date) — never a wall-clock default. ISO 8601 format.
milestonesMilestone[]noOptional array of milestones tracking progress toward completion.
signatureSignaturenoOptional digital signature for enhanced trust and non-repudiation.
evidenceEvidence[]noSupporting evidence for this POA&M, such as documentation of compensating controls or mitigation implementation.
previousChecksumChecksumnoSHA-256 checksum of the previous amendment in chronological order. Each amendment's checksum is recorded by the NEXT one, so editing an amendment in place is detectable — provided a later amendment is chained to it. It is NOT tamper-proof: the final amendment, the document envelope, deleted trailing amendments, and a chain that has been stripped or recomputed wholesale are all outside what it can detect. Use signature for non-repudiation. Omitted on the first amendment on a requirement.
Example
json
{
  "type": "remediation",
  "explanation": "Upgrade OpenSSL to version 3.0.x to address CVE-2024-XXXXX vulnerability. Root cause: outdated dependency version in base image.",
  "appliedBy": {
    "identifier": "devops-team@example.com",
    "type": "email"
  },
  "appliedAt": "2025-12-01T09:00:00Z",
  "expiresAt": "2099-12-31T00:00:00Z",
  "milestones": [
    {
      "description": "Update base Docker image to use OpenSSL 3.0.x",
      "estimatedCompletion": "2025-12-15T00:00:00Z",
      "status": "completed",
      "completedAt": "2025-12-10T16:30:00Z",
      "completedBy": {
        "identifier": "alice.smith",
        "type": "username"
      }
    },
    {
      "description": "Deploy updated image to production",
      "estimatedCompletion": "2025-12-20T00:00:00Z",
      "status": "inProgress"
    },
    {
      "description": "Verify vulnerability no longer present via security scan",
      "estimatedCompletion": "2025-12-22T00:00:00Z",
      "status": "pending"
    }
  ]
}

Generator ​

Information about the tool that generated this HDF file.

FieldTypeRequiredDescription
namestringyesThe name of the software that produced this HDF file. Example: 'gosec-to-hdf'.
versionstringyesThe version of the tool. Example: '5.22.3'.

Tool ​

The security tool that produced the assessment data represented in this HDF file. Aligns with SARIF, OSCAL, and CycloneDX terminology.

FieldTypeRequiredDescription
namestringnoThe name of the security tool that produced the data. Examples: 'gosec', 'Semgrep', 'OpenSCAP', 'AWS Config', 'Nessus'. Omit if the tool cannot be identified.
versionstringnoVersion of the source tool, if available in the tool's output. Example: '5.22.3'.
formatstringnoThe named format of the source data, when it follows a recognized format specification with its own identity: an interchange format emitted by many tools ('SARIF', 'XCCDF', 'OSCAL') or one of several named output formats a single tool produces ('FVDL', 'exec-json', 'FPF').

Never a serialization structure — 'JSON', 'XML', and 'CSV' are encodings, not formats.

Omit for a tool's native output: an absent format means the tool's own shape, and data arriving as a named format is converted by that format's converter, which sets this field alongside the producing tool's name.

Integrity ​

Cryptographic integrity information for verifying the HDF file has not been tampered with. If algorithm is provided, checksum must also be provided, and vice versa.

FieldTypeRequiredDescription
algorithmHash_AlgorithmnoThe hash algorithm used for the checksum.
checksumstringnoThe checksum value.
signaturestringnoOptional cryptographic signature.
signedBystringnoIdentifier of who signed this file.
Example
json
{
  "algorithm": "sha256",
  "checksum": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
}

parameter ​

Input_Type ​

The data type of the input value. Aligns with InSpec input types.

Enum (string) — allowed values:

  • "String"
  • "Numeric"
  • "Boolean"
  • "Array"
  • "Hash"
  • "Regexp"

Comparison_Operator ​

Comparison operator for evaluating the input value against observed values. Numeric: eq/ne/lt/le/gt/ge. String: eq/ne/contains/matches. Collection: in/notIn.

Enum (string) — allowed values:

  • "eq"
  • "ne"
  • "lt"
  • "le"
  • "gt"
  • "ge"
  • "contains"
  • "matches"
  • "in"
  • "notIn"

Input_Constraints ​

Validation constraints for an input value.

FieldTypeRequiredDescription
minnumbernoMinimum allowed value (for Numeric inputs).
maxnumbernoMaximum allowed value (for Numeric inputs).
patternstringnoRegular expression pattern the value must match (for String inputs).
allowedValuesany[]noEnumeration of permitted values. Each entry may be any JSON value, the same freedom Input.value has: an Array or Hash input enumerates container values, so no element type is imposed.

Input ​

A typed input parameter that bridges governance requirements and scanner automation. Inputs carry expected configuration values with type information, comparison operators, and validation constraints, enabling traceability from policy through to scan results.

FieldTypeRequiredDescription
namestringyesThe input name. Must be unique within a baseline or results document. Example: 'max_concurrent_sessions'.
typeInput_TypenoThe data type of this input.
valueanynoThe input value. Type should match the declared type field. Accepts any JSON value.
descriptionstringnoHuman-readable description of what this input controls.
requiredbooleannoWhether this input must be provided. Defaults to false if omitted.
sensitivebooleannoWhether this input contains sensitive data (passwords, keys). Sensitive values should be redacted in output. Defaults to false if omitted.
operatorComparison_OperatornoThe comparison operator used when evaluating this input against observed values.
constraintsInput_ConstraintsnoValidation constraints for the input value.
Example
json
{
  "name": "max_concurrent_sessions",
  "type": "Numeric",
  "value": 3,
  "description": "Maximum concurrent sessions per user",
  "required": true,
  "sensitive": false,
  "operator": "le",
  "constraints": {
    "min": 1,
    "max": 100
  }
}

result ​

Result_Status ​

The status of an individual test result. 'notApplicable' indicates the requirement does not apply to the target. 'notReviewed' indicates the requirement was not assessed (e.g., requires manual verification).

Enum (string) — allowed values:

  • "passed"
  • "failed"
  • "notApplicable"
  • "notReviewed"
  • "error"

Requirement_Result ​

A test within a requirement and its results and findings such as how long it took to run.

FieldTypeRequiredDescription
statusResult_StatusyesThe status of this test within the requirement. Example: 'failed'.
codeDescstringyesA description of this test. Example: 'limits.conf * is expected to include ["hard", "maxlogins", "10"]'.
runTimenumbernoThe execution time in seconds for the test.
startTimestring (date-time)yesThe time at which the test started.
resourcestringnoThe resource used in the test. Example: 'file', 'command', 'service'.
resourceIdstringnoThe unique identifier of the resource. Example: '/etc/passwd'.
messagestringnoAn explanation of the test result. Typically provided for failed tests, errors, or to explain why a test was not applicable or not reviewed.
exceptionstringnoThe type of exception if an exception was thrown.
backtracestring[]noThe stacktrace/backtrace of the exception if one occurred.
rawSourceRecordRaw_Source_RecordnoThe source tool's own record for this result, carrying every field the record had. Complete, not necessarily byte-exact: see Raw_Source_Record.content for the producer and consumer obligations, and extensions.rawSourceArtifacts[] when byte-exact carriage is required.
Example
json
{
  "status": "passed",
  "codeDesc": "File /etc/ssh/sshd_config content is expected to match /Protocol\\s+2/",
  "startTime": "2025-06-15T10:30:00Z",
  "runTime": 0.015
}

Raw_Source_Record ​

The source tool's own record for this result — the one entry in the converter's input that produced it, complete though not necessarily byte-for-byte (see content).

SCOPED TO THE RESULT DELIBERATELY. For a vulnerability scanner the native record is one (vulnerability, package) pair, which is exactly one result: a CVE reported against two packages yields two entries whose records differ only in the package they matched. Held on the requirement instead, those two records would collide, and merging entries that share an id would have to discard one — so the result is not merely an available home but the correct one.

Distinct from extensions.rawSourceArtifacts[], which carries whole input artifacts: this carries the one record inside one of them, and pointer ties the two together. A consumer that wants the whole input reads the artifact; one that wants provenance for a single finding reads this.

Distinct from code, which means the code that ran to evaluate the requirement — an InSpec control's source, or a check reference. A serialized finding is not code, and putting one there overloaded a field whose meaning came from InSpec.

CLOSED, and deliberately not a passthrough bag: three required members and an optional pointer are the whole of it. Producer data that HDF does not model belongs in extensions.passthrough, which is document-scoped and permissive by design; this field is neither.

Closed with additionalProperties rather than the house unevaluatedProperties because this definition composes nothing, and the shipped Go validator is a draft-07 engine that does not implement unevaluatedProperties — a closure only one of the two validators enforces is not a closure.

FieldTypeRequiredDescription
contentstringyesThe source tool's own record for this result, carrying every field the record had.

COMPLETE, NOT NECESSARILY BYTE-EXACT. A producer SHOULD write the record's bytes unchanged where it can. A producer that cannot — notably one implemented in two languages whose JSON serializers disagree on key order, HTML escaping and number rendering, and which therefore MUST canonicalize to stay byte-identical with its twin — MAY write a canonically serialized form instead. Such a form preserves every field and value but not the original key order, insignificant whitespace, or duplicate keys. A consumer MUST therefore compare records by parsing them, not by comparing bytes, and MUST NOT checksum this field and expect the result to match a checksum of the input.

For carriage that IS byte-exact, use extensions.rawSourceArtifacts[], which forbids a parsed document precisely so the bytes and their checksum survive; pointer ties this record to its position within that artifact.
encodingExternal_Reference_EncodingyesHow to read content: 'utf-8' for text, 'base64' for bytes that are not valid UTF-8 text.
mediaTypestringyesThe record's IANA media type — the type of this record, which for a fragment of a larger artifact may be narrower than the artifact's own. Example: 'application/json' for one match object out of a JSON report.
pointerstringnoWhere this record sits inside the artifact it came from, as a JSON Pointer (RFC 6901) for JSON sources or an XPath for XML ones. Example: '/matches/3'.

Optional, and the link that makes carriage verifiable rather than merely present: with it a consumer can confirm the record really is the subtree of extensions.rawSourceArtifacts[] it claims to be. Omit it when the source's shape gives a record no addressable location.
Example
json
{
  "content": "{\"vulnerability\":{\"id\":\"CVE-2022-48174\",\"severity\":\"Critical\"},\"artifact\":{\"name\":\"ssl_client\",\"version\":\"1.31.1-r9\",\"type\":\"apk\"}}",
  "encoding": "utf-8",
  "mediaType": "application/json",
  "pointer": "/matches/3"
}

Requirement_Description ​

A labeled description for a requirement, such as fix text or check instructions.

FieldTypeRequiredDescription
labelstringyesThe type of description. Examples: 'fix', 'check', 'rationale'.
datastringyesThe text of the description.
Example
json
{
  "label": "default",
  "data": "Verify the SSH daemon is configured to only use FIPS-validated key exchange algorithms."
}

Released under the Apache 2.0 License.