turbot / powerpipe

Powerpipe: Dashboards for DevOps. Visualize cloud configurations. Assess security posture against a massive library of benchmarks. Build custom dashboards with code.
https://powerpipe.io/
GNU Affero General Public License v3.0
228 stars 16 forks source link

`invalid memory address` while doing `show` on a control or benchmark that does not exist in the mod #181

Closed pskrbasu closed 6 months ago

pskrbasu commented 6 months ago

Describe the bug Getting a runtime error: invalid memory address or nil pointer dereference while showing a control or benchmark that does not exist in the mod.

Powerpipe version (powerpipe -v) Example: v0.1.0-alpha.202402201625

To reproduce

Expected behavior Error: 'benchmark.abcd' not found in mod.mod-folder

Additional context Add any other context about the problem here.

kaidaguerre commented 6 months ago

Fixed