CybOX XML to OVAL XML Converter
Convert CybOX XML to OVAL XML
Copyright (c) 2015 - The MITRE Corporation All rights reserved. See LICENSE.txt for more details. BY USING THIS PROGRAM, YOU SIGNIFY YOUR ACCEPTANCE OF THE TERMS AND CONDITIONS OF USE. IF YOU DO NOT AGREE TO THESE TERMS, DO NOT USE THIS PROGRAM.
The CybOX-to-OVAL script generates OVAL 5.7 definitions, tests, and objects from a CybOX document. Currently this is limited to CybOX's File and WinRegistryKey objects.
Download and extract the included files into your directory of choice.
CybOX-to-OVAL requires Python 2.X. It was developed using Python 2.7, and may work under Python 2.6. It is not compatible with Python 3.
- python-cybox - A Python library for CybOX
You can install the dependencies using pip:
$ pip install cybox
NOTE: Installing LXML (which python-cybox depends on) on Ubuntu requrires the python-dev, libxml2-dev, and libxslt1-dev packages to be installed. Follow the link for instructions on installing python-cybox and LXML on Windows.
python cybox_to_oval.py <flags> -i <cybox xml file> -o <oval xml file> Available Flags: -v: Verbose output mode. Lists any skipped observable items and also prints traceback for errors.
OpenIOC-to-CybOX comes with example input and output files. You can use these to see an example of the program's output, or to verify that you have installed the program correctly:
$ python cybox_to_oval.py -i examples/cybox.in.xml -o oval.xml $ diff oval.xml examples/oval.out.xml
The cybox.in.xml file contains one FileObject and one WinRegistryKey object.
Bug reports and feature requests are welcome and encouraged. Pull requests are especially appreciated. Feel free to use the issue tracker on GitHub or send an email directly to firstname.lastname@example.org.
- CybOX - http://cybox.mitre.org/
- OVAL - http://oval.mitre.org/