Skip to content

Commit 1791679

Browse files
authored
Merge pull request #13476 from jan-cerny/improve_test_profile_stability
Improve profile stability test
2 parents a373673 + 32a55a1 commit 1791679

34 files changed

Lines changed: 11105 additions & 12094 deletions

tests/data/profile_stability/rhel10/anssi_bp28_enhanced.profile

Lines changed: 350 additions & 375 deletions
Large diffs are not rendered by default.

tests/data/profile_stability/rhel10/anssi_bp28_high.profile

Lines changed: 424 additions & 449 deletions
Large diffs are not rendered by default.

tests/data/profile_stability/rhel10/anssi_bp28_intermediary.profile

Lines changed: 259 additions & 284 deletions
Large diffs are not rendered by default.
Lines changed: 53 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -1,78 +1,53 @@
1-
description: "This is a draft profile for experimental purposes.\nThis draft profile
2-
contains configurations that align to ANSSI-BP-028 v2.0 at the minimal hardening
3-
level.\n\nANSSI is the French National Information Security Agency, and stands
4-
for Agence nationale de la s\xE9curit\xE9 des syst\xE8mes d'information.\nANSSI-BP-028
5-
is a configuration recommendation for GNU/Linux systems.\n\nA copy of the ANSSI-BP-028
6-
can be found at the ANSSI website:\nhttps://www.ssi.gouv.fr/administration/guide/recommandations-de-securite-relatives-a-un-systeme-gnulinux/\n\nAn
7-
English version of the ANSSI-BP-028 can also be found at the ANSSI website:\nhttps://cyber.gouv.fr/publications/configuration-recommendations-gnulinux-system"
8-
extends: null
9-
hidden: ''
10-
status: ''
11-
metadata:
12-
SMEs:
13-
- marcusburghardt
14-
- vojtapolasek
15-
reference: null
16-
selections:
17-
- accounts_password_minlen_login_defs
18-
- accounts_password_pam_dcredit
19-
- accounts_password_pam_lcredit
20-
- accounts_password_pam_minclass
21-
- accounts_password_pam_minlen
22-
- accounts_password_pam_ocredit
23-
- accounts_password_pam_ucredit
24-
- accounts_password_pam_unix_remember
25-
- accounts_password_pam_unix_rounds_password_auth
26-
- accounts_password_pam_unix_rounds_system_auth
27-
- accounts_password_set_max_life_root
28-
- accounts_passwords_pam_faillock_deny
29-
- accounts_passwords_pam_faillock_deny_root
30-
- accounts_passwords_pam_faillock_interval
31-
- accounts_passwords_pam_faillock_unlock_time
32-
- dir_perms_world_writable_root_owned
33-
- dir_perms_world_writable_sticky_bits
34-
- dnf-automatic_apply_updates
35-
- dnf-automatic_security_updates_only
36-
- ensure_gpgcheck_globally_activated
37-
- ensure_gpgcheck_local_packages
38-
- ensure_gpgcheck_never_disabled
39-
- ensure_redhat_gpgkey_installed
40-
- file_permissions_unauthorized_sgid
41-
- file_permissions_unauthorized_suid
42-
- file_permissions_unauthorized_world_writable
43-
- file_permissions_ungroupowned
44-
- no_files_unowned_by_user
45-
- package_dnf-automatic_installed
46-
- package_kea_removed
47-
- package_telnet-server_removed
48-
- package_telnet_removed
49-
- package_tftp-server_removed
50-
- package_tftp_removed
51-
- set_password_hashing_algorithm_systemauth
52-
- timer_dnf-automatic_enabled
53-
- var_password_hashing_algorithm=yescrypt
54-
- var_password_hashing_algorithm_pam=yescrypt
55-
- var_password_pam_unix_rounds=11
56-
- var_password_pam_minclass=4
57-
- var_accounts_maximum_age_root=365
58-
- var_password_pam_minlen=15
59-
- var_accounts_password_minlen_login_defs=15
60-
- var_password_pam_ocredit=1
61-
- var_password_pam_dcredit=1
62-
- var_password_pam_ucredit=1
63-
- var_password_pam_lcredit=1
64-
- var_accounts_passwords_pam_faillock_fail_interval=900
65-
- var_accounts_passwords_pam_faillock_deny=3
66-
- var_password_pam_tally2=5
67-
- var_accounts_passwords_pam_tally2_unlock_time=1800
68-
- var_accounts_passwords_pam_faillock_unlock_time=900
69-
- var_password_pam_unix_remember=2
70-
unselected_groups: []
71-
platforms: !!set {}
72-
cpe_names: !!set {}
73-
platform: null
74-
filter_rules: ''
75-
policies:
76-
- anssi
77-
title: ANSSI-BP-028 (minimal)
78-
documentation_complete: true
1+
accounts_password_minlen_login_defs
2+
accounts_password_pam_dcredit
3+
accounts_password_pam_lcredit
4+
accounts_password_pam_minclass
5+
accounts_password_pam_minlen
6+
accounts_password_pam_ocredit
7+
accounts_password_pam_ucredit
8+
accounts_password_pam_unix_remember
9+
accounts_password_pam_unix_rounds_password_auth
10+
accounts_password_pam_unix_rounds_system_auth
11+
accounts_password_set_max_life_root
12+
accounts_passwords_pam_faillock_deny
13+
accounts_passwords_pam_faillock_deny_root
14+
accounts_passwords_pam_faillock_interval
15+
accounts_passwords_pam_faillock_unlock_time
16+
dir_perms_world_writable_root_owned
17+
dir_perms_world_writable_sticky_bits
18+
dnf-automatic_apply_updates
19+
dnf-automatic_security_updates_only
20+
ensure_gpgcheck_globally_activated
21+
ensure_gpgcheck_local_packages
22+
ensure_gpgcheck_never_disabled
23+
ensure_redhat_gpgkey_installed
24+
file_permissions_unauthorized_sgid
25+
file_permissions_unauthorized_suid
26+
file_permissions_unauthorized_world_writable
27+
file_permissions_ungroupowned
28+
no_files_unowned_by_user
29+
package_dnf-automatic_installed
30+
package_kea_removed
31+
package_telnet-server_removed
32+
package_telnet_removed
33+
package_tftp-server_removed
34+
package_tftp_removed
35+
set_password_hashing_algorithm_systemauth
36+
timer_dnf-automatic_enabled
37+
var_accounts_maximum_age_root=365
38+
var_accounts_password_minlen_login_defs=15
39+
var_accounts_passwords_pam_faillock_deny=3
40+
var_accounts_passwords_pam_faillock_fail_interval=900
41+
var_accounts_passwords_pam_faillock_unlock_time=900
42+
var_accounts_passwords_pam_tally2_unlock_time=1800
43+
var_password_hashing_algorithm=yescrypt
44+
var_password_hashing_algorithm_pam=yescrypt
45+
var_password_pam_dcredit=1
46+
var_password_pam_lcredit=1
47+
var_password_pam_minclass=4
48+
var_password_pam_minlen=15
49+
var_password_pam_ocredit=1
50+
var_password_pam_tally2=5
51+
var_password_pam_ucredit=1
52+
var_password_pam_unix_remember=2
53+
var_password_pam_unix_rounds=11

0 commit comments

Comments
 (0)