Bug 2027259
Summary: | oscap skips the local offline XML | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Ales Musil <amusil> |
Component: | openscap | Assignee: | Jan Černý <jcerny> |
Status: | CLOSED DUPLICATE | QA Contact: | BaseOS QE Security Team <qe-baseos-security> |
Severity: | medium | Docs Contact: | Jan Fiala <jafiala> |
Priority: | unspecified | ||
Version: | 8.6 | CC: | ekolesni, jafiala, jcerny, mhaicman, mperina |
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: | 2021-11-29 10:24:06 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 |
Description
Ales Musil
2021-11-29 09:00:27 UTC
Hi, starting from the version openscap-1.3.5-8.el8 you should use the --local-files option to point to the local file. See the section 12 "Using external or remote resources" of the OpenSCAP User manual. For example: mkdir scap-files wget -O scap-files/security-data-oval-com.redhat.rhsa-RHEL8.xml https://www.redhat.com/security/data/oval/com.redhat.rhsa-RHEL8.xml oscap xccdf eval --local-files ~/scap-files --profile xccdf_org.ssgproject.content_profile_stig /usr/share/xml/scap/ssg/content/ssg-rhel8-ds.xml *** This bug has been marked as a duplicate of bug 1970529 *** Hi, can the KCS be updated to reflect that? Thank you. Great idea! I will try to get that article updated. I will keep you posted. The KCS https://access.redhat.com/solutions/5185891 now reflects the rhel-8.6 change and the https://bugzilla.redhat.com/show_bug.cgi?id=1970529 contains a documentation text. |