Support configuring from Paved Roads for Container Scanning initiative
The following discussion from components/opentofu!468 (merged) should be addressed:
-
@timofurrer started a discussion: (+1 comment)
It's a pity that the component doesn't support all these configurations via
inputs. I think it should! If if would, we could avoid this entire file and only work with a conditional component include!
In the OpenTofu CI/CD component we need to conditionally include container scanning (because we don't want it to run on self-managed, arguable, all GitLab-managed component should do this!) which makes us use an additional "wrapper" CI yaml because the container scanning component doesn't support a lot of its configuration as inputs. See this MR: Re-add container scanning to CI/CD pipeline (components/opentofu!468 - merged).
This configuration matches the Paved Roads for Container Scanning initiative.