Skip to content
SAF InSpec Profile DeveloperSAF InSpec Profile Developer
MITRE InSpec Profile Developer Course
Course
Resources
Installation
  • Course

    • Course Overview
      • Starting the Journey
        • Studying an InSpec Profile
          • Exploring the InSpec Shell
            • Writing InSpec Controls
              • Generating InSpec Results
                • Viewing and Analyzing Results
                  • InSpec Examples
                    • Profile Inheritance & Overlays
                      • From STIG to Profile

                      Class Resources

                      May 22, 2022About 1 min

                      On This Page
                      • Code Background & Primers
                        • Ruby Tutorials and Documentation
                        • InSpec Documentation
                        • InSpec Tutorials and Videos
                        • rspec documentation
                      • Codespaces and Git
                        • Learning and Using Git
                        • GitHub Codespaces
                      • Tools and Applications
                      • RHEL8 Baseline 'Stubs'
                        • Generating the Stubs
                      • MITRE SAF InSpec Profiles
                      • DOD STIGs and Benchmarks
                        • DISA STIGs
                        • STIG and SRG Aligned Profiles
                        • CIS Benchmarks and Profiles
                      • Chef Community Slack

                      # Class Resources

                      # Code Background & Primers

                      # Ruby Tutorials and Documentation

                      • https://ruby-for-beginners.rubymonstas.org/open in new window
                      • Ruby Video Tutorialopen in new window

                      # InSpec Documentation

                      • InSpec Docsopen in new window
                      • InSpec Profilesopen in new window
                      • InSpec Resourcesopen in new window
                      • InSpec Matchersopen in new window
                      • InSpec Shellopen in new window
                      • InSpec Reportersopen in new window
                      • InSpec Profile Inheritanceopen in new window

                      # InSpec Tutorials and Videos

                      • Introduction to InSpec Playlistopen in new window
                      • Getting started with InSpec - The InSpec basics seriesopen in new window
                      • Windows infrastructure testing using InSpec – Part Iopen in new window
                      • Windows infrastructure testing using InSpec and Profiles – Part IIopen in new window

                      # rspec documentation

                      • Explicit Subjectopen in new window
                      • should and should_notopen in new window
                      • Built in matchersopen in new window

                      # Codespaces and Git

                      # Learning and Using Git

                      • Git Primer & Introductionopen in new window
                      • Git Command Documentationopen in new window
                      • Create a Pull Requestopen in new window

                      # GitHub Codespaces

                      • GitHub CodeSpaces Video Introductionopen in new window

                      • GitHub Codespaces Overviewopen in new window

                      # Tools and Applications

                      • InSpecopen in new window
                      • SAF CLIopen in new window
                      • CINCopen in new window
                      • VSCodeopen in new window

                      # RHEL8 Baseline 'Stubs'

                      The RHEL8 Baseline Stubs were saf-cli generate command as documented in Section 10 . You can use this as a reference while you develop your controls.

                      # Generating the Stubs

                      To create the RedHat Enterprise Linux 8 STIG Profile stubs, we used the saf-cli generate command:

                      saf generate:xccdf2inspec_stub -i U_RHEL_8_STIG_V1R6_Manual-xccdf.xml -r -o rhel8-baseline-stubs
                      

                      This created a starter profile based of the RHEL8 STIG XCCDF Bechmark

                      • rhel8-baseline-stubs.tar.gzopen in new window

                      # MITRE SAF InSpec Profiles

                      • MITRE InSpec Profile Repositoriesopen in new window

                      # DOD STIGs and Benchmarks

                      # DISA STIGs

                      • DISA Cyber.mil STIG Downlaodsopen in new window

                      # STIG and SRG Aligned Profiles

                      • https://github.com/CMSgov/redhat-enterprise-linux-8-stig-baselineopen in new window

                      • https://github.com/mitre/nginx-srg-baselineopen in new window

                      # CIS Benchmarks and Profiles

                      • Center for Internet Security Benchmarksopen in new window

                      # Chef Community Slack

                      • http://community-slack.chef.io/open in new window
                      Edit this pageopen in new window
                      Last update: 5/23/2022, 1:04:04 AM
                      Contributors: Aaron Lippold
                      Prev
                      MITRE InSpec Profile Developer Course
                      Apache-2.0 | Copyright © 2022 - The MITRE Corporation
                      Copyright © 2022 MITRE SAF Team