.Applicability changes of rules related to IPv6 configuration
Compliance rules that are related to IPv6 configuration will now return "notapplicable" result when IPv6 is disabled on the target system. The applicability will be determined based on presence of `ipv6.disable` in the `GRUB_CMDLINE_LINUX` value in the `/etc/default/grub` configuration file. If this option is not present there or set to 0, the rules will be considered applicable and will be evaluated.
The following rules are affected by this change:
- disabling_ipv6_autoconfig
- network_ipv6_default_gateway
- network_ipv6_privacy_extensions
- network_ipv6_static_address
- sysctl_net_ipv6_conf_all_accept_ra
- sysctl_net_ipv6_conf_all_accept_ra_defrtr
- sysctl_net_ipv6_conf_all_accept_ra_pinfo
- sysctl_net_ipv6_conf_all_accept_ra_rtr_pref
- sysctl_net_ipv6_conf_all_accept_redirects
- sysctl_net_ipv6_conf_all_accept_source_route
- sysctl_net_ipv6_conf_all_autoconf
- sysctl_net_ipv6_conf_all_forwarding
- sysctl_net_ipv6_conf_all_max_addresses
- sysctl_net_ipv6_conf_all_router_solicitations
- sysctl_net_ipv6_conf_default_accept_ra
- sysctl_net_ipv6_conf_default_accept_ra_defrtr
- sysctl_net_ipv6_conf_default_accept_ra_pinfo
- sysctl_net_ipv6_conf_default_accept_ra_rtr_pref
- sysctl_net_ipv6_conf_default_accept_redirects
- sysctl_net_ipv6_conf_default_accept_source_route
- sysctl_net_ipv6_conf_default_autoconf
- sysctl_net_ipv6_conf_default_forwarding
- sysctl_net_ipv6_conf_default_max_addresses
- sysctl_net_ipv6_conf_default_router_solicitations
Description of problem:
Even after disabling IPv6 on the system, running the openscap scan shows that IPv6 is still enabled on the system
Version-Release number of selected component (if applicable):
scap-security-guide
How reproducible:
Steps to Reproduce:
1. Disable IPv6 on system under /etc/default/grub
GRUB_CMDLINE_LINUX="ipv6.disable=1"
2. Attach openscap policy to the system
3. Run openscap scan on the system
Actual results:
Openscap reports IPv6 is still enabled
Expected results:
Openscap should not report IPv6 is enabled
Additional info:
Description of problem: Even after disabling IPv6 on the system, running the openscap scan shows that IPv6 is still enabled on the system Version-Release number of selected component (if applicable): scap-security-guide How reproducible: Steps to Reproduce: 1. Disable IPv6 on system under /etc/default/grub GRUB_CMDLINE_LINUX="ipv6.disable=1" 2. Attach openscap policy to the system 3. Run openscap scan on the system Actual results: Openscap reports IPv6 is still enabled Expected results: Openscap should not report IPv6 is enabled Additional info: