Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uw-spring-security
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
adi-ia
uw-spring-security
Commits
10ad61fb
Commit
10ad61fb
authored
2 years ago
by
Lyle Hanson
Browse files
Options
Downloads
Patches
Plain Diff
Add security scanning jobs
parent
29d8527d
No related branches found
No related tags found
No related merge requests found
Pipeline
#137717
passed with warnings
2 years ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+38
-3
38 additions, 3 deletions
.gitlab-ci.yml
with
38 additions
and
3 deletions
.gitlab-ci.yml
+
38
−
3
View file @
10ad61fb
image
:
maven:3-amazoncorretto-8
image
:
maven:3-amazoncorretto-8
include
:
# Security scanning
-
template
:
Security/SAST.gitlab-ci.yml
-
template
:
Security/Secret-Detection.gitlab-ci.yml
-
template
:
Security/Dependency-Scanning.gitlab-ci.yml
variables
:
variables
:
# This will suppress any download for dependencies and plugins or upload messages which would clutter the console log.
# This will suppress any download for dependencies and plugins or upload messages which would clutter the console log.
# `showDateTime` will show the passed time in milliseconds. You need to specify `--batch-mode` to make this work.
# `showDateTime` will show the passed time in milliseconds. You need to specify `--batch-mode` to make this work.
...
@@ -20,10 +26,39 @@ default:
...
@@ -20,10 +26,39 @@ default:
-
aws
-
aws
-
docker
-
docker
test
:
stages
:
stage
:
test
-
build
-
test
-
deploy
build_jar
:
stage
:
build
script
:
script
:
-
mvn clean $MAVEN_CLI_OPTS verify
-
mvn $MAVEN_CLI_OPTS clean verify
artifacts
:
paths
:
-
target
reports
:
dotenv
:
vars.env
# Security scanning jobs
secret_detection
:
needs
:
[]
semgrep-sast
:
needs
:
[]
gemnasium-maven-dependency_scanning
:
variables
:
DS_JAVA_VERSION
:
8
spotbugs-sast
:
needs
:
-
build_jar
variables
:
SAST_JAVA_VERSION
:
8
MAVEN_REPO_PATH
:
$CI_PROJECT_DIR/.m2/repository
COMPILE
:
"
false"
deploy
:
deploy
:
stage
:
deploy
stage
:
deploy
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment