[PATCH 4/4] added severity (CAT) column to CCI table output

Jeffrey Blank blank at eclipse.ncsc.mil
Mon Oct 22 13:52:19 UTC 2012


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

diff --git a/RHEL6/transforms/xccdf2table-profileccirefs.xslt b/RHEL6/transforms/xccdf2table-profileccirefs.xslt
index fe98dd2..747ed1f 100644
--- a/RHEL6/transforms/xccdf2table-profileccirefs.xslt
+++ b/RHEL6/transforms/xccdf2table-profileccirefs.xslt
@@ -48,6 +48,7 @@
 		<table>
 			<thead>
 				<td>Vuln ID</td>
+				<td>CAT</td>
 				<!-- <td>GEN ID</td> -->
 				<td>Title</td>
 				<td>Discussion (Rationale)</td>
@@ -117,6 +118,7 @@
 		<xsl:if test="@id=$idreference and $enabletest='true'">
 		<tr>
 			<td>TBD<!-- insert proper Vuln-ID if available --></td>
+			<td> <xsl:value-of select="@severity" /></td>
 			<td> <xsl:value-of select="cdf:title" /></td>
 			<!-- call template to grab text and also child nodes (which should all be xhtml)  -->
 			<td> <xsl:apply-templates select="cdf:rationale"/> </td>
-- 
1.7.1



More information about the scap-security-guide mailing list