Skip to content

Commit

Permalink
Change directory_permissions_etc_iptables to 700
Browse files Browse the repository at this point in the history
  • Loading branch information
Mab879 committed Sep 16, 2024
1 parent 39614ff commit 14177a6
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/iptables Directory

description: '{{{ describe_file_permissions(file="/etc/iptables", perms="0600") }}}'
description: '{{{ describe_file_permissions(file="/etc/iptables", perms="0700") }}}'

rationale: |-
Setting correct permissions on the /etc/iptables directory is important
Expand All @@ -17,19 +17,19 @@ identifiers:
cce@rhel9: CCE-86436-3
cce@rhel10: CCE-86577-4

ocil_clause: '{{{ ocil_clause_file_permissions(file="/etc/iptables", perms="0600") }}}'
ocil_clause: '{{{ ocil_clause_file_permissions(file="/etc/iptables", perms="0700") }}}'

ocil: |-
{{{ ocil_file_permissions(file="/etc/iptables", perms="0600") }}}
{{{ ocil_file_permissions(file="/etc/iptables", perms="0700") }}}
platform: package[iptables]

fixtext: '{{{ fixtext_file_permissions(file="/etc/iptables", mode="0600") }}}'
fixtext: '{{{ fixtext_file_permissions(file="/etc/iptables", mode="0700") }}}'

srg_requirement: '{{{ srg_requirement_file_permission(file="/etc/iptables", mode="0600") }}}'
srg_requirement: '{{{ srg_requirement_file_permission(file="/etc/iptables", mode="0700") }}}'

template:
name: file_permissions
vars:
filepath: /etc/iptables/
filemode: '0600'
filemode: '0700'

0 comments on commit 14177a6

Please sign in to comment.