Deprecating SAST_ANALYZER_IMAGE_TAG
Release post content
With the maturity of GitLab Secure scanning tools, we've needed to add more granularity into our release process. Prior to this release GitLab shared a major version number for all our analyzers and tools. This required all tools to share a major version and prevented the use of semantic version numbering. Beginning in 13.10 GitLab SAST will deprecate the SAST_ANALYZER_IMAGE_TAG
in our managed SAST.gitlab-ci.yml CI template in favor of major.minor
tags for each analyzer.
If you override or maintain custom versions of SAST.gitlab-ci.yml
you will want to update your CI templates to stop referencing SAST_ANALYZER_IMAGE_TAG
. We strongly encourage inheriting and overriding our managed CI templates to future proof your CI templates. This change will allow you to instead override with a pinned major.minor
version to more granular control future analyzer updates. We will remove SAST_ANALYZER_IMAGE_TAG
with GitLab 14.0, releasing May 22, 2021.
Problem to solve
GitLab's Secure scanning tools have continued to mature, necessitating our need to add more granularity into our release process. Prior to this release GitLab shared a major version number for all analyzers and tools used in SAST. While this approach provides simplicity for customers, it introduces an unintended coupling between analyzer projects. In short, having one variable to declare the version of analyzers to be utilized forces us to keep the analyzer versions synced rather than allowing the analyzers to be versioned naturally according to new features being introduced over time. We need to undo this coupling.
Proposal
-
Add SAST_ANALYZER_IMAGE_TAG
as a variable in thebandit-sast
job. Default its value to2
. -
Add SAST_ANALYZER_IMAGE_TAG
as a variable in thebrakeman-sast
job. Default its value to2
. -
Add SAST_ANALYZER_IMAGE_TAG
as a variable in theeslint-sast
job. Default its value to2
. -
Add SAST_ANALYZER_IMAGE_TAG
as a variable in theflawfinder-sast
job. Default its value to2
. -
Add SAST_ANALYZER_IMAGE_TAG
as a variable in thegosec-sast
job. Default its value to2
. -
Add SAST_ANALYZER_IMAGE_TAG
as a variable in thekubesec-sast
job. Default its value to2
. -
Add SAST_ANALYZER_IMAGE_TAG
as a variable in themobsf-sast
job. Default its value to2
. -
Add SAST_ANALYZER_IMAGE_TAG
as a variable in thenodejs-scan-sast
job. Default its value to2
. -
Add SAST_ANALYZER_IMAGE_TAG
as a variable in thephpcs-security-audit-sast
job. Default its value to2
. -
Add SAST_ANALYZER_IMAGE_TAG
as a variable in thepmd-apex-sast
job. Default its value to2
. -
Add SAST_ANALYZER_IMAGE_TAG
as a variable in thesecurity-code-scan-sast
job. Default its value to2
. -
Add SAST_ANALYZER_IMAGE_TAG
as a variable in thesemgrep-sast
job. Default its value to2
. -
Add SAST_ANALYZER_IMAGE_TAG
as a variable in thesobelow-sast
job. Default its value to2
. -
Add SAST_ANALYZER_IMAGE_TAG
as a variable in thespotbugs-sast
job. Default its value to2
. -
Remove SAST_ANALYZER_IMAGE_TAG
as a global variable from the SAST vendored template.