hubblestack / hubble

Hubble is a modular, open-source security compliance framework. The project provides on-demand profile-based auditing, real-time security event notifications, alerting, and reporting.
Apache License 2.0
380 stars 87 forks source link

this one part is failing, causing the whole grains loader to fail... separate to preserve originals #1118

Closed jettero closed 2 years ago

jettero commented 2 years ago

Separate the new parts into a separate loader function so it doesn't interfere with the old parts.

(There was a kerfluffle over difusedxml. moved from reqs to setup.py)

fossam commented 2 years ago

This would traceback when systemctl is not available: https://github.com/hubblestack/hubble/blob/43596915f6285c8e8f64edfce04626dd9d70b91b/hubblestack/grains/osqueryinfo.py#L30

Actually, it would Traceback on more than that.