# Class Resources
# Code Background & Primers
# Ruby Tutorials and Documentation
- https://ruby-for-beginners.rubymonstas.org/ (opens new window)
- Ruby Video Tutorial (opens new window)
# InSpec Documentation
- InSpec Docs (opens new window)
- InSpec Profiles (opens new window)
- InSpec Resources (opens new window)
- InSpec Matchers (opens new window)
- InSpec Shell (opens new window)
- InSpec Reporters (opens new window)
- InSpec Profile Inheritance (opens new window)
# InSpec Tutorials and Videos
- Introduction to InSpec Playlist (opens new window)
- Getting started with InSpec - The InSpec basics series (opens new window)
- Windows infrastructure testing using InSpec – Part I (opens new window)
- Windows infrastructure testing using InSpec and Profiles – Part II (opens new window)
# rspec documentation
- Explicit Subject (opens new window)
- should and should_not (opens new window)
- Built in matchers (opens new window)
# Codespaces and Git
# Learning and Using Git
- Git Primer & Introduction (opens new window)
- Git Command Documentation (opens new window)
- Create a Pull Request (opens new window)
# GitHub Codespaces
# Tools and Applications
- InSpec (opens new window)
- SAF CLI (opens new window)
- CINC (opens new window)
- VSCode (opens 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
1
This created a starter profile based of the RHEL8 STIG XCCDF Bechmark
# MITRE SAF InSpec Profiles
# DOD STIGs and Benchmarks
# DISA STIGs
# STIG and SRG Aligned Profiles
https://github.com/CMSgov/redhat-enterprise-linux-8-stig-baseline (opens new window)
https://github.com/mitre/nginx-srg-baseline (opens new window)