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
e01b4be6
Commit
e01b4be6
authored
May 18, 2020
by
Adam Cohen
Committed by
Nick Gaskill
May 18, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Provide workaround for DS local file limitation
parent
e3f5ac66
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
doc/user/application_security/dependency_scanning/index.md
doc/user/application_security/dependency_scanning/index.md
+7
-4
No files found.
doc/user/application_security/dependency_scanning/index.md
View file @
e01b4be6
...
@@ -591,15 +591,18 @@ ensure that it can reach your private repository. Here is an example configurati
...
@@ -591,15 +591,18 @@ ensure that it can reach your private repository. Here is an example configurati
### Referencing local dependencies using a path in JavaScript projects
### Referencing local dependencies using a path in JavaScript projects
Although dependency scanning doesn't support it, you can reference dependencies by using a
The
[
Retire.js
](
https://gitlab.com/gitlab-org/security-products/analyzers/retire.js
)
analyzer
[
local path
](
https://docs.npmjs.com/files/package.json#local-paths
)
in the
`package.json`
for a
doesn't support dependency references made with
[
local paths
](
https://docs.npmjs.com/files/package.json#local-paths
)
JavaScript project. The dependency scan generates the following error when you use
in the
`package.json`
of JavaScript projects. The dependency scan outputs the following error for
`file: <path/to/dependency-name>`
to reference a package
:
such references
:
```
text
```
text
ERROR: Could not find dependencies: <dependency-name>. You may need to run npm install
ERROR: Could not find dependencies: <dependency-name>. You may need to run npm install
```
```
As a workaround, remove the
[
`retire.js`
](
analyzers.md#selecting-specific-analyzers
)
analyzer from
[
DS_DEFAULT_ANALYZERS
](
#configuring-dependency-scanning
)
.
## 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