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

Exclude autrace and audispd on RHEL 10 #12736

Merged
merged 2 commits into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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 @@ -13,9 +13,9 @@ description: |-
/sbin/auditctl root
/sbin/aureport root
/sbin/ausearch root
/sbin/autrace root
{{% if product not in ["rhel10"] %}}/sbin/autrace root{{% endif %}}
/sbin/auditd root
/sbin/audispd root
{{% if 'rhel' not in product %}}/sbin/audispd root{{% endif %}}
/sbin/augenrules root
</pre>

Expand Down Expand Up @@ -53,9 +53,9 @@ ocil: |-
/sbin/auditctl root
/sbin/aureport root
/sbin/ausearch root
/sbin/autrace root
{{% if product not in ["rhel10"] %}}/sbin/autrace root{{% endif %}}
/sbin/auditd root
/sbin/audispd root
{{% if 'rhel' not in product %}}/sbin/audispd root{{% endif %}}
/sbin/augenrules root
</pre>

Expand All @@ -75,8 +75,8 @@ template:
- /sbin/auditctl
- /sbin/aureport
- /sbin/ausearch
- /sbin/autrace
{{% if product not in ["rhel10"] %}}- /sbin/autrace{{% endif %}}
- /sbin/auditd
- /sbin/audispd
{{% if 'rhel' not in product %}}- /sbin/audispd{{% endif %}}
- /sbin/augenrules
gid_or_name: '0'
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ description: |-
/sbin/auditctl root
/sbin/aureport root
/sbin/ausearch root
/sbin/autrace root
{{% if product not in ["rhel10"] %}}/sbin/autrace root{{% endif %}}
/sbin/auditd root
/sbin/audispd root
{{% if 'rhel' not in product %}}/sbin/audispd root{{% endif %}}
/sbin/augenrules root
</pre>

Expand All @@ -27,7 +27,7 @@ rationale: |-
Protecting audit information also includes identifying and protecting the
tools used to view and manipulate log data. Therefore, protecting audit
tools is necessary to prevent unauthorized operation on audit information.

Operating systems providing tools to interface with audit information
will leverage user permissions and roles identifying the user accessing the
tools and the corresponding rights the user enjoys to make access decisions
Expand All @@ -54,9 +54,9 @@ ocil: |-
/sbin/auditctl root
/sbin/aureport root
/sbin/ausearch root
/sbin/autrace root
{{% if product not in ["rhel10"] %}}/sbin/autrace root{{% endif %}}
/sbin/auditd root
/sbin/audispd root
{{% if 'rhel' not in product %}}/sbin/audispd root{{% endif %}}
/sbin/augenrules root
</pre>

Expand All @@ -76,8 +76,8 @@ template:
- /sbin/auditctl
- /sbin/aureport
- /sbin/ausearch
- /sbin/autrace
{{% if product not in ["rhel10"] %}}- /sbin/autrace{{% endif %}}
- /sbin/auditd
- /sbin/audispd
{{% if 'rhel' not in product %}}- /sbin/audispd{{% endif %}}
- /sbin/augenrules
fileuid: '0'
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,13 @@ description: |-
/sbin/auditctl 755
/sbin/aureport 755
/sbin/ausearch 755
{{% if product not in ["rhel10"] %}}
/sbin/autrace 755
{{% endif %}}
/sbin/auditd 755
{{% if 'rhel' not in product %}}
/sbin/audispd 755
{{% endif %}}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This causes weird vertical spaces in HTML guide. For example, a screenshot from the the RHEL 9 CIS profile guide:

image

You need to put - after % or before % to control newlines.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have adjusted these, should be better now.

/sbin/augenrules 755
</pre>

Expand Down Expand Up @@ -54,9 +58,9 @@ ocil: |-
/sbin/auditctl 755
/sbin/aureport 755
/sbin/ausearch 755
/sbin/autrace 755
{{% if product not in ["rhel10"] %}}/sbin/autrace 755{{% endif %}}
/sbin/auditd 755
/sbin/audispd 755
{{% if 'rhel' not in product %}}/sbin/audispd 755{{% endif %}}
/sbin/augenrules 755
</pre>

Expand All @@ -77,8 +81,8 @@ template:
- /sbin/auditctl
- /sbin/aureport
- /sbin/ausearch
- /sbin/autrace
{{% if product not in ["rhel10"] %}}- /sbin/autrace{{% endif %}}
- /sbin/auditd
- /sbin/audispd
{{% if 'rhel' not in product %}}- /sbin/audispd{{% endif %}}
- /sbin/augenrules
filemode: '0755'
Loading