fix: Only run advanced SAST job when Ultimate license present
What does this MR do and why?
Only run advanced SAST job when Ultimate license present. While we do perform a license check in the job itself we should limit how often the job executes so users on a non-Ultimate license don't see a failing job in their pipelines
Relates to #472217 (closed) and also addresses #471878 (closed)
Note that this cleans up some of the specs to use shared examples so reviewing per-commit is a bit easier
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Edited by Lucas Charles