Skip to content

Commit

Permalink
Update file_permissions_etc_chrony_keys to 640
Browse files Browse the repository at this point in the history
  • Loading branch information
Mab879 committed Nov 5, 2024
1 parent 3e42da6 commit fd88cd9
Showing 1 changed file with 6 additions and 6 deletions.
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'

0 comments on commit fd88cd9

Please sign in to comment.