Skip to content
Merged
Show file tree
Hide file tree
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 @@ -57,10 +57,12 @@ template:
excluded_files@slmicro5: ['*[bw]tmp', '*lastlog']
excluded_files@slmicro6: ['*[bw]tmp', '*lastlog']
excluded_files@ubuntu2204: ['history.log*', 'eipp.log.xz*', '[bw]tmp', '[bw]tmp.*', '[bw]tmp-*', 'lastlog', 'lastlog.*']
excluded_files@debian13: ['history.log*', 'eipp.log.xz*', '[bw]tmp', '[bw]tmp.*', '[bw]tmp-*', 'lastlog', 'lastlog.*']
excluded_files@ubuntu2404: ['history.log*', 'eipp.log.xz*', '[bw]tmp', '[bw]tmp.*', '[bw]tmp-*', 'lastlog', 'lastlog.*', 'cloud-init.log*', 'localmessages*', 'waagent.log*']
file_regex: '.*'
filemode: '0640'
filepath: /var/log/
recursive@debian13: 'true'
recursive@sle12: 'true'
recursive@sle15: 'true'
recursive@sle16: 'true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ documentation_complete: true

title: 'Verify Group Who Owns /var/log/messages File'

{{%- if product in ['ubuntu2404'] %}}
{{%- if product in ['ubuntu2404'] or 'debian' in product %}}
description: '{{{ describe_file_group_owner(file="/var/log/messages", group="adm|root") }}}'
{{%- else %}}
description: '{{{ describe_file_group_owner(file="/var/log/messages", group="root") }}}'
Expand All @@ -23,7 +23,7 @@ references:
srg: SRG-OS-000206-GPOS-00084
stigid@ol8: OL08-00-010230

{{%- if product in ['ubuntu2404'] %}}
{{%- if product in ['ubuntu2404'] or 'debian' in product %}}
ocil_clause: '{{{ ocil_clause_file_group_owner(file="/var/log/messages", group="adm|root") }}}'

ocil: |-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ documentation_complete: true

title: 'Verify Permissions on /var/log/messages File'

{{% if product in ['ubuntu2404','ol9','ol8'] %}}
{{% if product in ['ubuntu2404','ol9','ol8'] or 'debian' in product %}}
{{% set target_perms_octal="0640" %}}
{{% set target_perms="-rw-r-----" %}}
{{% else %}}
Expand Down
Loading