From 21657d7c2e54fe66288aee504c39f006c25dcd4a Mon Sep 17 00:00:00 2001 From: Matthew Burket Date: Thu, 22 Feb 2024 10:39:29 -0600 Subject: [PATCH] Add platform machine to systctl.d rules --- .../directory_groupowner_etc_sysctld/rule.yml | 2 ++ .../directory_owner_etc_sysctld/rule.yml | 2 ++ .../directory_permissions_etc_sysctld/rule.yml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/linux_os/guide/system/permissions/files/permissions_within_important_dirs/directory_groupowner_etc_sysctld/rule.yml b/linux_os/guide/system/permissions/files/permissions_within_important_dirs/directory_groupowner_etc_sysctld/rule.yml index fbf22a1f90b..406d08f8f23 100644 --- a/linux_os/guide/system/permissions/files/permissions_within_important_dirs/directory_groupowner_etc_sysctld/rule.yml +++ b/linux_os/guide/system/permissions/files/permissions_within_important_dirs/directory_groupowner_etc_sysctld/rule.yml @@ -26,6 +26,8 @@ fixtext: '{{{ fixtext_file_group_owner(file="/etc/sysctl.d", group="root") }}}' srg_requirement: '{{{ srg_requirement_file_group_owner(file="/etc/sysctl.d", group="root") }}}' +platform: machine + template: name: file_groupowner vars: diff --git a/linux_os/guide/system/permissions/files/permissions_within_important_dirs/directory_owner_etc_sysctld/rule.yml b/linux_os/guide/system/permissions/files/permissions_within_important_dirs/directory_owner_etc_sysctld/rule.yml index 8e08544e56e..031fb6d616a 100644 --- a/linux_os/guide/system/permissions/files/permissions_within_important_dirs/directory_owner_etc_sysctld/rule.yml +++ b/linux_os/guide/system/permissions/files/permissions_within_important_dirs/directory_owner_etc_sysctld/rule.yml @@ -26,6 +26,8 @@ fixtext: '{{{ fixtext_file_owner(file="/etc/sysctl.d", owner="root") }}}' srg_requirement: '{{{ srg_requirement_file_owner(file="/etc/sysctl.d", owner="root") }}}' +platform: machine + template: name: file_owner vars: diff --git a/linux_os/guide/system/permissions/files/permissions_within_important_dirs/directory_permissions_etc_sysctld/rule.yml b/linux_os/guide/system/permissions/files/permissions_within_important_dirs/directory_permissions_etc_sysctld/rule.yml index 1e210b51bc4..17e67765927 100644 --- a/linux_os/guide/system/permissions/files/permissions_within_important_dirs/directory_permissions_etc_sysctld/rule.yml +++ b/linux_os/guide/system/permissions/files/permissions_within_important_dirs/directory_permissions_etc_sysctld/rule.yml @@ -26,6 +26,8 @@ fixtext: '{{{ fixtext_file_permissions(file="/etc/sysctl.d", mode="0755") }}}' srg_requirement: '{{{ srg_requirement_file_permission(file="/etc/sysctl.d", mode="0755") }}}' +platform: machine + template: name: file_permissions vars: