From 5e4fa4f3289cac4d1828602983eafd1d85e01ef6 Mon Sep 17 00:00:00 2001 From: Plamen Kokanov <35485709+plkokanov@users.noreply.github.com> Date: Wed, 31 Jul 2024 14:12:39 +0300 Subject: [PATCH] Fixes missing line at end of audit rules file (#150) --- .../resources/auditrules/11-privileged-special.rules | 2 +- .../operatingsystemconfig/testdata/11-privileged-special.rules | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/webhook/operatingsystemconfig/resources/auditrules/11-privileged-special.rules b/pkg/webhook/operatingsystemconfig/resources/auditrules/11-privileged-special.rules index 0476e460..b6324c3d 100644 --- a/pkg/webhook/operatingsystemconfig/resources/auditrules/11-privileged-special.rules +++ b/pkg/webhook/operatingsystemconfig/resources/auditrules/11-privileged-special.rules @@ -10,4 +10,4 @@ ## The mount_setattr kernel function is available only linux kernel versions >= 5.12. ## It is specified in a separate rule so that the rule for the system ## calls above can be safely loaded on kernel versions < 5.12. --a exit,always -F arch=b64 -S mount_setattr -F auid!=-1 -F key=privileged_special \ No newline at end of file +-a exit,always -F arch=b64 -S mount_setattr -F auid!=-1 -F key=privileged_special diff --git a/pkg/webhook/operatingsystemconfig/testdata/11-privileged-special.rules b/pkg/webhook/operatingsystemconfig/testdata/11-privileged-special.rules index 0476e460..b6324c3d 100644 --- a/pkg/webhook/operatingsystemconfig/testdata/11-privileged-special.rules +++ b/pkg/webhook/operatingsystemconfig/testdata/11-privileged-special.rules @@ -10,4 +10,4 @@ ## The mount_setattr kernel function is available only linux kernel versions >= 5.12. ## It is specified in a separate rule so that the rule for the system ## calls above can be safely loaded on kernel versions < 5.12. --a exit,always -F arch=b64 -S mount_setattr -F auid!=-1 -F key=privileged_special \ No newline at end of file +-a exit,always -F arch=b64 -S mount_setattr -F auid!=-1 -F key=privileged_special