Bug 2021802

Summary: [RFE] RHV hypervisors hardening profile based on DISA STIG profile
Product: Red Hat Enterprise Linux 8 Reporter: Ales Musil <amusil>
Component: scap-security-guideAssignee: Watson Yuuma Sato <wsato>
Status: CLOSED ERRATA QA Contact: Milan Lysonek <mlysonek>
Severity: high Docs Contact: Jan Fiala <jafiala>
Priority: unspecified    
Version: 8.6CC: ggasparb, jafiala, mhaicman, mlysonek, mperina, wsato
Target Milestone: rcKeywords: FutureFeature, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: scap-security-guide-0.1.60-1.el8 Doc Type: Enhancement
Doc Text:
.DISA STIG profile supports Red Hat Virtualization 4.4 The `DISA STIG for Red Hat Enterprise Linux 8` profile version V1R5 has been enhanced to support Red Hat Virtualization 4.4. This profile aligns with the RHEL 8 Security Technical Implementation Guide (STIG) manual benchmark provided by the Defense Information Systems Agency (DISA). However, some configurations are not applied on hosts where Red Hat Virtualization (RHV) is installed because they prevent Red Hat Virtualization from installing and working properly. When the STIG profile is applied on a Red Hat Virtualization Host (RHVH), on a self-hosted install (RHELH), or on a host with RHV Manager installed, the following rules result in 'notapplicable': * `package_gss_proxy_removed` * `package_krb5-workstation_removed` * `package_tuned_removed` * `sshd_disable_root_login` * `sudo_remove_nopasswd` * `sysctl_net_ipv4_ip_forward` * `xwindows_remove_packages` WARNING: Automatic remediation might render the system non-functional. Run the remediation in a test environment first.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-10 14:15:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2015802    
Deadline: 2022-02-28   

Description Ales Musil 2021-11-10 09:02:48 UTC
Description of problem:
Add RHVH (hypervisor) hardening profile that is based on RHEL8 DISA STIG 
priofile with some of the rules excluded.

Additional info:
The excluded rules are not 100% known right now and will be added later on.

Comment 5 Watson Yuuma Sato 2022-01-31 14:17:57 UTC
The following PR allows STIG profiles to filter out rules that should not be evaluated in RHV.
https://github.com/ComplianceAsCode/content/pull/7961

Comment 16 errata-xmlrpc 2022-05-10 14:15:29 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (scap-security-guide bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:1900