-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from ansible-lockdown/v2_dec24_updates
Typos fixed
- Loading branch information
Showing
39 changed files
with
893 additions
and
461 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
--- | ||
|
||
{{ if .Vars.ubtu22cis_level_1 }} | ||
{{ if .Vars.ubtu22cis_rule_1_1_2_1_2 }} | ||
mount: | ||
tmp_options_nodev: | ||
title: 1.1.2.1.2 | Ensure nodev option set on /tmp partition | ||
mountpoint: /tmp | ||
exists: true | ||
opts: | ||
- nodev | ||
meta: | ||
server: 1 | ||
workstation: 1 | ||
CIS_ID: | ||
- 1.1.2.1.2 | ||
CISv8: 3.3 | ||
CISv8_IG1: true | ||
CISv8_IG2: true | ||
CISv8_IG3: true | ||
NIST800-53R5: | ||
- CM-7 | ||
- AC-3 | ||
- MP-2 | ||
file: | ||
tmp_fstab_nodev_options: | ||
title: 1.1.2.1.2 | Ensure nodev option set on /tmp partition | ||
exists: true | ||
path: /etc/fstab | ||
contents: | ||
- '/\s\/tmp.*nodev.*/' | ||
meta: | ||
server: 1 | ||
workstation: 1 | ||
CIS_ID: | ||
- 1.1.2.1.2 | ||
CISv8: 3.3 | ||
CISv8_IG1: true | ||
CISv8_IG2: true | ||
CISv8_IG3: true | ||
NIST800-53R5: | ||
- CM-7 | ||
- AC-3 | ||
- MP-2 | ||
{{ end }} | ||
{{ end }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
--- | ||
|
||
{{ if .Vars.ubtu22cis_level_1 }} | ||
{{ if .Vars.ubtu22cis_rule_1_1_2_1_3 }} | ||
mount: | ||
tmp_nosuid_options: | ||
title: 1.1.2.1.3 | Ensure nosuid option set on /tmp partition | ||
mountpoint: /tmp | ||
exists: true | ||
opts: | ||
- nosuid | ||
meta: | ||
server: 1 | ||
workstation: 1 | ||
CIS_ID: | ||
- 1.1.2.1.3 | ||
CISv8: 3.3 | ||
CISv8_IG1: true | ||
CISv8_IG2: true | ||
CISv8_IG3: true | ||
NIST800-53R5: | ||
- CM-7 | ||
- AC-3 | ||
- MP-2 | ||
file: | ||
tmp_fstab_nosuid_options: | ||
title: 1.1.2.1.3 | Ensure nosuid option set on /tmp partition | ||
exists: true | ||
path: /etc/fstab | ||
contents: | ||
- '/\s\/tmp.*nosuid.*/' | ||
meta: | ||
server: 1 | ||
workstation: 1 | ||
CIS_ID: | ||
- 1.1.2.1.3 | ||
CISv8: 3.3 | ||
CISv8_IG1: true | ||
CISv8_IG2: true | ||
CISv8_IG3: true | ||
NIST800-53R5: | ||
- CM-7 | ||
- AC-3 | ||
- MP-2 | ||
{{ end }} | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
--- | ||
|
||
{{ if .Vars.ubtu22cis_level_1 }} | ||
{{ if .Vars.ubtu22cis_rule_1_1_2_1_4 }} | ||
mount: | ||
tmp_noexec_options: | ||
title: 1.1.2.1.4 | Ensure noexec option set on /tmp partition | ||
mountpoint: /tmp | ||
exists: true | ||
opts: | ||
- noexec | ||
meta: | ||
server: 1 | ||
workstation: 1 | ||
CIS_ID: | ||
- 1.1.2.1.4 | ||
CISv8: 3.3 | ||
CISv8_IG1: true | ||
CISv8_IG2: true | ||
CISv8_IG3: true | ||
NIST800-53R5: | ||
- CM-7 | ||
- AC-3 | ||
- MP-2 | ||
file: | ||
tmp_fstab_noexec_options: | ||
title: 1.1.2.1.4 | Ensure noexec option set on /tmp partition | ||
exists: true | ||
path: /etc/fstab | ||
contents: | ||
- '/\s\/tmp.*noexec.*/' | ||
meta: | ||
server: 1 | ||
workstation: 1 | ||
CIS_ID: | ||
- 1.1.2.1.2 | ||
- 1.1.2.1.3 | ||
- 1.1.2.1.4 | ||
CISv8: 3.3 | ||
CISv8_IG1: true | ||
CISv8_IG2: true | ||
CISv8_IG3: true | ||
NIST800-53R5: | ||
- CM-7 | ||
- AC-3 | ||
- MP-2 | ||
{{ end }} | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
--- | ||
|
||
{{ if .Vars.ubtu22cis_level_1 }} | ||
{{ if .Vars.ubtu22cis_rule_1_1_2_2_2 }} | ||
mount: | ||
dev_shm_nodev_options: | ||
title: 1.1.2.2.2 | Ensure nodev option set on /dev/shm partition | ||
mountpoint: /dev/shm | ||
exists: true | ||
opts: | ||
- nodev | ||
meta: | ||
server: 1 | ||
workstation: 1 | ||
CIS_ID: | ||
- 1.1.2.2.2 | ||
CISv8: 3.3 | ||
CISv8_IG1: true | ||
CISv8_IG2: true | ||
CISv8_IG3: true | ||
NIST800-53R5: | ||
- CM-7 | ||
- AC-3 | ||
- MP-2 | ||
file: | ||
dev_shm_nodev_fstab_options: | ||
title: 1.1.2.2.2 | Ensure nodev option set on /dev/shm partition | ||
exists: true | ||
path: /etc/fstab | ||
contents: | ||
- '/\s\/dev\/shm.*nodev/' | ||
meta: | ||
server: 1 | ||
workstation: 1 | ||
CIS_ID: | ||
- 1.1.2.2.2 | ||
CISv8: 3.3 | ||
CISv8_IG1: true | ||
CISv8_IG2: true | ||
CISv8_IG3: true | ||
NIST800-53R5: | ||
- CM-7 | ||
- AC-3 | ||
- MP-2 | ||
{{ end }} | ||
{{ end }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
--- | ||
|
||
{{ if .Vars.ubtu22cis_level_1 }} | ||
{{ if .Vars.ubtu22cis_rule_1_1_2_2_3 }} | ||
mount: | ||
dev_shm_nosuid_options: | ||
title: 1.1.2.2.3 | Ensure nosuid option set on /dev/shm partition | ||
mountpoint: /dev/shm | ||
exists: true | ||
opts: | ||
- nosuid | ||
meta: | ||
server: 1 | ||
workstation: 1 | ||
CIS_ID: | ||
- 1.1.2.2.3 | ||
CISv8: 3.3 | ||
CISv8_IG1: true | ||
CISv8_IG2: true | ||
CISv8_IG3: true | ||
NIST800-53R5: | ||
- CM-7 | ||
- AC-3 | ||
- MP-2 | ||
file: | ||
dev_shm_nosuid_fstab_options: | ||
title: 1.1.2.2.3 | Ensure nosuid option set on /dev/shm partition | ||
exists: true | ||
path: /etc/fstab | ||
contents: | ||
- '/\s\/dev\/shm.*nosuid.*/' | ||
meta: | ||
server: 1 | ||
workstation: 1 | ||
CIS_ID: | ||
- 1.1.2.2.3 | ||
CISv8: 3.3 | ||
CISv8_IG1: true | ||
CISv8_IG2: true | ||
CISv8_IG3: true | ||
NIST800-53R5: | ||
- CM-7 | ||
- AC-3 | ||
- MP-2 | ||
{{ end }} | ||
{{ end }} |
Oops, something went wrong.