Skip to content
@dev-sec

DevSec Hardening Framework

Security + DevOps: Automatic Server Hardening

DevSec Hardening Framework

banner

Challenge

Running secure infrastructure is a difficult task. Although server hardening is a well-known topic with many guides out in the wild, it is still very cumbersome to apply and verify secure configuration. If you manage many server, they need to be configured properly and maintained, which is difficult and time-consuming to get right. To answer these needs for security, compliance, and maintainability, we decided to launch this project as a common ground for requirements and their fulfillment.

Vision / Goal

Our goal is simple: Create a common layer for operating system and services hardening. Even if you aren’t knee-deep in configuration manuals for services or the latest security recommendations, you will be able to implement and use this framework with ease.

Pinned Loading

  1. ansible-collection-hardening ansible-collection-hardening Public

    This Ansible collection provides battle tested hardening for Linux, SSH, nginx, MySQL

    Jinja 4.6k 777

  2. chef-os-hardening chef-os-hardening Public

    This chef cookbook provides numerous security-related configurations, providing all-round base protection.

    Ruby 445 133

  3. puppet-os-hardening puppet-os-hardening Public

    This puppet module provides numerous security-related configurations, providing all-round base protection.

    Puppet 287 100

  4. linux-baseline linux-baseline Public

    DevSec Linux Baseline - InSpec Profile

    Ruby 826 192

  5. cis-docker-benchmark cis-docker-benchmark Public

    CIS Docker Benchmark - InSpec Profile

    Ruby 520 119

  6. cis-kubernetes-benchmark cis-kubernetes-benchmark Public

    CIS Kubernetes Benchmark - InSpec Profile

    Ruby 306 79

Repositories

Showing 10 of 51 repositories
  • ansible-collection-hardening Public

    This Ansible collection provides battle tested hardening for Linux, SSH, nginx, MySQL

    dev-sec/ansible-collection-hardening’s past year of commit activity
    Jinja 4,620 Apache-2.0 777 52 (2 issues need help) 19 Updated Oct 22, 2025
  • puppet-apache-hardening Public

    Apache Web Server Hardening with Puppet

    dev-sec/puppet-apache-hardening’s past year of commit activity
    HTML 16 10 1 2 Updated Oct 22, 2025
  • hardening Public

    DevSec Examples

    dev-sec/hardening’s past year of commit activity
    Ruby 347 Apache-2.0 45 1 4 Updated Oct 16, 2025
  • chef-windows-hardening Public

    This chef cookbook provides windows hardening configurations for the DevSec Windows baseline profile.

    dev-sec/chef-windows-hardening’s past year of commit activity
    Ruby 104 42 14 (1 issue needs help) 5 Updated Oct 16, 2025
  • dev-sec/chef-apache-hardening’s past year of commit activity
    Ruby 25 Apache-2.0 9 3 2 Updated Oct 16, 2025
  • .github Public
    dev-sec/.github’s past year of commit activity
    2 1 1 2 Updated Oct 12, 2025
  • pam-tester Public
    dev-sec/pam-tester’s past year of commit activity
    Python 8 1 1 6 Updated Oct 12, 2025
  • puppet-os-hardening Public

    This puppet module provides numerous security-related configurations, providing all-round base protection.

    dev-sec/puppet-os-hardening’s past year of commit activity
    Puppet 287 Apache-2.0 100 14 (1 issue needs help) 8 Updated Oct 9, 2025
  • chef-nginx-hardening Public

    This chef cookbook provides secure nginx configurations.

    dev-sec/chef-nginx-hardening’s past year of commit activity
    Ruby 48 Apache-2.0 15 3 2 Updated Oct 8, 2025
  • cnspec-collection-baselines Public

    DevSec Security Baselines provide battle tested hardening checks for Linux, SSH, nginx, MySQL in cnspec

    dev-sec/cnspec-collection-baselines’s past year of commit activity
    5 Apache-2.0 1 1 3 Updated Oct 7, 2025