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.5k 768

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

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

    Ruby 442 133

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

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

    Puppet 288 100

  4. linux-baseline linux-baseline Public

    DevSec Linux Baseline - InSpec Profile

    Ruby 817 192

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

    CIS Docker Benchmark - InSpec Profile

    Ruby 513 118

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

    CIS Kubernetes Benchmark - InSpec Profile

    Ruby 303 79

Repositories

Showing 10 of 51 repositories
  • .github Public
    dev-sec/.github’s past year of commit activity
    2 1 0 0 Updated Jul 23, 2025
  • 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,511 Apache-2.0 768 49 (2 issues need help) 16 Updated Jul 21, 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 288 Apache-2.0 100 14 (1 issue needs help) 5 Updated Jul 17, 2025
  • chef-nginx-hardening Public

    This chef cookbook provides secure nginx configurations.

    dev-sec/chef-nginx-hardening’s past year of commit activity
    Ruby 50 Apache-2.0 15 3 2 Updated Jul 13, 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 0 1 Updated Jul 8, 2025
  • chef-postgres-hardening Public

    This chef cookbook provides security configuration for PostgreSQL.

    dev-sec/chef-postgres-hardening’s past year of commit activity
    Ruby 27 Apache-2.0 9 1 1 Updated Jul 8, 2025
  • chef-ssh-hardening Public

    This chef cookbook provides secure ssh-client and ssh-server configurations.

    dev-sec/chef-ssh-hardening’s past year of commit activity
    Ruby 164 Apache-2.0 70 11 (1 issue needs help) 3 Updated Jul 8, 2025
  • chef-mysql-hardening Public

    This chef cookbook provides security configuration for mysql.

    dev-sec/chef-mysql-hardening’s past year of commit activity
    Ruby 27 Apache-2.0 9 2 2 Updated Jul 8, 2025
  • dev-sec/chef-apache-hardening’s past year of commit activity
    Ruby 25 Apache-2.0 9 3 2 Updated Jul 8, 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 102 42 14 (1 issue needs help) 5 Updated Jul 8, 2025