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
1c114a63
Commit
1c114a63
authored
Nov 09, 2020
by
Dennis Appelt
Committed by
Rémy Coutable
Nov 09, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Package Hunter job
parent
7f95f25e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
.gitlab/ci/reports.gitlab-ci.yml
.gitlab/ci/reports.gitlab-ci.yml
+20
-0
No files found.
.gitlab/ci/reports.gitlab-ci.yml
View file @
1c114a63
...
@@ -152,6 +152,26 @@ dependency_scanning:
...
@@ -152,6 +152,26 @@ dependency_scanning:
dependency_scanning
:
gl-dependency-scanning-report.json
dependency_scanning
:
gl-dependency-scanning-report.json
expire_in
:
1 week
# GitLab-specific
expire_in
:
1 week
# GitLab-specific
# The job below analysis dependencies for malicous behavior
package_hunter
:
extends
:
-
.reports:schedule-dast
stage
:
test
image
:
name
:
registry.gitlab.com/gitlab-com/gl-security/security-research/package-hunter-cli:latest
entrypoint
:
[
"
"
]
needs
:
[]
script
:
-
rm -r spec locale .git app/assets/images doc/
-
cd .. && tar -I "gzip --best" -cf gitlab.tgz gitlab/
-
DEBUG=* HTR_user=$PACKAGE_HUNTER_USER HTR_pass=$PACKAGE_HUNTER_PASS node /usr/src/app/cli.js analyze --format gitlab gitlab.tgz | tee $CI_PROJECT_DIR/gl-dependency-scanning-report.json
artifacts
:
paths
:
-
gl-dependency-scanning-report.json
# GitLab-specific
reports
:
dependency_scanning
:
gl-dependency-scanning-report.json
expire_in
:
1 week
# GitLab-specific
license_scanning
:
license_scanning
:
extends
:
extends
:
-
.default-retry
-
.default-retry
...
...
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