[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Open-scap] Initial XCCDF implementation



Greetings,

In the attached archive, there are patches with a basic XCCDF [1] parser 
implementation. The code should be a base for the OpenSCAP XCCDF library.
The patch is supposed to be applied against open-scap devel git branch.

The patch contains:
- sources
- autotools configuration to build the library
- example

Only the xccdf.h header is the library interface, other headers are internal.
The xccdf.h is already briefly documented with a few Doxygen-style comments.

Please note that this is still quite early-stage code. Even the XML parsing is 
not complete, although it is already able to process the official XCCDF XML
for RHEL 5 [2]. I am going to continue implemening the missing features
as well as slightly improve the existing ones.

Here is a short TODO list (in no particular order):
* finish parsing (Value, TestResult, some subelements of Rule)
* tree iterators - to make it easier to traverse across the hierarchy
  of xccdf groups
* filter iterators - iterate just over items matching given criteria
* better documentation - explain some concepts, add examples...
* text handling - process the <sub> element, handle the internationalization
* process dependencies and conflicts
* resolve the inheritance of items
* better error reporting
* integrate with CPE, eventually OVAL

Any comments and/or suggestions are welcome.

Enjoy and have a nice day...

Lukas Kuklinek

[1] http://scap.nist.gov/specifications/xccdf/
[2] http://nvd.nist.gov/chklst_detail.cfm?config_id=192

Attachment: xccdf.tar.bz
Description: application/tbz


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]