Skip to content

Commit

Permalink
Merge pull request #45 from ansible-lockdown/sept30_24
Browse files Browse the repository at this point in the history
Sept30 24
  • Loading branch information
uk-bolly authored Oct 3, 2024
2 parents e6ec0da + ff93186 commit 8474963
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Ubuntu22CIS
# RHEL9STIG

## 1.2.1 Based on STIG V1R2 Jan24 2024

Expand Down
2 changes: 1 addition & 1 deletion tasks/Cat2/RHEL-09-23xxxx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1958,7 +1958,7 @@
warn_control_id: "MEDIUM | RHEL-09-232260"
block:
- name: "MEDIUM | RHEL-09-232260 | AUDIT | RHEL 9 must be configured so that all system device files are correctly labeled to prevent unauthorized modification. | / scan"
ansible.builtin.shell: find / -context *:unlabeled_t:* \( -type c -o -type b \) -printf "%p %Z"
ansible.builtin.shell: find /dev -context *:unlabeled_t:* \( -type c -o -type b \) -printf "%p %Z" | grep -v 'vmci'
changed_when: false
failed_when: rhel9stig_unlabelled_files.rc not in [ 0, 1 ]
register: rhel9stig_unlabelled_files
Expand Down
2 changes: 1 addition & 1 deletion tasks/post_remediation_audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
- audit_format == "documentation"
block:
- name: Post Audit | Capture audit data if documentation format
ansible.builtin.shell: "tail -2 /opt/audit_ubuntu2204-CIS-UBUNTU22_1720624848.documentation"
ansible.builtin.shell: "tail -2 {{ post_audit_outfile }}"
register: post_audit_summary
changed_when: false

Expand Down

0 comments on commit 8474963

Please sign in to comment.