You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[root@ip-10-70-4-35 tmp]# oscap xccdf eval --fetch-remote-resources --profile xccdf_org.ssgproject.content_profile_stig --stig-viewer /var/tmp/rhel8-stig-latest/results-stig.xml /usr/share/xml/scap/ssg/content/ssg-amzn2-ds.xml > /var/tmp/rhel8-stig-latest/results-stig.stdout.txt
Downloading: https://www.redhat.com/security/data/oval/com.redhat.rhsa-RHEL7.xml.bz2 ... ok
OpenSCAP Error: Extra content at the end of the document [oscap_source.c:272]
Entity: line 1: parser error : StartTag: invalid element name
<!doctype html>
^
Entity: line 1: parser error : Extra content at the end of the document
<!doctype html>
^
Unable to parse XML from user memory buffer [oscap_source.c:274]
Failed to create OVAL definition model from: 'https://www.redhat.com/security/data/oval/com.redhat.rhsa-RHEL7.xml.bz2'. [xccdf_session.c:1030]
Expected Results:
a valid run without error
Additional Information / Debugging Steps:
No other
The text was updated successfully, but these errors were encountered:
evgenyz
added
the
1.2
The 1.2 version of the OpenSCAP is no longer supported. Upgrade to 1.3.x.
label
Mar 7, 2024
Description of Problem:
Unable to run openscap on Amazon Linux 2 using the amazon or redhat7 profile
OpenSCAP Version:
# oscap --version
OpenSCAP command line tool (oscap) 1.2.17
Copyright 2009--2017 Red Hat Inc., Durham, North Carolina.
==== Supported specifications ====
XCCDF Version: 1.2
OVAL Version: 5.11.1
CPE Version: 2.3
CVSS Version: 2.0
CVE Version: 2.0
Asset Identification Version: 1.1
Asset Reporting Format Version: 1.1
CVRF Version: 1.1
Operating System & Version:
# cat /etc/os-release
NAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="https://amazonlinux.com/"
SUPPORT_END="2025-06-30"
Steps to Reproduce:
or
or any other permutation.
Actual Results:
Expected Results:
a valid run without error
Additional Information / Debugging Steps:
No other
The text was updated successfully, but these errors were encountered: