Hide "GitLab" as scanner vendor if only scanners are from Secure scanners
Summary
On the security dashboard, only some of the rows show the vendor for the scanner column.
Steps to reproduce
- Go to the GitLab Security Dashboard
Example Project
https://gitlab.com/gitlab-org/gitlab/-/security/dashboard/?state=DETECTED&state=CONFIRMED
What is the current bug behavior?
Some Vulnerabilities have a scanner "SAST", some other "SAST GitLab".
What is the expected correct behavior?
We should hide the GitLab vendor name if our provided scanners are the only ones enabled. Once any external scanner (3rd-party or even a home-grown custom analyzer) is added, we will show the vendor name for everyone. To state this another way:
If only GitLab scanners enabled
Do not display vendor name
Else
Display vendor name
Relevant logs and/or screenshots
Now that we are adding the ability to have custom scanners where the scanner name might be the same, but the vendor is different, we should always show the vendor name for all rows.
Edited by Matt Wilson