[PATCH 2/3] include check instructions in SRG mapping tables

Jeffrey Blank blank at eclipse.ncsc.mil
Mon Dec 10 21:11:57 UTC 2012


Signed-off-by: Jeffrey Blank <blank at eclipse.ncsc.mil>
---
 RHEL6/transforms/table-srgmap.xslt |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/RHEL6/transforms/table-srgmap.xslt b/RHEL6/transforms/table-srgmap.xslt
index 53a3fef..872adfc 100644
--- a/RHEL6/transforms/table-srgmap.xslt
+++ b/RHEL6/transforms/table-srgmap.xslt
@@ -63,6 +63,7 @@
 						<td>Rule ID</td>
 						<td>Rule Title</td>
 						<td>Rule Desc</td>
+						<td>Rule Check</td>
 					</xsl:when>
 					<xsl:otherwise>
 						<td>Rules Mapped</td>
@@ -140,6 +141,7 @@
 					<td> <xsl:value-of select="$item/@id"/> </td>
 					<td> <xsl:value-of select="$item/cdf:title"/> </td>
 					<td> <xsl:apply-templates select="$item/cdf:description"/> </td>
+					<td> <xsl:apply-templates select="$item/cdf:check/cdf:check-content"/> </td>
 			  		</tr>
 		  		</xsl:if>
 			</xsl:for-each>
@@ -173,4 +175,8 @@
 		<xsl:apply-templates select="@*|node()" />
 	</xsl:template>
 
+	<xsl:template match="cdf:check-content">
+		<xsl:apply-templates select="@*|node()" />
+	</xsl:template>
+
 </xsl:stylesheet>
-- 
1.7.1



More information about the scap-security-guide mailing list