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

[New Rule] Package kea removed #12464

Merged
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions components/dhcp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ rules:
- package_dhcp_removed
- service_dhcpd_disabled
- sysconfig_networking_bootproto_ifcfg
- package_kea_removed
teacup-on-rockingchair marked this conversation as resolved.
Show resolved Hide resolved
5 changes: 5 additions & 0 deletions components/kea.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name: kea
packages:
- kea
rules:
- package_kea_removed
1 change: 1 addition & 0 deletions controls/anssi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1291,6 +1291,7 @@ controls:
of these in this recommendation.
rules:
- package_dhcp_removed
- package_kea_removed
- package_rsh_removed
- package_rsh-server_removed
- package_sendmail_removed
Expand Down
2 changes: 1 addition & 1 deletion controls/cis_rhel10.yml
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@ controls:
- l1_workstation
status: automated
rules:
- package_dhcp_removed
- package_kea_removed
related_rules:
- service_dhcpd_disabled

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
documentation_complete: true


title: 'Uninstall kea Package'

description: |-
If the system does not need to act as a DHCP server,
the kea package can be uninstalled.

rationale: |-
Removing the DHCP server ensures that it cannot be easily or
accidentally reactivated and disrupt network operation.

severity: medium

identifiers:
cce@rhel10: CCE-86596-4

{{{ complete_ocil_entry_package(package="kea") }}}

template:
name: package_removed
vars:
pkgname: kea
1 change: 1 addition & 0 deletions products/ol7/profiles/anssi_nt28_enhanced.profile
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,4 @@ selections:
- '!audit_sudo_log_events'
- '!sysctl_net_core_bpf_jit_harden'
- '!grub2_pti_argument'
- '!package_kea_removed'
1 change: 1 addition & 0 deletions products/ol7/profiles/anssi_nt28_high.profile
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,4 @@ selections:
- '!kernel_config_strict_module_rwx'
- '!kernel_config_modify_ldt_syscall'
- '!grub2_pti_argument'
- '!package_kea_removed'
1 change: 1 addition & 0 deletions products/ol7/profiles/anssi_nt28_intermediary.profile
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ selections:
- '!grub2_page_alloc_shuffle_argument'
- '!sysctl_net_core_bpf_jit_harden'
- '!grub2_pti_argument'
- '!package_kea_removed'
1 change: 1 addition & 0 deletions products/ol7/profiles/anssi_nt28_minimal.profile
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ selections:
- '!accounts_passwords_pam_tally2_unlock_time'
- '!ensure_redhat_gpgkey_installed'
- '!enable_authselect'
- '!package_kea_removed'
1 change: 1 addition & 0 deletions products/ol8/profiles/anssi_bp28_enhanced.profile
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ selections:
- '!sysctl_fs_protected_fifos'
- '!cracklib_accounts_password_pam_dcredit'
- '!grub2_page_alloc_shuffle_argument'
- '!package_kea_removed'
1 change: 1 addition & 0 deletions products/ol8/profiles/anssi_bp28_high.profile
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@ selections:
- '!sysctl_fs_protected_fifos'
- '!cracklib_accounts_password_pam_dcredit'
- '!grub2_page_alloc_shuffle_argument'
- '!package_kea_removed'
1 change: 1 addition & 0 deletions products/ol8/profiles/anssi_bp28_intermediary.profile
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ selections:
- '!grub2_page_alloc_shuffle_argument'
- '!accounts_passwords_pam_tally2_unlock_time'
- '!ensure_redhat_gpgkey_installed'
- '!package_kea_removed'
1 change: 1 addition & 0 deletions products/ol8/profiles/anssi_bp28_minimal.profile
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ selections:
- '!cracklib_accounts_password_pam_ocredit'
- '!accounts_passwords_pam_tally2_unlock_time'
- '!ensure_redhat_gpgkey_installed'
- '!package_kea_removed'
1 change: 1 addition & 0 deletions products/ol9/profiles/anssi_bp28_enhanced.profile
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,4 @@ selections:
- '!cracklib_accounts_password_pam_minlen'
- '!cracklib_accounts_password_pam_dcredit'
- '!package_xinetd_removed'
- '!package_kea_removed'
1 change: 1 addition & 0 deletions products/ol9/profiles/anssi_bp28_high.profile
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ selections:
- '!cracklib_accounts_password_pam_minlen'
- '!cracklib_accounts_password_pam_dcredit'
- '!package_xinetd_removed'
- '!package_kea_removed'
1 change: 1 addition & 0 deletions products/ol9/profiles/anssi_bp28_intermediary.profile
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ selections:
- '!sudo_add_ignore_dot'
- '!sudo_add_env_reset'
- '!package_xinetd_removed'
- '!package_kea_removed'
1 change: 1 addition & 0 deletions products/ol9/profiles/anssi_bp28_minimal.profile
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ selections:
- '!accounts_passwords_pam_tally2_unlock_time'
- '!ensure_redhat_gpgkey_installed'
- '!package_xinetd_removed'
- '!package_kea_removed'
1 change: 1 addition & 0 deletions products/rhel10/profiles/pci-dss.profile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ selections:

# these rules do not apply to RHEL 10
- '!package_audit-audispd-plugins_installed'
- '!package_dhcp_removed'
- '!package_ypserv_removed'
- '!package_ypbind_removed'
- '!package_talk_removed'
Expand Down
1 change: 1 addition & 0 deletions products/rhel8/profiles/anssi_bp28_enhanced.profile
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,4 @@ selections:
- '!accounts_passwords_pam_tally2_unlock_time'
- '!audit_rules_privileged_commands_insmod'
- '!ensure_oracle_gpgkey_installed'
- '!package_kea_removed'
1 change: 1 addition & 0 deletions products/rhel8/profiles/anssi_bp28_high.profile
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@ selections:
- '!cracklib_accounts_password_pam_dcredit'
- '!grub2_page_alloc_shuffle_argument'
- '!ensure_oracle_gpgkey_installed'
- '!package_kea_removed'
1 change: 1 addition & 0 deletions products/rhel8/profiles/anssi_bp28_intermediary.profile
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@ selections:
- '!grub2_page_alloc_shuffle_argument'
- '!accounts_passwords_pam_tally2_unlock_time'
- '!ensure_oracle_gpgkey_installed'
- '!package_kea_removed'
1 change: 1 addition & 0 deletions products/rhel8/profiles/anssi_bp28_minimal.profile
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ selections:
- '!cracklib_accounts_password_pam_ocredit'
- '!accounts_passwords_pam_tally2_unlock_time'
- '!ensure_oracle_gpgkey_installed'
- '!package_kea_removed'
1 change: 1 addition & 0 deletions products/rhel9/profiles/anssi_bp28_enhanced.profile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ selections:
- '!cracklib_accounts_password_pam_minlen'
- '!cracklib_accounts_password_pam_dcredit'
- '!ensure_oracle_gpgkey_installed'
- '!package_kea_removed'
# RHEL9 unified the paths for grub2 files. These rules are selected in control file by R29.
- '!file_groupowner_efi_grub2_cfg'
- '!file_owner_efi_grub2_cfg'
Expand Down
1 change: 1 addition & 0 deletions products/rhel9/profiles/anssi_bp28_high.profile
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ selections:
- '!cracklib_accounts_password_pam_minlen'
- '!cracklib_accounts_password_pam_dcredit'
- '!ensure_oracle_gpgkey_installed'
- '!package_kea_removed'
# disable R45: Enable AppArmor security profiles
- '!apparmor_configured'
- '!all_apparmor_profiles_enforced'
Expand Down
1 change: 1 addition & 0 deletions products/rhel9/profiles/anssi_bp28_intermediary.profile
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,4 @@ selections:
- '!sudo_add_ignore_dot'
- '!sudo_add_env_reset'
- '!ensure_oracle_gpgkey_installed'
- '!package_kea_removed'
1 change: 1 addition & 0 deletions products/rhel9/profiles/anssi_bp28_minimal.profile
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ selections:
- '!cracklib_accounts_password_pam_ocredit'
- '!accounts_passwords_pam_tally2_unlock_time'
- '!ensure_oracle_gpgkey_installed'
- '!package_kea_removed'
1 change: 1 addition & 0 deletions products/sle12/profiles/anssi_bp28_enhanced.profile
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,4 @@ selections:
- '!sysctl_net_ipv6_conf_all_autoconf'
- '!grub2_pti_argument'
- '!ensure_oracle_gpgkey_installed'
- '!package_kea_removed'
1 change: 1 addition & 0 deletions products/sle12/profiles/anssi_bp28_high.profile
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,4 @@ selections:
- '!sysctl_net_ipv6_conf_all_autoconf'
- '!grub2_pti_argument'
- '!ensure_oracle_gpgkey_installed'
- '!package_kea_removed'
1 change: 1 addition & 0 deletions products/sle12/profiles/anssi_bp28_intermediary.profile
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,4 @@ selections:
- '!sysctl_net_ipv6_conf_all_autoconf'
- '!grub2_pti_argument'
- '!ensure_oracle_gpgkey_installed'
- '!package_kea_removed'
1 change: 1 addition & 0 deletions products/sle12/profiles/anssi_bp28_minimal.profile
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ selections:
- '!accounts_password_pam_minlen'
- '!ensure_oracle_gpgkey_installed'
- '!enable_authselect'
- '!package_kea_removed'
1 change: 1 addition & 0 deletions products/sle15/profiles/anssi_bp28_enhanced.profile
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,4 @@ selections:
- '!sysctl_net_ipv6_conf_all_autoconf'
- '!grub2_pti_argument'
- '!ensure_oracle_gpgkey_installed'
- '!package_kea_removed'
1 change: 1 addition & 0 deletions products/sle15/profiles/anssi_bp28_high.profile
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,4 @@ selections:
- '!sysctl_net_ipv6_conf_all_autoconf'
- '!grub2_pti_argument'
- '!ensure_oracle_gpgkey_installed'
- '!package_kea_removed'
1 change: 1 addition & 0 deletions products/sle15/profiles/anssi_bp28_intermediary.profile
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,4 @@ selections:
- '!sysctl_net_ipv6_conf_all_autoconf'
- '!grub2_pti_argument'
- '!ensure_oracle_gpgkey_installed'
- '!package_kea_removed'
1 change: 1 addition & 0 deletions products/sle15/profiles/anssi_bp28_minimal.profile
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ selections:
- '!accounts_password_pam_minlen'
- '!ensure_oracle_gpgkey_installed'
- '!enable_authselect'
- '!package_kea_removed'
1 change: 0 additions & 1 deletion shared/references/cce-redhat-avail.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ CCE-86576-6
CCE-86589-9
CCE-86591-5
CCE-86594-9
CCE-86596-4
CCE-86598-0
CCE-86600-4
CCE-86601-2
Expand Down
Loading