-
Notifications
You must be signed in to change notification settings - Fork 712
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use shared remediations for non-template applicable OS's
This commit will remove specific remediations for sle15 and sle12 to adopt shared remediations. This is necessary for the following OS's because the supplied template within rule.yml is not applicable.
- Loading branch information
Showing
11 changed files
with
12 additions
and
204 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
...e_rules/audit_privileged_commands/audit_rules_privileged_commands_kmod/ansible/shared.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# platform = multi_platform_sle,multi_platform_ubuntu | ||
# reboot = false | ||
# strategy = restrict | ||
# complexity = low | ||
# disruption = low | ||
|
||
{{{ ansible_audit_augenrules_add_watch_rule(path='/usr/bin/kmod', permissions='x', key='modules') }}} | ||
{{{ ansible_audit_auditctl_add_watch_rule(path='/usr/bin/kmod', permissions='x', key='modules') }}} |
51 changes: 0 additions & 51 deletions
51
...re_rules/audit_privileged_commands/audit_rules_privileged_commands_kmod/ansible/sle12.yml
This file was deleted.
Oops, something went wrong.
51 changes: 0 additions & 51 deletions
51
...re_rules/audit_privileged_commands/audit_rules_privileged_commands_kmod/ansible/sle15.yml
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
...les/audit_privileged_commands/audit_rules_privileged_commands_kmod/ansible/ubuntu2004.yml
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...es_privileged_commands_kmod/bash/sle15.sh → ...s_privileged_commands_kmod/bash/shared.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
...figure_rules/audit_privileged_commands/audit_rules_privileged_commands_kmod/bash/sle12.sh
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
...e_rules/audit_privileged_commands/audit_rules_privileged_commands_kmod/bash/ubuntu2004.sh
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 0 additions & 39 deletions
39
...igure_rules/audit_privileged_commands/audit_rules_privileged_commands_kmod/oval/sle12.xml
This file was deleted.
Oops, something went wrong.
39 changes: 0 additions & 39 deletions
39
...igure_rules/audit_privileged_commands/audit_rules_privileged_commands_kmod/oval/sle15.xml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters