Baseline File Layout
A baseline file is a YAML document that defines which security rules apply to a specific compliance framework. Understanding the structure helps you customize baselines or create your own.
File Structure Overview
Section titled “File Structure Overview”| Field | Purpose |
|---|---|
title | Human-readable name for the baseline |
description | Brief summary of the baseline’s purpose |
authors | List of contributors and their organizations |
parent_values | Default configuration level for organization-defined values |
profile | Sections and rules that make up the baseline |
Field Details
Section titled “Field Details”The display name shown in generated documentation.
title: "macOS 15 (Sequoia): NIST 800-53r5 Moderate"description
Section titled “description”A summary that appears at the top of generated guides. Use the | character for multi-line text.
description: | This guide describes the actions to take when securing a macOS 15 system against the NIST 800-53 Rev 5 Moderate baseline.authors
Section titled “authors”Contributors listed in AsciiDoc table format. This appears in generated documentation.
authors: | |=== |Name|Organization |John Smith|NIST |Jane Doe|NASA |===parent_values
Section titled “parent_values”Sets the default configuration level for organization-defined values (ODVs). Common values include recommended, cis_lvl1, or cis_lvl2.
parent_values: "recommended"profile
Section titled “profile”The core of the baseline. Organizes rules into sections for the generated documentation.
- section - Category name (matches files in the
sections/folder) - rules - List of rule IDs (matches files in the
rules/folder)
profile: - section: "Authentication" rules: - auth_pam_login_smartcard_enforce - auth_pam_su_smartcard_enforce - auth_smartcard_allow - section: "Auditing" rules: - audit_acls_files_configure - audit_acls_files_mode_configureComplete Example
Section titled “Complete Example”title: "macOS 15 (Sequoia): NIST 800-53r5 Moderate"description: | This guide describes the actions to take when securing a macOS 15 system against the NIST 800-53 Rev 5 Moderate baseline.authors: | |=== |Name|Organization |John Smith|NIST |Jane Doe|NASA |===parent_values: "recommended"profile: - section: "Authentication" rules: - auth_pam_login_smartcard_enforce - auth_pam_su_smartcard_enforce - auth_smartcard_allow - section: "Auditing" rules: - audit_acls_files_configure - audit_acls_files_mode_configure - section: "System Settings" rules: - system_settings_firewall_enable - system_settings_gatekeeper_enableNext Steps
Section titled “Next Steps”- How to Generate Baselines - Create a baseline from a framework
- Tailoring a Baseline - Customize rules and values
- What Are Rules - Understand the rules that baselines reference