[Open-scap] Importing openscap library in Python

Peter Vrabec pvrabec at redhat.com
Fri Dec 11 16:42:47 UTC 2009


Hi Ed

On Thursday 10 December 2009 10:34:09 pm Ed wrote:
> Although the Python bindings are compiling correctly, when importing there
> is an error of:
> 
> "undefined: oval_object_probe"
> 
> Currently there are 3 you need to ignore by adding the following lines
> openscap.i (under ifdef WANT_OVAL):
> 
> %ignore oval_object_probe;
> 
> %ignore oval_definition_model_set_locked;
> 
> %ignore oval_syschar_model_get_sysdata;
> 
> 
> Then it seems to import. (I also use the "--enable-xccdf=no" when
> configuring... since the api is still in development).
hey this issue is fixed, check git repo

> I like the example tests provided in C, has anyone done any oval
> implementation examples in python?
I'm planning to write some but I need to finish some testing first. :)


> ~Ed
> 
Peter.




More information about the Open-scap-list mailing list