File tree 5 files changed +15
-12
lines changed
5 files changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -36,18 +36,22 @@ cis_sshd_config_filename: "/etc/ssh/sshd_config"
36
36
# Check specific values which can be overridden
37
37
# ##############################################
38
38
# Section 1
39
- cis_partition_dev_val_log : " /dev/xvda2"
40
- cis_partition_mnt_val_log : " /var/log"
41
- cis_partition_fs_val_log : " ext4"
39
+ cis_partition_dev_var_log : " /dev/xvda2"
40
+ cis_partition_mnt_var_log : " /var/log"
41
+ cis_partition_fs_var_log : " ext4"
42
42
43
- cis_partition_dev_val_log_audit : " /dev/xvda3"
44
- cis_partition_mnt_val_log_audit : " /var/log/audit"
45
- cis_partition_fs_val_log_audit : " ext4"
43
+ cis_partition_dev_var_log_audit : " /dev/xvda3"
44
+ cis_partition_mnt_var_log_audit : " /var/log/audit"
45
+ cis_partition_fs_var_log_audit : " ext4"
46
46
47
47
cis_partition_dev_home : " /dev/xvda4"
48
48
cis_partition_mnt_home : " /home"
49
49
cis_partition_fs_home : " ext4"
50
50
51
+ cis_partition_dev_var : " /dev/xvda5"
52
+ cis_partition_mnt_var : " /var"
53
+ cis_partition_fs_var : " ext4"
54
+
51
55
cis_aide_database_filename : " /var/lib/aide/aide.db.gz"
52
56
cis_aide_src_database_filename : " /var/lib/aide/aide.db.new.gz"
53
57
Original file line number Diff line number Diff line change 10
10
fstype : " {{item.fstype}}"
11
11
src : " {{item.device}}"
12
12
with_items :
13
- - { mountpoint: "{{cis_partition_mnt_val_log }}", device: "{{cis_partition_dev_val_log }}", fstype: "{{cis_partition_fs_val_log }}" }
13
+ - { mountpoint: "{{cis_partition_mnt_var_log }}", device: "{{cis_partition_dev_var_log }}", fstype: "{{cis_partition_fs_var_log }}" }
14
14
tags :
15
15
- level-1
16
16
- section-1
Original file line number Diff line number Diff line change 10
10
fstype : " {{item.fstype}}"
11
11
src : " {{item.device}}"
12
12
with_items :
13
- - { mountpoint: "{{cis_partition_mnt_val_log_audit }}", device: "{{cis_partition_dev_val_log_audit }}", fstype: "{{cis_partition_fs_val_log_audit }}" }
13
+ - { mountpoint: "{{cis_partition_mnt_var_log_audit }}", device: "{{cis_partition_dev_var_log_audit }}", fstype: "{{cis_partition_fs_var_log_audit }}" }
14
14
tags :
15
15
- level-1
16
16
- section-1
Original file line number Diff line number Diff line change 1
1
# Standards: 0.11
2
2
---
3
3
4
- # 1.1.12 Ensure separate partition exists for /home (Scored)
4
+ # 1.1.13 Ensure separate partition exists for /home (Scored)
5
5
6
- - name : 1.1.12 Ensure separate partition exists for /home (Scored)
6
+ - name : 1.1.13 Ensure separate partition exists for /home (Scored)
7
7
mount :
8
8
name : " {{ item.mountpoint }}"
9
9
state : present
Original file line number Diff line number Diff line change 9
9
state : present
10
10
fstype : " {{item.fstype}}"
11
11
src : " {{item.device}}"
12
- opts : " {{item.opts}}"
13
12
with_items :
14
- - " {{ fs_mounts | selectattr(' mountpoint', 'equalto', '/var') | list }}"
13
+ - { mountpoint: "{{cis_partition_mnt_var}}", device: "{{cis_partition_dev_var}}", fstype: "{{cis_partition_fs_var }}" }
15
14
tags :
16
15
- level-1
17
16
- section-1
You can’t perform that action at this time.
0 commit comments