Skip to content

Commit 4e56b60

Browse files
Add variables to product_stability
1 parent 7ed534b commit 4e56b60

30 files changed

Lines changed: 1251 additions & 628 deletions

tests/data/product_stability/alinux2.yml

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ bootable_containers_supported: 'false'
2020
chrony_conf_path: /etc/chrony.conf
2121
chrony_d_path: /etc/chrony.d/
2222
cpes:
23-
- alinux2:
24-
check_id: installed_OS_is_alinux2
25-
name: cpe:/o:alinux:alibaba_cloud_linux:2
26-
title: Alibaba Cloud Linux 2
23+
- alinux2:
24+
check_id: installed_OS_is_alinux2
25+
name: cpe:/o:alinux:alibaba_cloud_linux:2
26+
title: Alibaba Cloud Linux 2
2727
cpes_root: ../../shared/applicability
2828
dconf_gdm_dir: gdm.d
2929
dynamic_uid_max: 65519
@@ -36,11 +36,11 @@ grub2_boot_path: /boot/grub2
3636
grub2_uefi_boot_path: /boot/grub2
3737
grub_helper_executable: grubby
3838
init_system: systemd
39+
login_defs_defaults_path: /usr/etc/login.defs
40+
login_defs_drop_in_path: /etc/login.defs.d/oscap.login.defs
3941
login_defs_path: /etc/login.defs
4042
nobody_gid: 65534
4143
nobody_uid: 65534
42-
ssh_client_config_dir: /etc/ssh/ssh_config.d
43-
ssh_client_main_config_file: /etc/ssh/ssh_config
4444
openssh_client_crypto_policy_config_file: /etc/crypto-policies/back-ends/openssh.config
4545
openssh_server_crypto_policy_config_file: /etc/crypto-policies/back-ends/opensshserver.config
4646
pam_faillock_conf_path: /etc/security/faillock.conf
@@ -91,22 +91,24 @@ reference_uris:
9191
stigid: https://www.cyber.mil/stigs/downloads/?_dl_facet_stigs=operating-systems%2Cunix-linux
9292
stigref: https://www.cyber.mil/stigs/srg-stig-tools/
9393
rsyslog_cafile: /etc/pki/tls/cert.pem
94+
ssh_client_config_dir: /etc/ssh/ssh_config.d
95+
ssh_client_main_config_file: /etc/ssh/ssh_config
9496
sshd_config_base_dir: /etc/ssh
9597
sshd_config_dir: /etc/ssh/sshd_config.d
9698
sshd_distributed_config: 'false'
9799
sshd_hardening_config_basename: 00-complianceascode-hardening.conf
98100
sshd_main_config_file: /etc/ssh/sshd_config
99-
sshd_sysconfig_file: /etc/sysconfig/sshd
100101
sshd_runtime_check: 'false'
102+
sshd_sysconfig_file: /etc/sysconfig/sshd
101103
sysctl_remediate_drop_in_file: 'false'
102104
target_oval_version:
103-
- 5
104-
- 11
105+
- 5
106+
- 11
105107
target_oval_version_str: '5.11'
106108
type: platform
107109
uid_min: 1000
108110
xwindows_packages:
109-
- xorg-x11-server-Xorg
110-
- xorg-x11-server-common
111-
- xorg-x11-server-utils
112-
- xorg-x11-server-Xwayland
111+
- xorg-x11-server-Xorg
112+
- xorg-x11-server-common
113+
- xorg-x11-server-utils
114+
- xorg-x11-server-Xwayland

tests/data/product_stability/alinux3.yml

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ bootable_containers_supported: 'false'
2020
chrony_conf_path: /etc/chrony.conf
2121
chrony_d_path: /etc/chrony.d/
2222
cpes:
23-
- alinux3:
24-
check_id: installed_OS_is_alinux3
25-
name: cpe:/o:alinux:alibaba_cloud_linux:3
26-
title: Alibaba Cloud Linux 3
23+
- alinux3:
24+
check_id: installed_OS_is_alinux3
25+
name: cpe:/o:alinux:alibaba_cloud_linux:3
26+
title: Alibaba Cloud Linux 3
2727
cpes_root: ../../shared/applicability
2828
dconf_gdm_dir: gdm.d
2929
dynamic_uid_max: 65519
@@ -36,11 +36,11 @@ grub2_boot_path: /boot/grub2
3636
grub2_uefi_boot_path: /boot/grub2
3737
grub_helper_executable: grubby
3838
init_system: systemd
39+
login_defs_defaults_path: /usr/etc/login.defs
40+
login_defs_drop_in_path: /etc/login.defs.d/oscap.login.defs
3941
login_defs_path: /etc/login.defs
4042
nobody_gid: 65534
4143
nobody_uid: 65534
42-
ssh_client_config_dir: /etc/ssh/ssh_config.d
43-
ssh_client_main_config_file: /etc/ssh/ssh_config
4444
openssh_client_crypto_policy_config_file: /etc/crypto-policies/back-ends/openssh.config
4545
openssh_server_crypto_policy_config_file: /etc/crypto-policies/back-ends/opensshserver.config
4646
pam_faillock_conf_path: /etc/security/faillock.conf
@@ -91,22 +91,24 @@ reference_uris:
9191
stigid: https://www.cyber.mil/stigs/downloads/?_dl_facet_stigs=operating-systems%2Cunix-linux
9292
stigref: https://www.cyber.mil/stigs/srg-stig-tools/
9393
rsyslog_cafile: /etc/pki/tls/cert.pem
94+
ssh_client_config_dir: /etc/ssh/ssh_config.d
95+
ssh_client_main_config_file: /etc/ssh/ssh_config
9496
sshd_config_base_dir: /etc/ssh
9597
sshd_config_dir: /etc/ssh/sshd_config.d
9698
sshd_distributed_config: 'false'
9799
sshd_hardening_config_basename: 00-complianceascode-hardening.conf
98100
sshd_main_config_file: /etc/ssh/sshd_config
99-
sshd_sysconfig_file: /etc/sysconfig/sshd
100101
sshd_runtime_check: 'false'
102+
sshd_sysconfig_file: /etc/sysconfig/sshd
101103
sysctl_remediate_drop_in_file: 'false'
102104
target_oval_version:
103-
- 5
104-
- 11
105+
- 5
106+
- 11
105107
target_oval_version_str: '5.11'
106108
type: platform
107109
uid_min: 1000
108110
xwindows_packages:
109-
- xorg-x11-server-Xorg
110-
- xorg-x11-server-common
111-
- xorg-x11-server-utils
112-
- xorg-x11-server-Xwayland
111+
- xorg-x11-server-Xorg
112+
- xorg-x11-server-common
113+
- xorg-x11-server-utils
114+
- xorg-x11-server-Xwayland

tests/data/product_stability/anolis23.yml

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ bootable_containers_supported: 'false'
1919
chrony_conf_path: /etc/chrony.conf
2020
chrony_d_path: /etc/chrony.d/
2121
cpes:
22-
- anolis23:
23-
check_id: installed_OS_is_anolis23
24-
name: cpe:/o:anolis:anolis_os:23
25-
title: Anolis OS 23
22+
- anolis23:
23+
check_id: installed_OS_is_anolis23
24+
name: cpe:/o:anolis:anolis_os:23
25+
title: Anolis OS 23
2626
cpes_root: ../../shared/applicability
2727
dconf_gdm_dir: gdm.d
2828
dynamic_uid_max: 65519
@@ -35,11 +35,11 @@ grub2_boot_path: /boot/grub2
3535
grub2_uefi_boot_path: /boot/grub2
3636
grub_helper_executable: grubby
3737
init_system: systemd
38+
login_defs_defaults_path: /usr/etc/login.defs
39+
login_defs_drop_in_path: /etc/login.defs.d/oscap.login.defs
3840
login_defs_path: /etc/login.defs
3941
nobody_gid: 65534
4042
nobody_uid: 65534
41-
ssh_client_config_dir: /etc/ssh/ssh_config.d
42-
ssh_client_main_config_file: /etc/ssh/ssh_config
4343
openssh_client_crypto_policy_config_file: /etc/crypto-policies/back-ends/openssh.config
4444
openssh_server_crypto_policy_config_file: /etc/crypto-policies/back-ends/opensshserver.config
4545
pam_faillock_conf_path: /etc/security/faillock.conf
@@ -90,22 +90,24 @@ reference_uris:
9090
stigid: https://www.cyber.mil/stigs/downloads/?_dl_facet_stigs=operating-systems%2Cunix-linux
9191
stigref: https://www.cyber.mil/stigs/srg-stig-tools/
9292
rsyslog_cafile: /etc/pki/tls/cert.pem
93+
ssh_client_config_dir: /etc/ssh/ssh_config.d
94+
ssh_client_main_config_file: /etc/ssh/ssh_config
9395
sshd_config_base_dir: /etc/ssh
9496
sshd_config_dir: /etc/ssh/sshd_config.d
9597
sshd_distributed_config: 'false'
9698
sshd_hardening_config_basename: 00-complianceascode-hardening.conf
9799
sshd_main_config_file: /etc/ssh/sshd_config
98-
sshd_sysconfig_file: /etc/sysconfig/sshd
99100
sshd_runtime_check: 'false'
101+
sshd_sysconfig_file: /etc/sysconfig/sshd
100102
sysctl_remediate_drop_in_file: 'false'
101103
target_oval_version:
102-
- 5
103-
- 11
104+
- 5
105+
- 11
104106
target_oval_version_str: '5.11'
105107
type: platform
106108
uid_min: 1000
107109
xwindows_packages:
108-
- xorg-x11-server-Xorg
109-
- xorg-x11-server-common
110-
- xorg-x11-server-utils
111-
- xorg-x11-server-Xwayland
110+
- xorg-x11-server-Xorg
111+
- xorg-x11-server-common
112+
- xorg-x11-server-utils
113+
- xorg-x11-server-Xwayland

tests/data/product_stability/anolis8.yml

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ bootable_containers_supported: 'false'
1919
chrony_conf_path: /etc/chrony.conf
2020
chrony_d_path: /etc/chrony.d/
2121
cpes:
22-
- anolis8:
23-
check_id: installed_OS_is_anolis8
24-
name: cpe:/o:anolis:anolis_os:8
25-
title: Anolis OS 8
22+
- anolis8:
23+
check_id: installed_OS_is_anolis8
24+
name: cpe:/o:anolis:anolis_os:8
25+
title: Anolis OS 8
2626
cpes_root: ../../shared/applicability
2727
dconf_gdm_dir: gdm.d
2828
dynamic_uid_max: 65519
@@ -35,11 +35,11 @@ grub2_boot_path: /boot/grub2
3535
grub2_uefi_boot_path: /boot/grub2
3636
grub_helper_executable: grubby
3737
init_system: systemd
38+
login_defs_defaults_path: /usr/etc/login.defs
39+
login_defs_drop_in_path: /etc/login.defs.d/oscap.login.defs
3840
login_defs_path: /etc/login.defs
3941
nobody_gid: 65534
4042
nobody_uid: 65534
41-
ssh_client_config_dir: /etc/ssh/ssh_config.d
42-
ssh_client_main_config_file: /etc/ssh/ssh_config
4343
openssh_client_crypto_policy_config_file: /etc/crypto-policies/back-ends/openssh.config
4444
openssh_server_crypto_policy_config_file: /etc/crypto-policies/back-ends/opensshserver.config
4545
pam_faillock_conf_path: /etc/security/faillock.conf
@@ -90,22 +90,24 @@ reference_uris:
9090
stigid: https://www.cyber.mil/stigs/downloads/?_dl_facet_stigs=operating-systems%2Cunix-linux
9191
stigref: https://www.cyber.mil/stigs/srg-stig-tools/
9292
rsyslog_cafile: /etc/pki/tls/cert.pem
93+
ssh_client_config_dir: /etc/ssh/ssh_config.d
94+
ssh_client_main_config_file: /etc/ssh/ssh_config
9395
sshd_config_base_dir: /etc/ssh
9496
sshd_config_dir: /etc/ssh/sshd_config.d
9597
sshd_distributed_config: 'false'
9698
sshd_hardening_config_basename: 00-complianceascode-hardening.conf
9799
sshd_main_config_file: /etc/ssh/sshd_config
98-
sshd_sysconfig_file: /etc/sysconfig/sshd
99100
sshd_runtime_check: 'false'
101+
sshd_sysconfig_file: /etc/sysconfig/sshd
100102
sysctl_remediate_drop_in_file: 'false'
101103
target_oval_version:
102-
- 5
103-
- 11
104+
- 5
105+
- 11
104106
target_oval_version_str: '5.11'
105107
type: platform
106108
uid_min: 1000
107109
xwindows_packages:
108-
- xorg-x11-server-Xorg
109-
- xorg-x11-server-common
110-
- xorg-x11-server-utils
111-
- xorg-x11-server-Xwayland
110+
- xorg-x11-server-Xorg
111+
- xorg-x11-server-common
112+
- xorg-x11-server-utils
113+
- xorg-x11-server-Xwayland

tests/data/product_stability/debian11.yml

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,31 +20,31 @@ bootable_containers_supported: 'false'
2020
chrony_conf_path: /etc/chrony.conf
2121
chrony_d_path: /etc/chrony.d/
2222
cpes:
23-
- debian11:
24-
check_id: installed_OS_is_debian11
25-
name: cpe:/o:debian:debian_linux:11
26-
title: Debian Linux 11
23+
- debian11:
24+
check_id: installed_OS_is_debian11
25+
name: cpe:/o:debian:debian_linux:11
26+
title: Debian Linux 11
2727
cpes_root: ../../shared/applicability
2828
dconf_gdm_dir: gdm.d
2929
dynamic_uid_max: 65519
3030
dynamic_uid_min: 61184
3131
faillock_path: /var/run/faillock
3232
families:
33-
- debian
34-
- debian-like
33+
- debian
34+
- debian-like
3535
full_name: Debian 11
3636
gid_min: 1000
3737
groups: {}
3838
grub2_boot_path: /boot/grub
3939
grub2_uefi_boot_path: /boot/grub2
4040
grub_helper_executable: update-grub
4141
init_system: systemd
42+
login_defs_defaults_path: /usr/etc/login.defs
43+
login_defs_drop_in_path: /etc/login.defs.d/oscap.login.defs
4244
login_defs_path: /etc/login.defs
4345
major_version_ordinal: 11
4446
nobody_gid: 65534
4547
nobody_uid: 65534
46-
ssh_client_config_dir: /etc/ssh/ssh_config.d
47-
ssh_client_main_config_file: /etc/ssh/ssh_config
4848
openssh_client_crypto_policy_config_file: /etc/crypto-policies/back-ends/openssh.config
4949
openssh_server_crypto_policy_config_file: /etc/crypto-policies/back-ends/opensshserver.config
5050
pam_faillock_conf_path: /etc/security/faillock.conf
@@ -100,23 +100,25 @@ reference_uris:
100100
stigid: https://www.cyber.mil/stigs/downloads/?_dl_facet_stigs=operating-systems%2Cunix-linux
101101
stigref: https://www.cyber.mil/stigs/srg-stig-tools/
102102
rsyslog_cafile: /etc/pki/tls/cert.pem
103+
ssh_client_config_dir: /etc/ssh/ssh_config.d
104+
ssh_client_main_config_file: /etc/ssh/ssh_config
103105
sshd_config_base_dir: /etc/ssh
104106
sshd_config_dir: /etc/ssh/sshd_config.d
105107
sshd_distributed_config: 'false'
106108
sshd_hardening_config_basename: 00-complianceascode-hardening.conf
107109
sshd_main_config_file: /etc/ssh/sshd_config
108-
sshd_sysconfig_file: /etc/sysconfig/sshd
109110
sshd_runtime_check: 'false'
111+
sshd_sysconfig_file: /etc/sysconfig/sshd
110112
sysctl_remediate_drop_in_file: 'false'
111113
target_oval_version:
112-
- 5
113-
- 11
114-
- 2
114+
- 5
115+
- 11
116+
- 2
115117
target_oval_version_str: 5.11.2
116118
type: platform
117119
uid_min: 1000
118120
xwindows_packages:
119-
- xorg-x11-server-Xorg
120-
- xorg-x11-server-common
121-
- xorg-x11-server-utils
122-
- xorg-x11-server-Xwayland
121+
- xorg-x11-server-Xorg
122+
- xorg-x11-server-common
123+
- xorg-x11-server-utils
124+
- xorg-x11-server-Xwayland

0 commit comments

Comments
 (0)