Ah, good question. This is a bug. We should be able to fix shortly.
(Thanks for pointing it out.)
At the moment, all columns in the output might not be populated, but
they /could/ be, it all just depends on which element inside each Rule
we want to display.
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