forked from ansible-lockdown/RHEL9-CIS
task change
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
b347e5dd00
commit
572f14ef6b
1 changed files with 12 additions and 6 deletions
|
|
@ -48,12 +48,18 @@
|
||||||
- patch
|
- patch
|
||||||
- rule_1.3.2
|
- rule_1.3.2
|
||||||
|
|
||||||
- name: "1.3.3 Ensure cryptographic mechanisms are used to protect the integrity of audit tools"
|
- name: "1.3.3 | Ensure cryptographic mechanisms are used to protect the integrity of audit tools"
|
||||||
ansible.builtin.template:
|
ansible.builtin.blockinfile:
|
||||||
src: etc/aide.conf.d/crypt_audit_procs.conf.j2
|
path: /etc/aide.conf
|
||||||
dest: /etc/aide.conf.d/crypt_audit_procs.conf
|
marker: "# {mark} Audit tools (CIS - Ansible)"
|
||||||
owner: root
|
block: |
|
||||||
group: 0640
|
/sbin/auditctl p+i+n+u+g+s+b+acl+xattrs+sha512
|
||||||
|
/sbin/auditd p+i+n+u+g+s+b+acl+xattrs+sha512
|
||||||
|
/sbin/augenrules p+i+n+u+g+s+b+acl+xattrs+sha512
|
||||||
|
/sbin/aureport p+i+n+u+g+s+b+acl+xattrs+sha512
|
||||||
|
/sbin/ausearch p+i+n+u+g+s+b+acl+xattrs+sha512
|
||||||
|
/sbin/autrace p+i+n+u+g+s+b+acl+xattrs+sha512
|
||||||
|
validate: aide -D --config %s
|
||||||
when:
|
when:
|
||||||
- rhel9cis_rule_1_3_2
|
- rhel9cis_rule_1_3_2
|
||||||
- not system_is_ec2
|
- not system_is_ec2
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue