Skip to content

Commit

Permalink
change control files to add the new rule
Browse files Browse the repository at this point in the history
  • Loading branch information
vojtapolasek committed Jan 16, 2025
1 parent b36d3e5 commit 830dc2c
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 1 deletion.
4 changes: 4 additions & 0 deletions controls/anssi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1517,7 +1517,11 @@ controls:
- audit_rules_time_stime
- audit_rules_time_watch_localtime

{{% if product == "rhel10" %}}
- audit_rules_mac_modification_etc_selinux
{{% else %}}
- audit_rules_mac_modification
{{% endif %}}

- audit_rules_networkconfig_modification

Expand Down
2 changes: 1 addition & 1 deletion controls/cis_rhel10.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2650,7 +2650,7 @@ controls:
- l2_workstation
status: automated
rules:
- audit_rules_mac_modification
- audit_rules_mac_modification_etc_selinux
- audit_rules_mac_modification_usr_share

- id: 6.3.3.15
Expand Down
28 changes: 28 additions & 0 deletions controls/hipaa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,11 @@ controls:
- audit_rules_privileged_commands_unix_chkpwd
- audit_rules_privileged_commands_userhelper
- audit_rules_immutable
{{% if product == "rhel10" %}}
- audit_rules_mac_modification_etc_selinux
{{% else %}}
- audit_rules_mac_modification
{{% endif %}}
- audit_rules_mac_modification_usr_share
- audit_rules_media_export
- audit_rules_networkconfig_modification
Expand Down Expand Up @@ -277,7 +281,11 @@ controls:
- audit_rules_privileged_commands_unix_chkpwd
- audit_rules_privileged_commands_userhelper
- audit_rules_immutable
{{% if product == "rhel10" %}}
- audit_rules_mac_modification_etc_selinux
{{% else %}}
- audit_rules_mac_modification
{{% endif %}}
- audit_rules_mac_modification_usr_share
- audit_rules_media_export
- audit_rules_networkconfig_modification
Expand Down Expand Up @@ -469,7 +477,11 @@ controls:
- audit_rules_privileged_commands_unix_chkpwd
- audit_rules_privileged_commands_userhelper
- audit_rules_immutable
{{% if product == "rhel10" %}}
- audit_rules_mac_modification_etc_selinux
{{% else %}}
- audit_rules_mac_modification
{{% endif %}}
- audit_rules_mac_modification_usr_share
- audit_rules_media_export
- audit_rules_networkconfig_modification
Expand Down Expand Up @@ -1199,7 +1211,11 @@ controls:
- audit_rules_privileged_commands_unix_chkpwd
- audit_rules_privileged_commands_userhelper
- audit_rules_immutable
{{% if product == "rhel10" %}}
- audit_rules_mac_modification_etc_selinux
{{% else %}}
- audit_rules_mac_modification
{{% endif %}}
- audit_rules_mac_modification_usr_share
- audit_rules_media_export
- audit_rules_networkconfig_modification
Expand Down Expand Up @@ -1335,7 +1351,11 @@ controls:
- audit_rules_privileged_commands_unix_chkpwd
- audit_rules_privileged_commands_userhelper
- audit_rules_immutable
{{% if product == "rhel10" %}}
- audit_rules_mac_modification_etc_selinux
{{% else %}}
- audit_rules_mac_modification
{{% endif %}}
- audit_rules_mac_modification_usr_share
- audit_rules_media_export
- audit_rules_networkconfig_modification
Expand Down Expand Up @@ -1498,7 +1518,11 @@ controls:
- audit_rules_privileged_commands_unix_chkpwd
- audit_rules_privileged_commands_userhelper
- audit_rules_immutable
{{% if product == "rhel10" %}}
- audit_rules_mac_modification_etc_selinux
{{% else %}}
- audit_rules_mac_modification
{{% endif %}}
- audit_rules_mac_modification_usr_share
- audit_rules_media_export
- audit_rules_networkconfig_modification
Expand Down Expand Up @@ -1592,7 +1616,11 @@ controls:
- audit_rules_privileged_commands_unix_chkpwd
- audit_rules_privileged_commands_userhelper
- audit_rules_immutable
{{% if product == "rhel10" %}}
- audit_rules_mac_modification_etc_selinux
{{% else %}}
- audit_rules_mac_modification
{{% endif %}}
- audit_rules_mac_modification_usr_share
- audit_rules_media_export
- audit_rules_networkconfig_modification
Expand Down
4 changes: 4 additions & 0 deletions controls/pcidss_4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2859,7 +2859,11 @@ controls:
- base
status: automated
rules:
{{% if product == "rhel10" %}}
- audit_rules_mac_modification_etc_selinux
{{% else %}}
- audit_rules_mac_modification
{{% endif %}}
- audit_rules_dac_modification_chmod
- audit_rules_dac_modification_chown
- audit_rules_dac_modification_fchmod
Expand Down

0 comments on commit 830dc2c

Please sign in to comment.