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
daebde1b
Commit
daebde1b
authored
Nov 09, 2021
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'da/add-yarn-audit-ci-job' into 'master'
Add Yarn Audit CI Job See merge request gitlab-org/gitlab!73158
parents
d88b0ed8
0ebf0c4f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
.gitlab/ci/reports.gitlab-ci.yml
.gitlab/ci/reports.gitlab-ci.yml
+7
-0
.gitlab/ci/rules.gitlab-ci.yml
.gitlab/ci/rules.gitlab-ci.yml
+7
-0
No files found.
.gitlab/ci/reports.gitlab-ci.yml
View file @
daebde1b
...
...
@@ -96,6 +96,13 @@ retire-js-dependency_scanning:
gemnasium-python-dependency_scanning
:
rules
:
!reference
[
"
.reports:rules:gemnasium-python-dependency_scanning"
,
rules
]
yarn-audit-dependency_scanning
:
extends
:
.ds-analyzer
image
:
"
registry.gitlab.com/gitlab-org/security-products/analyzers/npm-audit:1.4.0"
variables
:
TOOL
:
yarn
rules
:
!reference
[
"
.reports:rules:yarn-audit-dependency_scanning"
,
rules
]
# Analyze dependencies for malicious behavior
# See https://gitlab.com/gitlab-com/gl-security/security-research/package-hunter
.package_hunter-base
:
...
...
.gitlab/ci/rules.gitlab-ci.yml
View file @
daebde1b
...
...
@@ -167,6 +167,7 @@
.nodejs-patterns
:
&nodejs-patterns
-
'
{package.json,*/package.json,*/*/package.json}'
-
'
{yarn.lock,*/yarn.lock,*/*/yarn.lock}'
.python-patterns
:
&python-patterns
-
'
{requirements.txt,*/requirements.txt,*/*/requirements.txt}'
...
...
@@ -1483,6 +1484,12 @@
when
:
never
-
changes
:
*python-patterns
.reports:rules:yarn-audit-dependency_scanning:
rules
:
-
if
:
'
$DEPENDENCY_SCANNING_DISABLED
||
$GITLAB_FEATURES
!~
/\bdependency_scanning\b/'
when
:
never
-
changes
:
*nodejs-patterns
.reports:rules:schedule-dast:
rules
:
-
if
:
'
$DAST_DISABLED
||
$GITLAB_FEATURES
!~
/\bdast\b/'
...
...
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