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
ad828646
Commit
ad828646
authored
Nov 18, 2020
by
Adam Cohen
Committed by
Shinya Maeda
Nov 18, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use CS_ANALYZER_IMAGE in CS template
parent
f923cc7a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
changelogs/unreleased/reference-cs-image-in-template.yml
changelogs/unreleased/reference-cs-image-in-template.yml
+5
-0
lib/gitlab/ci/templates/Security/Container-Scanning.gitlab-ci.yml
...ab/ci/templates/Security/Container-Scanning.gitlab-ci.yml
+2
-1
No files found.
changelogs/unreleased/reference-cs-image-in-template.yml
0 → 100644
View file @
ad828646
---
title
:
Use CS_ANALYZER_IMAGE in CS template
merge_request
:
47856
author
:
type
:
added
lib/gitlab/ci/templates/Security/Container-Scanning.gitlab-ci.yml
View file @
ad828646
...
...
@@ -8,7 +8,7 @@ variables:
container_scanning
:
stage
:
test
image
:
$SECURE_ANALYZERS_PREFIX/klar:$CS_MAJOR_VERSION
image
:
"
$CS_ANALYZER_IMAGE"
variables
:
# By default, use the latest clair vulnerabilities database, however, allow it to be overridden here with a specific image
# to enable container scanning to run offline, or to provide a consistent list of vulnerabilities for integration testing purposes
...
...
@@ -18,6 +18,7 @@ container_scanning:
# file. See https://docs.gitlab.com/ee/user/application_security/container_scanning/index.html#overriding-the-container-scanning-template
# for details
GIT_STRATEGY
:
none
CS_ANALYZER_IMAGE
:
$SECURE_ANALYZERS_PREFIX/klar:$CS_MAJOR_VERSION
allow_failure
:
true
services
:
-
name
:
$CLAIR_DB_IMAGE
...
...
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