Bug 1498859
Summary: | openscap CPE based platform detection gives different results in connected and air gapped env | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Matus Marhefka <mmarhefk> | ||||||
Component: | openscap | Assignee: | Jan Černý <jcerny> | ||||||
Status: | CLOSED WONTFIX | QA Contact: | BaseOS QE Security Team <qe-baseos-security> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 7.4 | CC: | cww, knakayam, matyc, mhaicman, openscap-maint, wsato | ||||||
Target Milestone: | rc | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2019-03-12 14:32:02 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: | 1594286 | ||||||||
Attachments: |
|
Description
Matus Marhefka
2017-10-05 12:38:07 UTC
Also reported in upstream: https://github.com/OpenSCAP/openscap-daemon/issues/112 I think within this BZ we should also resolve the issue with network communication made by atomic scan when /etc/oscapd/config.ini file is missing and scan is performed. There must be no communication made by atomic scan even if this file is missing. The communication can occur only when it is explicitly allowed in /etc/oscapd/config.ini configuration file. The /CoreOS/openscap-docker/Sanity/atomic-usability test case covers also this usability issue. This is not an openscap-daemon bug. The problem is that the CPE detection doesn't work correctly in offline mode. The CPE detection is handled by openscap scanner. For example, the test_ref="oval:org.open-scap.cpe.rhel:tst:7" gives different results depending on whether one is online or offline. Created attachment 1390239 [details]
Debug info when the scanned container is online.
Created attachment 1390240 [details]
Debug messages when the container is made offline according to the description.
This issue was not selected to be included in Red Hat Enterprise Linux 7.7 because it is seen either as low or moderate impact to a small number of use-cases. The next release will be in Maintenance Support 1 Phase, which means that qualified Critical and Important Security errata advisories (RHSAs) and Urgent Priority Bug Fix errata advisories (RHBAs) may be released as they become available. We will now close this issue, but if you believe that it qualifies for the Maintenance Support 1 Phase, please re-open; otherwise, we recommend moving the request to Red Hat Enterprise Linux 8 if applicable. |