Skip to content

HDF Baseline

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

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

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.

Example

json
{
  "name": "ubuntu-2204-stig-baseline",
  "title": "Canonical Ubuntu 22.04 LTS STIG Baseline",
  "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.

amendments/v3.1.0

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. '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.

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 amendment that modifies a requirement's compliance status and/or impact score. At least one of status or impact must be set. Extends the inline Override concept with requirementId and baselineRef for use outside of results documents.

FieldTypeRequiredDescription
typeOverride_TypeyesThe type of amendment.
requirementIdstringyesThe ID of the requirement being amended. Must match a requirement ID in the referenced baseline.
baselineRefstringnoName of the baseline containing the requirement. Required when the system has multiple baselines with potentially overlapping requirement IDs.
statusResult_StatusnoThe new status this amendment sets. Optional when only impact is being overridden.
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.
previousChecksumChecksumnoChecksum of the prior amendment in the chain. Creates a tamper-evident linked list. Null for the first amendment.
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.
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/v3.1.0

Hash_Algorithm

Supported cryptographic hash algorithms for checksums and integrity verification.

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.

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" | "simple" | "other"yesThe type of identifier. Use 'email' for email addresses, 'username' for user accounts, 'system' for automated systems, '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.
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'.
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
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.

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
namestringnoThe name - must be unique.
titlestringnoThe title - should be human readable.
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
idstringnoThe requirement identifier. Example: 'SV-238196'.
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. 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.
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."
    }
  ]
}

Severity

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

Cloud_Provider

Cloud service provider identifier.

extensions/v3.1.0

Status_Override

An intentional change to a requirement's compliance status and/or impact score. At least one of status or impact must be set. Overrides change the effectiveStatus or impact of the requirement. All overrides must have an expiration date to enforce periodic review.

FieldTypeRequiredDescription
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.
impactImpact_OverridenoOverride to the requirement's impact score. At least one of status or impact must be set.
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. Creates a tamper-evident chain of amendments (similar to blockchain). Null for the first amendment on a requirement.
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)noOptional expiration date for this POA&M requiring review/renewal. 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. Creates a tamper-evident chain of amendments (similar to blockchain). Null for 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",
  "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 file format, if it is a recognized named format shared by multiple tools. Examples: 'SARIF', 'XCCDF'. Omit for tool-specific formats where the tool name already implies the format (Nessus XML, gosec JSON).

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/v3.1.0

Input_Type

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

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.

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.

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/v3.1.0

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).

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.
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
}

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.