[Open-scap] Importing openscap library in Python

Ed ed.sealing at gmail.com
Thu Dec 10 21:34:09 UTC 2009


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).

I like the example tests provided in C, has anyone done any oval
implementation examples in python?

~Ed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/open-scap-list/attachments/20091210/2429f076/attachment.htm>


More information about the Open-scap-list mailing list