[PATCH] include mapped STIG ID in overlay

Trayer, Jeb D CTR Jeb.D.Trayer at uscg.mil
Fri Nov 15 15:20:08 UTC 2013


By chance is there a way to generate the SSG with the STIG IDs instead of the current rule names?  I did a few searches on this list and cloned the latest code from the repo and looked in the Makefile to maybe see if there was an option to do so but nothing stood out.

Thanks!

Jeb Trayer, CTR
Ace Info Solutions, Inc.
COSS System Administrator 
USCG Operations System Center
Office: (304) 433-3213
Jeb.D.Trayer at uscg.mil 


-----Original Message-----
From: scap-security-guide-bounces at lists.fedorahosted.org [mailto:scap-security-guide-bounces at lists.fedorahosted.org] On Behalf Of Steinke, Leland J Sr CTR DISA FSO (US)
Sent: Friday, November 08, 2013 7:26 PM
To: scap-security-guide at lists.fedorahosted.org
Subject: [PATCH] include mapped STIG ID in overlay

These are tweaks to facilitate mapping between STIG and SSG content.


Thanks,
Leland
--
Leland Steinke, Security+
DISA FSO Technical Support Contractor
tapestry technologies, Inc
717-267-5797 (DSN 570)
leland.j.steinke.ctr at mail.mil (gov't)
lsteinke at tapestrytech.com (com'l)

---
 RHEL6/transforms/xccdf-apply-overlay-stig.xslt |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/RHEL6/transforms/xccdf-apply-overlay-stig.xslt b/RHEL6/transforms/xccdf-apply-overlay-stig.xslt
index 0bbe84b..a7bf3cb 100644
--- a/RHEL6/transforms/xccdf-apply-overlay-stig.xslt
+++ b/RHEL6/transforms/xccdf-apply-overlay-stig.xslt
@@ -28,8 +28,8 @@
 		  <Group id="{$overlay_id}">
 		    <title>SRG-OS-ID</title>
 		    <description></description>
-            <Rule id="{$overlay_id}_rule" severity="{$overlay_severity}" >
-			<version><value-of select="$overlay_id"/></version>
+            <Rule id="{$overlay_rule}" severity="{$overlay_severity}" >
+			<version><xsl:value-of select="$overlay_id"/></version>
           	<title><xsl:value-of select="$overlay_title"/></title>
           	<description><xsl:copy-of select="xccdf:rationale/node()" /></description>
           	<check system="C-{$overlay_id}_chk">
-- 
1.7.1



More information about the scap-security-guide mailing list