Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
marcofortina committed Apr 26, 2024
1 parent 7b83304 commit e489309
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 4 deletions.
17 changes: 16 additions & 1 deletion product_properties/10-aide-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,22 @@ default:
aide_also_checks_audispd: "no"

overrides:
{{% if "rhel-like" not in families %}}
{{% if "debian-like" in families %}}
aide_also_checks_rsyslog: "no"
{{% if "debian" in families %}}
{{% if major_version_ordinal <= 10 %}}
aide_also_checks_audispd: "yes"
{{% else %}}
aide_also_checks_audispd: "no"
{{% endif %}}
{{% elif "ubuntu" in families %}}
{{% if major_version_ordinal <= 2004 %}}
aide_also_checks_audispd: "yes"
{{% else %}}
aide_also_checks_audispd: "no"
{{% endif %}}
{{% endif %}}
{{% elif "rhel-like" not in families %}}
aide_also_checks_rsyslog: "no"
aide_also_checks_audispd: "yes"
{{% endif %}}
2 changes: 1 addition & 1 deletion tests/data/product_stability/debian11.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
aide_also_checks_audispd: 'yes'
aide_also_checks_audispd: 'no'
aide_also_checks_rsyslog: 'no'
aide_bin_path: /usr/sbin/aide
aide_conf_path: /etc/aide.conf
Expand Down
2 changes: 1 addition & 1 deletion tests/data/product_stability/debian12.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
aide_also_checks_audispd: 'yes'
aide_also_checks_audispd: 'no'
aide_also_checks_rsyslog: 'no'
aide_bin_path: /usr/sbin/aide
aide_conf_path: /etc/aide.conf
Expand Down
2 changes: 1 addition & 1 deletion tests/data/product_stability/ubuntu2204.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
aide_also_checks_audispd: 'yes'
aide_also_checks_audispd: 'no'
aide_also_checks_rsyslog: 'no'
aide_bin_path: /usr/bin/aide
aide_conf_path: /etc/aide/aide.conf
Expand Down

0 comments on commit e489309

Please sign in to comment.