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
17cb7d21
Commit
17cb7d21
authored
Jul 01, 2020
by
Lucas Charles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Docs: Migrate secure integration doc to rules
Remove older only/except example in favor of rules syntax
parent
f06309ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
doc/development/integrations/secure.md
doc/development/integrations/secure.md
+6
-7
No files found.
doc/development/integrations/secure.md
View file @
17cb7d21
...
@@ -100,13 +100,12 @@ the project repository contains Java source code and the `dependency_scanning` f
...
@@ -100,13 +100,12 @@ the project repository contains Java source code and the `dependency_scanning` f
```
yaml
```
yaml
mysec_dependency_scanning
:
mysec_dependency_scanning
:
except
:
rules
:
variables
:
-
if
:
$DEPENDENCY_SCANNING_DISABLED
-
$DEPENDENCY_SCANNING_DISABLED
when
:
never
only
:
-
if
:
$GITLAB_FEATURES =~ /\bdependency_scanning\b/
variables
:
exists
:
-
$GITLAB_FEATURES =~ /\bdependency_scanning\b/ &&
-
'
**/*.java'
$CI_PROJECT_REPOSITORY_LANGUAGES =~ /\bjava\b/
```
```
Any additional job policy should only be configured by users based on their needs.
Any additional job policy should only be configured by users based on their needs.
...
...
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