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
6a6dfb04
Commit
6a6dfb04
authored
Oct 18, 2021
by
Russell Dickenson
Committed by
Nick Gaskill
Oct 18, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Dependency Scanning tip
parent
5ca5f2a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
doc/user/application_security/dependency_scanning/index.md
doc/user/application_security/dependency_scanning/index.md
+15
-0
No files found.
doc/user/application_security/dependency_scanning/index.md
View file @
6a6dfb04
...
@@ -946,3 +946,18 @@ include:
...
@@ -946,3 +946,18 @@ include:
variables
:
variables
:
DS_DISABLE_DIND
:
"
true"
DS_DISABLE_DIND
:
"
true"
```
```
### Message `<file> does not exist in <commit SHA>`
When the
`Location`
of a dependency in a file is shown, the path in the link goes to a specific Git
SHA.
If the lock file that our dependency scanning tools reviewed was cached, however, selecting that
link redirects you to the repository root, with the message:
`<file> does not exist in <commit SHA>`
.
The lock file is cached during the build phase and passed to the dependency scanning job before the
scan occurs. Because the cache is downloaded before the analyzer run occurs, the existence of a lock
file in the
`CI_BUILDS_DIR`
directory triggers the dependency scanning job.
We recommend committing the lock files, which prevents this warning.
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