Closed hectoralicea closed 8 months ago
I am facing the same issue
The remote resource content doesn't exist anymore: https://www.redhat.com/security/data/oval/com.redhat.rhsa-RHEL7.xml.bz2
It should use this instead I believe: https://www.redhat.com/security/data/oval/v2/RHEL7/rhel-7.oval.xml.bz2
But this is a content related issue and should be reported in https://github.com/ComplianceAsCode/content/
It might be even fixed already.
The URL was fixed in https://github.com/ComplianceAsCode/content/pull/10842
And removed in https://github.com/ComplianceAsCode/content/pull/11547
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