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
1d4d4d62
Commit
1d4d4d62
authored
Mar 02, 2021
by
Michael Eddington
Committed by
Stan Hu
Mar 02, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removing services from API Fuzzing CI Template
parent
e3bc67fa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
5 deletions
+16
-5
ee/changelogs/unreleased/321916-remove-services-apifuzz.yml
ee/changelogs/unreleased/321916-remove-services-apifuzz.yml
+5
-0
lib/gitlab/ci/templates/Security/API-Fuzzing.gitlab-ci.yml
lib/gitlab/ci/templates/Security/API-Fuzzing.gitlab-ci.yml
+11
-5
No files found.
ee/changelogs/unreleased/321916-remove-services-apifuzz.yml
0 → 100644
View file @
1d4d4d62
---
title
:
Remove services section from API Fuzzing CI template
merge_request
:
54746
author
:
type
:
changed
lib/gitlab/ci/templates/Security/API-Fuzzing.gitlab-ci.yml
View file @
1d4d4d62
...
...
@@ -45,13 +45,10 @@ apifuzzer_fuzz:
entrypoint
:
[
"
/bin/bash"
,
"
-l"
,
"
-c"
]
variables
:
FUZZAPI_PROJECT
:
$CI_PROJECT_PATH
FUZZAPI_API
:
http://
apifuzzer
:80
FUZZAPI_API
:
http://
localhost
:80
FUZZAPI_NEW_REPORT
:
1
FUZZAPI_LOG_SCANNER
:
gl-apifuzzing-api-scanner.log
TZ
:
America/Los_Angeles
services
:
-
name
:
$FUZZAPI_IMAGE
alias
:
apifuzzer
entrypoint
:
[
"
dotnet"
,
"
/peach/Peach.Web.dll"
]
allow_failure
:
true
rules
:
-
if
:
$FUZZAPI_D_TARGET_IMAGE
...
...
@@ -80,17 +77,26 @@ apifuzzer_fuzz:
# Make sure asset path exists
-
mkdir -p $FUZZAPI_REPORT_ASSET_PATH
#
# Start API Security background process
-
dotnet /peach/Peach.Web.dll &> $FUZZAPI_LOG_SCANNER &
-
APISEC_PID=$!
#
# Start scanning
-
worker-entry
#
# Run user provided post-script
-
sh -c "$FUZZAPI_POST_SCRIPT"
#
# Shutdown API Security
-
kill $APISEC_PID
-
wait $APISEC_PID
#
artifacts
:
when
:
always
paths
:
-
$FUZZAPI_REPORT_ASSET_PATH
-
$FUZZAPI_REPORT
-
$FUZZAPI_LOG_SCANNER
reports
:
api_fuzzing
:
$FUZZAPI_REPORT
...
...
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