Skip to content

Commit

Permalink
address issue_#44 thanks @layluke
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Bolwell <[email protected]>
  • Loading branch information
uk-bolly committed Sep 30, 2024
1 parent afe456f commit b1c1f24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/Cat2/RHEL-09-23xxxx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1961,7 +1961,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

0 comments on commit b1c1f24

Please sign in to comment.