--- {{ if .Vars.ubtu24cis_level_1 }} {{ if .Vars.ubtu24cis_rule_1_1_2_7_4 }} mount: var_log_audit_noexec_options: title: 1.1.2.7.4 | Ensure noexec option set on /var/log/audit partition mountpoint: '/var/log/audit' exists: true opts: - noexec meta: server: 1 workstation: 1 CIS_ID: - 1.1.2.7.4 CISv8: 3.3 CISv8_IG1: true CISv8_IG2: true CISv8_IG3: true NIST800-53R5: - CM-7 - AC-3 - MP-2 file: var_log_audit_noexec_fstab_options: title: 1.1.2.7.4 | Ensure noexec option set on /var/log/audit partition exists: true path: /etc/fstab contents: - '/\s\/var\/log\/audit\s.*noexec.*/' meta: server: 1 workstation: 1 CIS_ID: - 1.1.2.7.4 CISv8: 3.3 CISv8_IG1: true CISv8_IG2: true CISv8_IG3: true NIST800-53R5: - CM-7 - AC-3 - MP-2 {{ end }} {{ end }}