Skip to content

Commit dd215ba

Browse files
authored
feat: explicitly support Fedora 37 and 38 (#682)
Signed-off-by: Nejc Habjan <nejc.habjan@siemens.com>
1 parent 1fb9988 commit dd215ba

File tree

6 files changed

+32
-5
lines changed

6 files changed

+32
-5
lines changed

.github/workflows/os_hardening.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ jobs:
3939
- centosstream9
4040
- rocky8
4141
- rocky9
42-
- fedora
42+
- fedora37
43+
- fedora38
4344
- ubuntu1804
4445
- ubuntu2004
4546
- ubuntu2204

.github/workflows/os_hardening_vm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ jobs:
3939
- centos9s
4040
- rocky8
4141
- rocky9
42-
- fedora36
4342
- fedora37
43+
- fedora38
4444
- ubuntu1804
4545
- ubuntu2004
4646
- ubuntu2204

.github/workflows/ssh_hardening.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ jobs:
3939
- centosstream9
4040
- rocky8
4141
- rocky9
42-
- fedora
42+
- fedora37
43+
- fedora38
4344
- ubuntu1804
4445
- ubuntu2004
4546
- ubuntu2204

.github/workflows/ssh_hardening_custom_tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ jobs:
3939
- centosstream9
4040
- rocky8
4141
- rocky9
42-
- fedora
42+
- fedora37
43+
- fedora38
4344
- ubuntu1804
4445
- ubuntu2004
4546
- ubuntu2204

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This collection provides battle tested hardening for:
1717
- Ubuntu 18.04/20.04/22.04
1818
- Amazon Linux (some roles supported)
1919
- Arch Linux (some roles supported)
20-
- Fedora (some roles supported)
20+
- Fedora 37/38 (some roles supported)
2121
- Suse Tumbleweed (some roles supported)
2222
- MySQL
2323
- MariaDB >= 5.5.65, >= 10.1.45, >= 10.3.17
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
sshd_path: /usr/sbin/sshd
3+
ssh_host_keys_dir: /etc/ssh
4+
sshd_service_name: sshd
5+
ssh_owner: root
6+
ssh_group: root
7+
ssh_host_keys_owner: root
8+
ssh_host_keys_group: ssh_keys
9+
ssh_host_keys_mode: "0600"
10+
ssh_selinux_packages:
11+
- python3-policycoreutils
12+
- checkpolicy
13+
14+
# true if SSH support Kerberos
15+
ssh_kerberos_support: true
16+
17+
# true if SSH has PAM support
18+
ssh_pam_support: true
19+
20+
sshd_moduli_file: /etc/ssh/moduli
21+
22+
# disable CRYPTO_POLICY to take settings from sshd configuration
23+
# see: https://access.redhat.com/solutions/4410591
24+
sshd_disable_crypto_policy: true

0 commit comments

Comments
 (0)