It has been a while between creating code to work with Nessus but I recently had a need to run CIS benchmarks that had not been edited to match a local security policy.
Due to this I had a need to see not only the default pass and fail but what the scanner found when scanning when the scanner identified a Pass and Fail.
The output looks something like the following; Machines on the top axis and tests on the side axis.
To run the command as always;
java -Xmx1g XMLCompTable2 *.nessus > output.[html/xls]
To get the best value out of this scan and parse one baseline at a time (i.e. All Windows 2008, All Windows 7, All Redhat, etc.)