Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
b66d8ade
Commit
b66d8ade
authored
Oct 13, 2021
by
Lucas Charles
Committed by
Russell Dickenson
Oct 13, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: Update SAST docs pinning example
parent
5e2fd303
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
doc/user/application_security/sast/index.md
doc/user/application_security/sast/index.md
+5
-1
No files found.
doc/user/application_security/sast/index.md
View file @
b66d8ade
...
...
@@ -255,12 +255,16 @@ versions are pulled, there are certain cases where it can be beneficial to pin
an analyzer to a specific release. To do so, override the
`SAST_ANALYZER_IMAGE_TAG`
CI/CD variable
in the job template directly.
In the example below, we
are pinning to a specific patch version of the
`spotbugs
`
analyzer:
In the example below, we
pin to a specific patch version of the
`spotbugs`
analyzer and minor version of the
`semgrep
`
analyzer:
```
yaml
include
:
-
template
:
Security/SAST.gitlab-ci.yml
semgrep-sast
:
variables
:
SAST_ANALYZER_IMAGE_TAG
:
"
2.12"
spotbugs-sast
:
variables
:
SAST_ANALYZER_IMAGE_TAG
:
"
2.28.1"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment