From 577d74140675c7df4feb16a3a9229a160573cfb0 Mon Sep 17 00:00:00 2001
From: Matthew Burket
Date: Wed, 26 Jun 2024 11:01:15 -0500
Subject: [PATCH] Remove unused RHEL 7 constants
---
ssg/constants.py | 46 ----------------------------------------------
1 file changed, 46 deletions(-)
diff --git a/ssg/constants.py b/ssg/constants.py
index 9da348ed78f..fabee911cb4 100644
--- a/ssg/constants.py
+++ b/ssg/constants.py
@@ -303,14 +303,8 @@
}
RHEL_CENTOS_CPE_MAPPING = {
- "cpe:/o:redhat:enterprise_linux:7": "cpe:/o:centos:centos:7",
"cpe:/o:redhat:enterprise_linux:8": "cpe:/o:centos:centos:8",
"cpe:/o:redhat:enterprise_linux:9": "cpe:/o:centos:centos:9",
- "cpe:/o:redhat:enterprise_linux:10": "cpe:/o:centos:centos:10",
-}
-
-RHEL_SL_CPE_MAPPING = {
- "cpe:/o:redhat:enterprise_linux:7": "cpe:/o:scientificlinux:scientificlinux:7",
}
CENTOS_NOTICE = \
@@ -348,46 +342,6 @@
".
" \
""
-SL_NOTICE = \
- "\n" \
- "
This benchmark is a direct port of a SCAP Security Guide " \
- "benchmark developed for Red Hat Enterprise Linux. It has been " \
- "modified through an automated process to remove specific dependencies " \
- "on Red Hat Enterprise Linux and to function with Scientifc Linux. " \
- "The result is a generally useful SCAP Security Guide benchmark " \
- "with the following caveats:
\n" \
- "
\n" \
- "- Scientifc Linux is not an exact copy of " \
- "Red Hat Enterprise Linux. Scientific Linux is a Linux distribution " \
- "produced by Fermi National Accelerator Laboratory. It is a free and " \
- "open source operating system based on Red Hat Enterprise Linux and aims " \
- "to be \"as close to the commercial enterprise distribution as we can get it.\" " \
- "There may be configuration differences that produce false positives and/or " \
- "false negatives. If this occurs please file a bug report.
\n" \
- "\n" \
- "- Scientifc Linux is derived from the free and open source software " \
- "made available by Red Hat, but it is not produced, maintained or supported by Red Hat. " \
- "Scientifc Linux has its own build system, compiler options, patchsets, " \
- "and is a community supported, non-commercial operating system. " \
- "Scientifc Linux does not inherit " \
- "certifications or evaluations from Red Hat Enterprise Linux. As " \
- "such, some configuration rules (such as those requiring " \
- "FIPS 140-2 encryption) will continue to fail on Scientifc Linux.
\n" \
- "
\n" \
- "\n" \
- "
Members of the Scientifc Linux community are invited to participate in " \
- "OpenSCAP and " \
- "" \
- "SCAP Security Guide development. Bug reports and patches " \
- "can be sent to GitHub: " \
- "" \
- "https://github.com/ComplianceAsCode/content. " \
- "The mailing list is at " \
- "" \
- "https://fedorahosted.org/mailman/listinfo/scap-security-guide" \
- ".
" \
- "
"
-
XCCDF_REFINABLE_PROPERTIES = ["weight", "severity", "role", "selector"]
OVAL_TO_XCCDF_DATATYPE_CONSTRAINTS = {