[Open-scap] Generating XCCDF from OVAL

Simon Lukasik slukasik at redhat.com
Sun May 5 17:45:04 UTC 2013


Hello SCAPers,

It could happen to you that you had an OVAL file and you needed to
generate a very simple XCCDF document from it. The XCCDF document, would
only serve as the execution bed for the OVAL. That is helpful, when your
tools understand only the XCCDF and not the OVAL (Spacewalk for example).

I have written an XSLT transformation which can generate minimalistics
XCCDF from yours OVAL files. I am herewith submitting that XSLT under
attachment for your perusal. Usage:

  $ xsltproc --stringparam ovalfile $OVAL  \
      oval-to-xccdf.xslt $OVAL \
      | xmllint --format -

Best regards,

-- 
Simon Lukasik
Security Technologies
-------------- next part --------------
A non-text attachment was scrubbed...
Name: oval-to-xccdf.xslt
Type: application/xslt+xml
Size: 3327 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/open-scap-list/attachments/20130505/74248062/attachment.xslt>


More information about the Open-scap-list mailing list