Vulnerability report - IAC scanner not enabled needs label text
Summary
Steps to reproduce
We added IaC scanning in %14.5. The vulnerability report correctly shows that it isn't enabled, but doesn't have the variable name replaced with the actual label: SAST_IAC is not enabled for this project.
should be Infrastructure as Code (IaC) Scanning is not enabled for this project.
Example Project
What is the current bug behavior?
SAST_IAC is not enabled for this project.
shows the variable name.
SAST_IAC is not enabled for this project.
should be Infrastructure as Code (IaC) Scanning is not enabled for this project.
https://gitlab.com/gitlab-examples/security/security-reports/-/security/vulnerability_report
Output of checks
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)
Possible fixes
-
Make sure a translation is provided for SAST_IAC
in:-
ee/app/assets/javascripts/security_dashboard/components/project/project_vulnerabilities.vue
-
ee/app/assets/javascripts/security_dashboard/components/project/project_vulnerability_report.vue
-