Le 28/04/2017 à 09:53, Luther Goh Lu Feng a écrit :
Currently, the html report from an xccdf scan has the value as attached. Is 
there any easy way to send this value to the shell when running oscap from the 
cli?


--Luther

As far as I know, you should use the ARF format report for postprocessing (using tools such as Foreman) to get back such value. The report is for human information only. Using a shell script directly, you have to parse the XML file.

I'm currently integrating openscap-daemon into Debian sid (it's in the NEW queue by now, should be integrated in some days), which will help you to schedule and store the results and reports for postprocessing, which make it easier than shell-scripting.

If you want a complete integration, Scaptimony would help through storing results in a database in a ROR ecosystem... Yet I didn't start its packaging (well its ruby code... leave me some zen time first ;) )

--

Philippe.



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

Reply via email to