[Open-scap] Patch for benchmark export support

Joshua Adams jadams at tresys.com
Mon May 10 14:39:33 UTC 2010


Sorry this is coming in a separate message, I'm still trying to figure out git send-email.

Anyways, I've been working on adding export support for benchmarks and in the patch I submitted I've added full support for Groups and Rules.  I plan on implementing the rest, but wanted to get some feedback before I went further to make sure I'm headed in the right direction.

I did run into one issue.  It seems that when descriptions and rationales (and a few other text fields) are parsed, they use the XCCDF_TEXT_HTML constant defined in src/XCCDF/item.c instead of XCCDF_TEXT_PLAINSUB.  This caused the output when exporting to be become messed up like:

<description><description xmlns="http://checklists.nist.gov/xccdf/1.1">Sudo privileges should granted or rejected to the wheel group as appropriate</description></description>


Josh Adams




More information about the Open-scap-list mailing list