Skip to content

Commit

Permalink
Fix UBTU-20-010267 and deprecate STIGs
Browse files Browse the repository at this point in the history
This commit will fix UBTU-20-010267 by merging the following STIGs due to new STIG rules: UBTU-20-010268, UBTU-20-010270, and UBTU-20-010269.
  • Loading branch information
dexterle committed Aug 3, 2023
1 parent aca37e5 commit 5387b17
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ references:
stigid@ol8: OL08-00-030361
stigid@rhel7: RHEL-07-030910
stigid@rhel8: RHEL-08-030361
stigid@ubuntu2004: UBTU-20-010269
stigid@ubuntu2004: UBTU-20-010267

{{{ complete_ocil_entry_audit_syscall(syscall="rename") }}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ references:
stigid@ol8: OL08-00-030361
stigid@rhel7: RHEL-07-030910
stigid@rhel8: RHEL-08-030361
stigid@ubuntu2004: UBTU-20-010270
stigid@ubuntu2004: UBTU-20-010267

{{{ complete_ocil_entry_audit_syscall(syscall="renameat") }}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ references:
stigid@ol8: OL08-00-030361
stigid@rhel7: RHEL-07-030910
stigid@rhel8: RHEL-08-030361
stigid@ubuntu2004: UBTU-20-010267

{{{ complete_ocil_entry_audit_syscall(syscall="rmdir") }}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ references:
stigid@ol8: OL08-00-030361
stigid@rhel7: RHEL-07-030910
stigid@rhel8: RHEL-08-030361
stigid@ubuntu2004: UBTU-20-010268
stigid@ubuntu2004: UBTU-20-010267

{{{ complete_ocil_entry_audit_syscall(syscall="unlinkat") }}}

Expand Down
11 changes: 3 additions & 8 deletions products/ubuntu2004/profiles/stig.profile
Original file line number Diff line number Diff line change
Expand Up @@ -390,15 +390,10 @@ selections:

# UBTU-20-010267 The Ubuntu operating system must generate audit records for any successful/unsuccessful use of unlink system call.
- audit_rules_file_deletion_events_unlink

# UBTU-20-010268 The Ubuntu operating system must generate audit records for any successful/unsuccessful use of unlinkat system call.
- audit_rules_file_deletion_events_unlinkat

# UBTU-20-010269 The Ubuntu operating system must generate audit records for any successful/unsuccessful use of rename system call.
- audit_rules_file_deletion_events_rename

# UBTU-20-010270 The Ubuntu operating system must generate audit records for any successful/unsuccessful use of renameat system call.
- audit_rules_file_deletion_events_rmdir
- audit_rules_file_deletion_events_renameat
- audit_rules_file_deletion_events_rename
- audit_rules_file_deletion_events_unlinkat

# UBTU-20-010276 The Ubuntu operating system must generate audit records when loading dynamic kernel modules.

Expand Down

0 comments on commit 5387b17

Please sign in to comment.