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.7k 783

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

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

    Ruby 447 133

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

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

    Puppet 288 101

  4. linux-baseline linux-baseline Public

    DevSec Linux Baseline - InSpec Profile

    Ruby 834 192

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

    CIS Docker Benchmark - InSpec Profile

    Ruby 522 119

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

    CIS Kubernetes Benchmark - InSpec Profile

    Ruby 307 79

Repositories

Showing 10 of 51 repositories
  • .github Public
    dev-sec/.github’s past year of commit activity
    3 1 1 2 Updated Nov 22, 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,661 Apache-2.0 783 52 (2 issues need help) 20 Updated Nov 20, 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 101 14 (1 issue needs help) 8 Updated Nov 20, 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 Nov 20, 2025
  • dev-sec.github.io Public

    project website

    dev-sec/dev-sec.github.io’s past year of commit activity
    SCSS 19 Apache-2.0 16 6 (1 issue needs help) 4 Updated Nov 20, 2025
  • pam-tester Public
    dev-sec/pam-tester’s past year of commit activity
    Python 8 1 1 6 Updated Nov 20, 2025
  • docker-ansible Public

    Docker containers that include ansible latest stable 2.x version.

    dev-sec/docker-ansible’s past year of commit activity
    Dockerfile 27 GPL-3.0 16 4 3 Updated Nov 20, 2025
  • chef-os-hardening Public

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

    dev-sec/chef-os-hardening’s past year of commit activity
    Ruby 447 Apache-2.0 133 8 (2 issues need help) 8 Updated Nov 20, 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 Nov 18, 2025
  • hardening Public

    DevSec Examples

    dev-sec/hardening’s past year of commit activity
    Ruby 347 Apache-2.0 45 1 4 Updated Nov 18, 2025