--- RHEL6/Makefile | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/RHEL6/Makefile b/RHEL6/Makefile index 3e0ba59..9214ce9 100644 --- a/RHEL6/Makefile +++ b/RHEL6/Makefile @@ -37,7 +37,8 @@ guide: shorthand2xccdf # remove auxiliary Groups which are only for use in tables, and not guide output. # specifying a nonexistent profile, "allrules," to make oscap print all Rules xsltproc -o $(OUT)/unlinked-rhel6-xccdf-guide.xml $(TRANS)/xccdf-removeaux.xslt $(OUT)/unlinked-rhel6-xccdf.xml - oscap xccdf generate guide --profile allrules $(OUT)/unlinked-rhel6-xccdf-guide.xml > $(OUT)/rhel6-guide.html + xsltproc -o $(OUT)/unlinked-notest-rhel6-xccdf-guide.xml $(TRANS)/xccdf-removetested.xslt $(OUT)/unlinked-rhel6-xccdf.xml + oscap xccdf generate guide --profile allrules $(OUT)/unlinked-notest-rhel6-xccdf-guide.xml > $(OUT)/rhel6-guide.html
# example, if needed: for converting XCCDF into shorthand #xccdf2shorthand:
Please push. This will make guide output nicer.
On Mon, May 20, 2013 at 1:41 PM, David Smith dsmith@eclipse.ncsc.milwrote:
RHEL6/Makefile | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/RHEL6/Makefile b/RHEL6/Makefile index 3e0ba59..9214ce9 100644 --- a/RHEL6/Makefile +++ b/RHEL6/Makefile @@ -37,7 +37,8 @@ guide: shorthand2xccdf # remove auxiliary Groups which are only for use in tables, and not guide output. # specifying a nonexistent profile, "allrules," to make oscap print all Rules xsltproc -o $(OUT)/unlinked-rhel6-xccdf-guide.xml $(TRANS)/xccdf-removeaux.xslt $(OUT)/unlinked-rhel6-xccdf.xml
oscap xccdf generate guide --profile allrules
$(OUT)/unlinked-rhel6-xccdf-guide.xml > $(OUT)/rhel6-guide.html
xsltproc -o $(OUT)/unlinked-notest-rhel6-xccdf-guide.xml
$(TRANS)/xccdf-removetested.xslt $(OUT)/unlinked-rhel6-xccdf.xml
oscap xccdf generate guide --profile allrules
$(OUT)/unlinked-notest-rhel6-xccdf-guide.xml > $(OUT)/rhel6-guide.html
# example, if needed: for converting XCCDF into shorthand
#xccdf2shorthand:
1.7.1
scap-security-guide mailing list scap-security-guide@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/scap-security-guide
scap-security-guide@lists.fedorahosted.org