Hello,

I'm planning some effort towards Windows support for OpenSCAP and I'd
like to discuss a few topics so we can have an architecture that pleases
both users and developers.

1) Change probe architecture:

Currently our probe system have individual binaries for each OVAL
object, making it more complex and harder to maintain/debug due to IPC,
the historical reasons to this is to be able to use tailored SELinux
policies for each probe, which makes sense but sadly we never
implemented those policies. My proposal is to avoid having multiple
binaries for Windows environments and make object collecting easier with
a single probe which handles all objects.
* Extra: Changing Linux to a single-probe would be interesting too, feel
free to comment on this topic too!


2) Make it possible to implement/extend object collecting with Lua

My idea here is to make it easier to implement new (custom) objects or
to extend/modify existing ones using Lua, interfacing it with all needed
underlying API for Windows probes like WMI-related objects. Also would
enable remote scan features such as making extended probes that would
report only Pass/Fail like Thin Results, which would be really
interesting for a remote scan in a big infrastructure.
Lua Virtual Machine is around 100-200kb, it would be really light and
easy to send it through the network along with Lua probes for remote
scanning with dissolvable agents which is another plus, not needing
openscap installed on target machines and deleting the agent after scan.


I think these are huge and audacious changes that would be more
interesting than just simply implementing Windows probes in the current
probe system as is. I'd like to hear feedback from our users,
developers, maintainers, everyone.


Thanks
-- 
Raphael Sanchez Prudencio
Security Technologies | Red Hat, Inc.

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

Reply via email to