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

Improve formatting of remediation steps #449

Merged
merged 2 commits into from
Nov 18, 2024
Merged
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
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