This should be fixed now. At one point, I had decided not to output
profiles (in order to ensure oscap's prose guide generation would show
all rules). But, the table transform was still expecting a particular
profile (which is logical). So now we've got another Make rule and
transform to add in profiles as directed.
Try a git pull , and give it another shot.
Feedback is appreciated.
Please keep in mind that this is primarily an example of what can be
derived from a common body of XCCDF content, not a polished product.
Some of the text elements in the spreadsheet are derived from the USGCB
work, which occasionally made direct use of CCE descriptions (which
could be a bit wacky at times). I plan to replace much of this language
with more comprehensible prose, but will of course retain CCE
references. Anyone who would still want the CCE descriptions could then
programmatically grab them, since the CCE ref is still there.
On 10/25/2011 10:55 PM, Shawn Wells wrote:
Was playing with the repos tonight, really just doing a git clone
and
tinkering some to familiarize myself with the codebase. I did a make
all and was looking at the outputs/rhel6-table-nistrefs.html.... all it
has is the "desktop_baseline" header. Here's the process I used for the
make. Note the warning in the output. Known bug, or am I doing
something wrong?
First, I did a "make all"....
[shawn@localhost src]$ make all
xsltproc -o output/rhel6-shorthand.xml input/guide.xslt input/guide.xml
xmllint --format --output output/rhel6-shorthand.xml
output/rhel6-shorthand.xml
xsltproc -o output/rhel6-xccdf.xml transforms/shorthand2xccdf.xslt
output/rhel6-shorthand.xml
xmllint --format --output output/rhel6-xccdf.xml output/rhel6-xccdf.xml
xsltproc -o output/rhel6-table-nistrefs.html
transforms/xccdf2table-nistrefs.xslt output/rhel6-xccdf.xml
oscap xccdf generate guide --profile allrules output/rhel6-xccdf.xml>
output/rhel6-guide.html
WARNING: Processing an unresolved XCCDF document. This may have
unexpected results.
I then took a look at the make file, and manually ran the command for
xccdf2table-nistrefs (after verifying the syntax through the man page of
xsltproc):
[shawn@localhost src]$ xsltproc -o output/rhel6-table-nistrefs.html
transforms/xccdf2table-nistrefs.xslt output/rhel6-xccdf.xml
_______________________________________________
scap-security-guide mailing list
scap-security-guide(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/scap-security-guide