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
81d5bd38
Commit
81d5bd38
authored
Aug 04, 2020
by
Russell Dickenson
Committed by
Nick Gaskill
Aug 04, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add note for offline package managers
parent
8466ccb9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
doc/user/application_security/sast/index.md
doc/user/application_security/sast/index.md
+8
-0
No files found.
doc/user/application_security/sast/index.md
View file @
81d5bd38
...
@@ -507,6 +507,7 @@ To use SAST in an offline environment, you need:
...
@@ -507,6 +507,7 @@ To use SAST in an offline environment, you need:
-
To keep Docker-In-Docker disabled (default).
-
To keep Docker-In-Docker disabled (default).
-
A GitLab Runner with the
[
`docker` or `kubernetes` executor
](
#requirements
)
.
-
A GitLab Runner with the
[
`docker` or `kubernetes` executor
](
#requirements
)
.
-
A Docker Container Registry with locally available copies of SAST
[
analyzer
](
https://gitlab.com/gitlab-org/security-products/analyzers
)
images.
-
A Docker Container Registry with locally available copies of SAST
[
analyzer
](
https://gitlab.com/gitlab-org/security-products/analyzers
)
images.
-
Configure certificate checking of packages (optional).
NOTE:
**Note:**
NOTE:
**Note:**
GitLab Runner has a
[
default `pull policy` of `always`
](
https://docs.gitlab.com/runner/executors/docker.html#using-the-always-pull-policy
)
,
GitLab Runner has a
[
default `pull policy` of `always`
](
https://docs.gitlab.com/runner/executors/docker.html#using-the-always-pull-policy
)
,
...
@@ -563,6 +564,13 @@ variables:
...
@@ -563,6 +564,13 @@ variables:
The SAST job should now use local copies of the SAST analyzers to scan your code and generate
The SAST job should now use local copies of the SAST analyzers to scan your code and generate
security reports without requiring internet access.
security reports without requiring internet access.
### Configure certificate checking of packages
If a SAST job invokes a package manager, you must configure its certificate verification. In an
offline environment, certificate verification with an external source isn't possible. Either use a
self-signed certificate or disable certificate verification. Refer to the package manager's
documentation for instructions.
## Troubleshooting
## Troubleshooting
### `Error response from daemon: error processing tar file: docker-tar: relocation error`
### `Error response from daemon: error processing tar file: docker-tar: relocation error`
...
...
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