I have installed SCAP Workbench on Mac OS X[1] and attempted to scan a 
Beaglebone Black with Debian installed remotely. Debian has been installed with 
OpenSCAP[2]. However the scan threw up a lot of errors and didn't complete. I 
am only including a small subset of the errors so as not to overwhelm readers 
with the amount of text. But am happy to furnish the full logs in pastebin if 
it is helpful. Hope to have some tips. Thanks!


13:28:47 
info 
Connection established.


13:28:47 
info 
Checking if oscap is available on remote machine...


13:28:59 
info 
Querying capabilities on remote machine...


13:29:13 
info 
Copying input data to remote target...


13:30:32 
info 
Starting the remote process...


13:30:32 
info 
Processing on the remote machine...


13:30:47 
error 
The 'oscap' process has written the following content to stderr: OpenSCAP 
Error: File '/tmp/tmp.3WyW7Kt0Aa' line 1835: Element 
'{http://oval.mitre.org/XMLSchema/oval-definitions-5#linux}systemdunitdependency_test':
 This element is not expected. 


13:30:47 
error 
The 'oscap' process has written the following content to stderr: 
[../../../src/XCCDF/xccdf_session.c:342] 


13:30:47 
error 
The 'oscap' process has written the following content to stderr: File 
'/tmp/tmp.3WyW7Kt0Aa' line 2482: Element 
'{http://oval.mitre.org/XMLSchema/oval-definitions-5#linux}systemdunitdependency_object':
 This element is not expected. 


13:30:47 
error 
The 'oscap' process has written the following content to stderr: 
[../../../src/XCCDF/xccdf_session.c:342] 


13:30:47 
error 
The 'oscap' process has written the following content to stderr: File 
'/tmp/tmp.3WyW7Kt0Aa' line 3427: Element 
'{http://oval.mitre.org/XMLSchema/oval-definitions-5#linux}systemdunitdependency_state':
 This element is not expected. 


13:30:47 
error 
The 'oscap' process has written the following content to stderr: 
[../../../src/XCCDF/xccdf_session.c:342] 


13:30:47 
error 
The 'oscap' process has written the following content to stderr: File 
'/tmp/tmp.3WyW7Kt0Aa' line 3653: Element 
'{http://oval.mitre.org/XMLSchema/oval-definitions-5}glob_to_regex': This 
element is not expected. Expected is one of ( 
{http://www.w3.org/2000/09/xmldsig#}Signature, 
{http://oval.mitre.org/XMLSchema/oval-definitions-5}object_component, 
{http://oval.mitre.org/XMLSchema/oval-definitions-5}variable_component, 
{http://oval.mitre.org/XMLSchema/oval-definitions-5}literal_component, 
{http://oval.mitre.org/XMLSchema/oval-definitions-5}arithmetic, 
{http://oval.mitre.org/XMLSchema/oval-definitions-5}begin, 
{http://oval.mitre.org/XMLSchema/oval-definitions-5}concat, 
{http://oval.mitre.org/XMLSchema/oval-definitions-5}end, 
{http://oval.mitre.org/XMLSchema/oval-definitions-5}escape_regex, 
{http://oval.mitre.org/XMLSchema/oval-definitions-5}split ). 




[1] https://www.open-scap.org/tools/scap-workbench/
[2] https://packages.debian.org/jessie/python-openscap

_______________________________________________
Open-scap-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/open-scap-list

Reply via email to