OpenSCAP Error: Unable to parse XML from user memory buffer
Issue
- xccdf scan using the common profile requires remote content from RedHat. When this is enabled by
--fetch-remote-resources
, an XML parse error appears and scan is aborted
# oscap xccdf eval --fetch-remote-resources --profile pci-dss /usr/share/xml/scap/ssg/content/ssg-rhel7-xccdf.xml
Downloading: http://www.redhat.com/security/data/oval/Red_Hat_Enterprise_Linux_7.xml ... ok
OpenSCAP Error: Unable to parse XML from user memory buffer [oscap_source.c:254]
Environment
- Red Hat Enterprise Linux 7, below minor release 7.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.