• Stars
    star
    315
  • Rank 130,030 (Top 3 %)
  • Language
    Ruby
  • License
    Apache License 2.0
  • Created about 10 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

DevSec Examples

DevOps Server Hardening

The Hardening Framework combines DevOps with Security. It implements hardening for Puppet, Chef and Ansible.

One of the main goals for the Hardening Framework it to provide security as a plug-in mechanism. All modules are implemented as overlay modules and work in conjunction with the corresponding open source module like apache or nginx. This enables you to drop in hardening for your staging and production environments and reuse existing developments.

Components

The framework consists of multiple hardening components:

Most components are implemented in Ansible, Chef and Puppet.

Layout

This repository contains examples and tools to harden your server. A subfolder for each DevOps tool exists and a readme guides you accordingly:

├── LICENSE
├── README.md
├── ansible-linux
├── chef-linux
└── puppet

License and Author

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

More Repositories

1

ansible-collection-hardening

This Ansible collection provides battle tested hardening for Linux, SSH, nginx, MySQL
Jinja
3,728
star
2

ansible-ssh-hardening

This Ansible role provides numerous security-related ssh configurations, providing all-round base protection.
HTML
773
star
3

linux-baseline

DevSec Linux Baseline - InSpec Profile
Ruby
762
star
4

cis-docker-benchmark

CIS Docker Benchmark - InSpec Profile
Ruby
476
star
5

chef-os-hardening

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

cis-kubernetes-benchmark

CIS Kubernetes Benchmark - InSpec Profile
Ruby
291
star
7

puppet-os-hardening

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

ssh-baseline

DevSec SSH Baseline - InSpec Profile
Ruby
274
star
9

windows-baseline

DevSec Windows Baseline - InSpec Profile
Ruby
215
star
10

ansible-nginx-hardening

This Ansible role provides secure nginx configurations.
Ruby
186
star
11

chef-ssh-hardening

This chef cookbook provides secure ssh-client and ssh-server configurations.
Ruby
156
star
12

ansible-windows-hardening

This Ansible role provides windows hardening configurations for the DevSec Windows baseline profile.
Ruby
145
star
13

cis-dil-benchmark

CIS Distribution Independent Linux Benchmark - InSpec Profile
Ruby
144
star
14

ansible-mysql-hardening

This Ansible role provides security configuration for MySQL.
Ruby
139
star
15

nginx-baseline

DevSec Nginx Baseline - InSpec Profile
Ruby
103
star
16

chef-windows-hardening

This chef cookbook provides windows hardening configurations for the DevSec Windows baseline profile.
Ruby
96
star
17

linux-patch-baseline

DevSec Linux Patch Baseline - InSpec Profile
Ruby
85
star
18

ssl-baseline

DevSec SSL/TLS Baseline - InSpec Profile
Ruby
66
star
19

puppet-ssh-hardening

This puppet module provides secure ssh-client and ssh-server configurations.
Ruby
59
star
20

mysql-baseline

DevSec MySQL Baseline - InSpec Profile
Ruby
58
star
21

postgres-baseline

DevSec PostgreSQL Baseline - InSpec Profile
Ruby
51
star
22

chef-nginx-hardening

This chef cookbook provides secure nginx configurations.
Ruby
50
star
23

windows-patch-baseline

DevSec Windows Patch Baseline - InSpec Profile
Ruby
47
star
24

apache-baseline

DevSec Apache Baseline - InSpec Profile
Ruby
38
star
25

ansible-apache-hardening

HTML
36
star
26

example-puppet-hardening

â›” DEPRECATED
Dockerfile
34
star
27

chef-postgres-hardening

This chef cookbook provides security configuration for PostgreSQL.
Ruby
27
star
28

chef-mysql-hardening

This chef cookbook provides security configuration for mysql.
Ruby
26
star
29

php-baseline

DevSec PHP baseline - InSpec Profile
Ruby
26
star
30

chef-apache-hardening

Ruby
25
star
31

puppet-nginx-hardening

Nginx Web Server Hardening with Puppet
Puppet
23
star
32

docker-ansible

Docker containers that include ansible latest stable 2.x version.
Dockerfile
22
star
33

openstack-baseline

Use InSpec to run through the configurations from the OpenStack Security Guide.
Ruby
18
star
34

puppet-mysql-hardening

MySql Server Hardening with Puppet
Puppet
18
star
35

dev-sec.github.io

project website
SCSS
18
star
36

chef-jenkins-hardening

â›” DEPRECATED: A secure jenkins installation
Ruby
17
star
37

puppet-apache-hardening

Apache Web Server Hardening with Puppet
HTML
15
star
38

docs

â›” DEPRECATED, migrated to dev-sec/dev-sec.github.io
12
star
39

puppet-postgres-hardening

Postgres Web Server Hardening with Puppet
Puppet
11
star
40

patcher

â›” DEPRECATED: CLI to extract patches from InSpec report
Ruby
7
star
41

blog

â›” DEPRECATED, migrated to dev-sec/dev-sec.github.io
HTML
6
star
42

pam-tester

Python
5
star
43

puppet-hardening-stdlib

Shared functions for puppet hardening.
Ruby
4
star
44

chef-percona-hardening

â›” DEPRECATED: Security Configuration for Percona
Ruby
4
star
45

chef-linux-patch

â›” DEPRECATED: Update Linux packages according to InSpec linux-patch-baseline output
Ruby
4
star
46

cnspec-collection-baselines

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

git-contributors

Get contributors of your git repos.
Ruby
3
star
48

.github

1
star