Extract security scanner names to constants
The following discussion from !47067 (merged) should be addressed:
-
@oregand started a discussion: (+1 comment) nitpick (non-blocking)
Should we abstract
sast
to a constant?
The various security scanners have names that are mentioned in various places in the codebase, so extracting them to constants would make sense.
These would correspond to the backend names, e.g., defined here: https://gitlab.com/gitlab-org/gitlab/blob/3d743738faff46bf8dd221efa8271e1f38644ad5/ee/app/finders/security/security_jobs_finder.rb#L16