Skip to content

Commit

Permalink
Remove unused RHEL 7 constants
Browse files Browse the repository at this point in the history
  • Loading branch information
Mab879 committed Jun 26, 2024
1 parent 2bd7a38 commit 577d741
Showing 1 changed file with 0 additions and 46 deletions.
46 changes: 0 additions & 46 deletions ssg/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = \
Expand Down Expand Up @@ -348,46 +342,6 @@
".</p>" \
"</div>"

SL_NOTICE = \
"<div xmlns=\"http://www.w3.org/1999/xhtml\">\n" \
"<p>This benchmark is a direct port of a <i>SCAP Security Guide </i> " \
"benchmark developed for <i>Red Hat Enterprise Linux</i>. It has been " \
"modified through an automated process to remove specific dependencies " \
"on <i>Red Hat Enterprise Linux</i> and to function with <i>Scientifc Linux</i>. " \
"The result is a generally useful <i>SCAP Security Guide</i> benchmark " \
"with the following caveats:</p>\n" \
"<ul>\n" \
"<li><i>Scientifc Linux</i> is not an exact copy of " \
"<i>Red Hat Enterprise Linux</i>. Scientific Linux is a Linux distribution " \
"produced by <i>Fermi National Accelerator Laboratory</i>. It is a free and " \
"open source operating system based on <i>Red Hat Enterprise Linux</i> 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.</li>\n" \
"\n" \
"<li><i>Scientifc Linux</i> is derived from the free and open source software " \
"made available by Red Hat, but it is not produced, maintained or supported by <i>Red Hat</i>. " \
"<i>Scientifc Linux</i> has its own build system, compiler options, patchsets, " \
"and is a community supported, non-commercial operating system. " \
"<i>Scientifc Linux</i> does not inherit " \
"certifications or evaluations from <i>Red Hat Enterprise Linux</i>. As " \
"such, some configuration rules (such as those requiring " \
"<i>FIPS 140-2</i> encryption) will continue to fail on <i>Scientifc Linux</i>.</li>\n" \
"</ul>\n" \
"\n" \
"<p>Members of the <i>Scientifc Linux</i> community are invited to participate in " \
"<a href=\"http://open-scap.org\">OpenSCAP</a> and " \
"<a href=\"https://github.com/ComplianceAsCode/content\">" \
"SCAP Security Guide</a> development. Bug reports and patches " \
"can be sent to GitHub: " \
"<a href=\"https://github.com/ComplianceAsCode/content\">" \
"https://github.com/ComplianceAsCode/content</a>. " \
"The mailing list is at " \
"<a href=\"https://fedorahosted.org/mailman/listinfo/scap-security-guide\">" \
"https://fedorahosted.org/mailman/listinfo/scap-security-guide</a>" \
".</p>" \
"</div>"

XCCDF_REFINABLE_PROPERTIES = ["weight", "severity", "role", "selector"]

OVAL_TO_XCCDF_DATATYPE_CONSTRAINTS = {
Expand Down

0 comments on commit 577d741

Please sign in to comment.