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

More updates to the Linux policy #447

Merged
merged 1 commit into from
Nov 17, 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
11 changes: 5 additions & 6 deletions core/mondoo-linux-security.mql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1164,16 +1164,14 @@ queries:
remediation: |-
Run this command to install `auditd`:

### Debian/Ubuntu and derivatives

### RHEL/Fedora/Amazon Linux and derivatives
```
dnf install audit audit-libs
```

### Debian/Ubuntu
### Debian/Ubuntu and derivatives
```
apt install auditd audispd-plugins
apt-get install auditd audispd-plugins
```

### SLES and openSUSE
Expand Down Expand Up @@ -1230,14 +1228,14 @@ queries:

### RHEL/Fedora/Amazon Linux and derivatives
```
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
grub2-mkconfig -o /boot/grub2/grub.cfg
```
**Note:**
The path looks different for UEFI systems.

### Debian/Ubuntu and derivatives
```
sudo update-grub
update-grub
```
- uid: mondoo-linux-security-audit-log-storage-size-is-configured
title: Ensure audit log storage size is configured
Expand Down Expand Up @@ -2368,6 +2366,7 @@ queries:
- uid: mondoo-linux-security-ssh-protocol-is-set-to-2
title: Ensure SSH Protocol is set to 2
impact: 80
# openssh-server 7.6 and later remove support for protocol v1
filters: package('openssh-server').version == /6./ || package('openssh-server').version == /7\.[0|1|2|3|4|5]/
mql: |
sshd.config.params["Protocol"] == 2
Expand Down