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
c3982b52
Commit
c3982b52
authored
Jun 13, 2021
by
Lucas Charles
Committed by
Russell Dickenson
Jun 13, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: Update SAST docs describing pinning to minor versions
parent
d97b8395
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
doc/user/application_security/sast/index.md
doc/user/application_security/sast/index.md
+18
-0
No files found.
doc/user/application_security/sast/index.md
View file @
c3982b52
...
@@ -239,6 +239,24 @@ spotbugs-sast:
...
@@ -239,6 +239,24 @@ spotbugs-sast:
FAIL_NEVER
:
1
FAIL_NEVER
:
1
```
```
#### Pinning to minor image version
While our templates use
`MAJOR`
version pinning to always ensure the latest analyzer
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:
```
yaml
include
:
-
template
:
Security/SAST.gitlab-ci.yml
spotbugs-sast
:
variables
:
SAST_ANALYZER_IMAGE_TAG
:
"
2.28.1"
```
### Customize rulesets **(ULTIMATE)**
### Customize rulesets **(ULTIMATE)**
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/235382) in GitLab 13.5.
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/235382) in GitLab 13.5.
...
...
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