[PATCH] modified transform to only match test attestation

David Smith dsmith at eclipse.ncsc.mil
Wed May 8 20:50:41 UTC 2013


---
 RHEL6/transforms/xccdf-removetested.xslt |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/RHEL6/transforms/xccdf-removetested.xslt b/RHEL6/transforms/xccdf-removetested.xslt
index e94f3da..eeb2049 100644
--- a/RHEL6/transforms/xccdf-removetested.xslt
+++ b/RHEL6/transforms/xccdf-removetested.xslt
@@ -6,12 +6,9 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml" exclude-result-prefixes="xccdf">
 
 
   <!-- remove the test contributor name from final output -->
-  <xsl:template match="dc:contributor">
+  <xsl:template match="xccdf:Rule/xccdf:reference[@href='test_attestation']">
   </xsl:template>
   
-  <!-- remove the test contribution date from final output -->
-  <xsl:template match="dc:date">
-  </xsl:template>
 
   <!-- copy everything else through to final output -->
   <xsl:template match="@*|node()">
-- 
1.7.1



More information about the scap-security-guide mailing list