ocurity / dracon

Security scanning & static analysis tool - forked and rewritten from @thought-machine/dracon
https://ocurity.com
Apache License 2.0
61 stars 9 forks source link

Add more checks for components that are not resolved correctly #170

Closed ptzianos closed 2 months ago

ptzianos commented 2 months ago

Issue

If a component is not marked correctly as managed by Helm or is not resolved correctly, a nil pointer dereference error will be thrown by the Prepare method of the k8sOrchestrator because it will try to Apply the manifest that will be nil. We should have better validation checks for the component configuration before trying to apply anything.