Powerpipe: Dashboards for DevOps. Visualize cloud configurations. Assess security posture against a massive library of benchmarks. Build custom dashboards with code.
Is your feature request related to a problem? Please describe.
Using a custom mod with other mods as dependencies will cause all benchmarks included in the dependent mods to be displayed in the Web UI running powerpipe as a server.
Depending on the mods included in the dependencies, the number of benchmarks can be elevated (> 100), making the usage more complicated for users who only need to use the custom mod benchmarks.
Describe the solution you'd like
I want to be able to choose whether to display the benchmarks of the dependent mods or only the ones declared in the custom mod.
Some ideas on how this could be configured:
As a flag in the powerpipe server command, e.g powerpipe server --no-include-dependencies
As an environment variable, e.g POWERPIPE_SERVER_INCLUDE_DEPENDENCIES=true
Inside the dashboard hcl resource, e.g:
dashboard "my_example_dashboard" {
title = "My example Dashboard"
include_dependencies = false
}
Describe alternatives you've considered
A workaround would be to include all the needed code in the custom mod and avoid using dependencies. But this will increase the complexity and maintenance of the custom mod.
Is your feature request related to a problem? Please describe. Using a custom mod with other mods as dependencies will cause all benchmarks included in the dependent mods to be displayed in the Web UI running powerpipe as a server.
Depending on the mods included in the dependencies, the number of benchmarks can be elevated (> 100), making the usage more complicated for users who only need to use the custom mod benchmarks.
Describe the solution you'd like I want to be able to choose whether to display the benchmarks of the dependent mods or only the ones declared in the custom mod.
Some ideas on how this could be configured:
powerpipe server
command, e.gpowerpipe server --no-include-dependencies
POWERPIPE_SERVER_INCLUDE_DEPENDENCIES=true
Inside the
dashboard
hcl resource, e.g:Describe alternatives you've considered A workaround would be to include all the needed code in the custom mod and avoid using dependencies. But this will increase the complexity and maintenance of the custom mod.
Additional context