Skip to content

Inspec Profiles

This project is a collection of Chef Inspec profiles for use in other sommerfeld-io projects.

Profile linux-essentials

The linux-essentials profile ensures all physical and virtual machines, as well as Docker images, comply with the same foundational set of rules.

Add a dependency to your inspec.yml file:

---
name: my-inspec
title: my-inspec profile
maintainer: Sebastian Sommerfeld
copyright: sommerfeld.io
copyright_email: sebastian@sommerfeld.io
license: MIT
summary: my-inspec profile to run some checks
version: 0.1.0
supports:
  platform: os
depends:
  - name: linux-essentials
    git: https://github.com/sommerfeld-io/inspec-profiles.git
    branch: main
    # tag: v0.0.2
    relative_path: profiles/linux-essentials

Call the profile from a control file (e.g., some-control.rb):

title "Checks for some basic stuff"

include_controls 'linux-essentials' do
end

Contact

Feel free to contact me via sebastian@sommerfeld.io or raise an issue in this repository.