[PATCH 1/4] added support for generating CCE table (RHEL 5 vs RHEL 6)

Jeffrey Blank blank at eclipse.ncsc.mil
Fri Aug 24 16:48:22 UTC 2012


Signed-off-by: Jeffrey Blank <blank at eclipse.ncsc.mil>
---
 RHEL6/Makefile |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/RHEL6/Makefile b/RHEL6/Makefile
index 91ae700..fe44051 100644
--- a/RHEL6/Makefile
+++ b/RHEL6/Makefile
@@ -50,6 +50,11 @@ table-refs: shorthand-guide shorthand2xccdf
 # then sort them:
 	xsltproc --html -o $(OUT)/rhel6-table-nistrefs-delim-sorted.html $(TRANS)/table-sortbyref.xslt $(OUT)/rhel6-table-nistrefs-delim.html
 
+table-idents: shorthand-guide shorthand2xccdf
+	xsltproc -o $(OUT)/rhel6-table-cces.html $(TRANS)/xccdf2table-cce.xslt $(OUT)/rhel6-xccdf.xml
+	xsltproc -stringparam ref "../$(REFS)/cce-rhel5.xml" -o $(OUT)/rhel6-table-cces-rhel5.html $(TRANS)/xccdf2table-cce.xslt $(OUT)/rhel6-xccdf.xml
+
+
 table-srgmap: shorthand-guide shorthand2xccdf
 # the map-to-items filename must be provided relative to the root of the main document being processed
 	xsltproc -stringparam map-to-items "../$(OUT)/rhel6-xccdf.xml" -o $(OUT)/rhel6-table-srgmap.html $(TRANS)/table-srgmap.xslt $(REFS)/disa-os-srg-v1r1.xml
@@ -62,7 +67,7 @@ table-stigs:
 	xsltproc -o $(OUT)/rhel6-xccdf-stigformat.xml $(TRANS)/xccdf2stigformat.xslt $(OUT)/rhel6-xccdf.xml 
 	xsltproc -stringparam profile "stig-server" -o $(OUT)/rhel6-table-stig-server.html $(TRANS)/xccdf2table-profileccirefs.xslt $(OUT)/rhel6-xccdf-stigformat.xml  
 
-tables: table-refs table-profilenistrefs table-srgmap table-stigs
+tables: table-idents table-refs table-profilenistrefs table-srgmap table-stigs
 
 content: shorthand-guide shorthand2xccdf guide checks
 #	the relabelids.py script chdirs to ./output, so refer to files from there.
@@ -71,7 +76,6 @@ content: shorthand-guide shorthand2xccdf guide checks
 	$(TRANS)/cpe_generate.py $(OUT)/rhel6-oval.xml $(IN)/checks/platform/rhel6-cpe-dictionary.xml $(ID)
 	$(TRANS)/relabelids.py rhel6-xccdf.xml $(ID)
 
-
 validate:
 	oscap xccdf validate-xml $(OUT)/rhel6-xccdf-$(ID).xml
 	oscap oval validate-xml $(OUT)/rhel6-oval-$(ID).xml
-- 
1.7.1



More information about the scap-security-guide mailing list