DataDog / KubeHound

Kubernetes Attack Graph
https://kubehound.io
Apache License 2.0
705 stars 39 forks source link

[ASENG-868] Implement StopOnError config for graph building #146

Closed edznux-dd closed 7 months ago

edznux-dd commented 8 months ago

This PR propose a fix for #144 by adding a config to allow continuing building the graph even after there are some errors. The default config is to continue on error, but print error message.

The long term solution will be to add an error handling module that tracks and display the error, criticality and source of the issues in a human readable way.

The error message should be very explicit that it may create an incomplete graph and thus cause inaccurate (false negative) results.

edznux-dd commented 7 months ago

Looks like this correctly solved the issue we encountered without unintended side effects, merging.