Hide the base job and fix stage
What does this MR do and why?
Context
The IaC scanner consists of 2 templates and 2 jobs:
- Security/SAST-IaC.latest.gitlab-ci.yml
- it does nothing, just includes the other template (why does it exist?)
- Jobs/SAST-IaC.latest.gitlab-ci.yml
-
iac-sast
- the base job -
kics-iac-sast
- a higher level job that extends the base job
-
What's changed
This MR turns the iac-sast
job to hidden and moves the stage definition to kics-iac-sast
.
I'd recommend moving kics-iac-sast
to Security/SAST-IaC.latest.gitlab-ci.yml
in a separate MR. This would align the IaC scanner with other IaC GitLab templates and would further improve advanced usage while it would not have any negative effect for users who "just" include the templates.
Closes #350417 (closed)
Screenshots or screen recordings
These are strongly recommended to assist reviewers and reduce the time to merge your change.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.