Skip to content

Commit

Permalink
Merge pull request ComplianceAsCode#11622 from Mab879/fix_systcld
Browse files Browse the repository at this point in the history
Add platform machine to systctl.d rules
  • Loading branch information
jan-cerny authored Feb 23, 2024
2 parents e0d5d7c + 21657d7 commit 6127c1e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6127c1e

Please sign in to comment.