Skip to content

Commit

Permalink
Improve formatting of remediation steps (#449)
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 authored Nov 18, 2024
1 parent 4c55cf8 commit 38e0723
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/mondoo-linux-security.mql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ queries:
docs:
desc: Periodic checking of the filesystem integrity is needed to detect changes to the filesystem.
remediation: |-
_If cron will be used to schedule and run aide check_
### To run aide using cron
Run this command:
Expand All @@ -250,7 +250,7 @@ queries:
0 5 * * * /usr/sbin/aide --check
```
_OR if aidecheck.service and aidecheck.timer will be used to schedule and run aide check:_
### To run aide using a systemd timer
Create or edit the file `/etc/systemd/system/aidecheck.service` and add the following lines:
Expand Down Expand Up @@ -1363,13 +1363,13 @@ queries:
-w /var/log/tallylog -p wa -k logins
```
### Add the following additional line for Debian/Ubuntu based systems:
Add the following additional line for Debian/Ubuntu based systems:
```
-w /var/log/faillog -p wa -k logins
```
### Add the following additional line for Red Hat/Fedora/Amazon Linux based systems:
Add the following additional line for Red Hat/Fedora/Amazon Linux based systems:
```
-w /var/run/faillock -p wa -k logins
Expand Down

0 comments on commit 38e0723

Please sign in to comment.