Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update file_permissions_etc_chrony_keys to 640 #12577

Merged
merged 1 commit into from
Nov 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ documentation_complete: true

title: Verify Permissions On /etc/chrony.keys File

description: '{{{ describe_file_permissions(file="/etc/chrony.keys", perms="0644") }}}'
description: '{{{ describe_file_permissions(file="/etc/chrony.keys", perms="0640") }}}'

rationale: |-
Setting correct permissions on the /etc/chrony.keys file is important
Expand All @@ -17,17 +17,17 @@ identifiers:
cce@rhel9: CCE-86384-5
cce@rhel10: CCE-88155-7

ocil_clause: '{{{ ocil_clause_file_permissions(file="/etc/chrony.keys", perms="0644") }}}'
ocil_clause: '{{{ ocil_clause_file_permissions(file="/etc/chrony.keys", perms="0640") }}}'

ocil: |-
{{{ ocil_file_permissions(file="/etc/chrony.keys", perms="0644") }}}
{{{ ocil_file_permissions(file="/etc/chrony.keys", perms="0640") }}}

fixtext: '{{{ fixtext_file_permissions(file="/etc/chrony.keys", mode="0644") }}}'
fixtext: '{{{ fixtext_file_permissions(file="/etc/chrony.keys", mode="0640") }}}'

srg_requirement: '{{{ srg_requirement_file_permission(file="/etc/chrony.keys", mode="0644") }}}'
srg_requirement: '{{{ srg_requirement_file_permission(file="/etc/chrony.keys", mode="0640") }}}'

template:
name: file_permissions
vars:
filepath: /etc/chrony.keys
filemode: '0644'
filemode: '0640'
Loading