Skip to content

Commit

Permalink
1.4.2 Add config path to aide.wrapper cronjob as suggested for CIS co…
Browse files Browse the repository at this point in the history
…mpliance (#67)

* 1.4.2 Add config path to aide.wrapper conf as suggested for CIS compliance.
* 1.5.1 Set /boot/grub/grub.cfg to permission 0400
  • Loading branch information
JimKlapwijk authored Jun 6, 2020
1 parent 6c37e06 commit 4a06bcf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ ubuntu1804cis_config_aide: true
ubuntu1804cis_aide_cron:
cron_user: root
cron_file: /etc/crontab
aide_job: '/usr/bin/aide.wrapper --check'
aide_job: '/usr/bin/aide.wrapper --config /etc/aide/aide.conf --check'
aide_minute: 0
aide_hour: 5
aide_day: '*'
Expand Down
2 changes: 1 addition & 1 deletion tasks/section1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@
path: "/boot/grub/grub.cfg"
owner: root
group: root
mode: 0600
mode: 0400
when:
- ansible_os_family == "Debian"
- ubuntu1804cis_rule_1_5_1
Expand Down

0 comments on commit 4a06bcf

Please sign in to comment.