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
f2237ef4
Commit
f2237ef4
authored
Apr 15, 2021
by
Michael Eddington
Committed by
Alex Kalderimis
Apr 15, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change API Security port number to 5000
parent
095c25f4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
ee/changelogs/unreleased/287702-change-port-number.yml
ee/changelogs/unreleased/287702-change-port-number.yml
+5
-0
lib/gitlab/ci/templates/Security/API-Fuzzing.gitlab-ci.yml
lib/gitlab/ci/templates/Security/API-Fuzzing.gitlab-ci.yml
+6
-4
No files found.
ee/changelogs/unreleased/287702-change-port-number.yml
0 → 100644
View file @
f2237ef4
---
title
:
API Fuzzing scanner port changed to non-privileged port
merge_request
:
57628
author
:
type
:
changed
lib/gitlab/ci/templates/Security/API-Fuzzing.gitlab-ci.yml
View file @
f2237ef4
...
@@ -45,7 +45,7 @@ apifuzzer_fuzz:
...
@@ -45,7 +45,7 @@ apifuzzer_fuzz:
entrypoint
:
[
"
/bin/bash"
,
"
-l"
,
"
-c"
]
entrypoint
:
[
"
/bin/bash"
,
"
-l"
,
"
-c"
]
variables
:
variables
:
FUZZAPI_PROJECT
:
$CI_PROJECT_PATH
FUZZAPI_PROJECT
:
$CI_PROJECT_PATH
FUZZAPI_API
:
http://localhost:
8
0
FUZZAPI_API
:
http://localhost:
500
0
FUZZAPI_NEW_REPORT
:
1
FUZZAPI_NEW_REPORT
:
1
FUZZAPI_LOG_SCANNER
:
gl-apifuzzing-api-scanner.log
FUZZAPI_LOG_SCANNER
:
gl-apifuzzing-api-scanner.log
TZ
:
America/Los_Angeles
TZ
:
America/Los_Angeles
...
@@ -107,7 +107,7 @@ apifuzzer_fuzz_dnd:
...
@@ -107,7 +107,7 @@ apifuzzer_fuzz_dnd:
DOCKER_DRIVER
:
overlay2
DOCKER_DRIVER
:
overlay2
DOCKER_TLS_CERTDIR
:
"
"
DOCKER_TLS_CERTDIR
:
"
"
FUZZAPI_PROJECT
:
$CI_PROJECT_PATH
FUZZAPI_PROJECT
:
$CI_PROJECT_PATH
FUZZAPI_API
:
http://apifuzzer:
8
0
FUZZAPI_API
:
http://apifuzzer:
500
0
allow_failure
:
true
allow_failure
:
true
rules
:
rules
:
-
if
:
$FUZZAPI_D_TARGET_IMAGE ==
null
&& $FUZZAPI_D_WORKER_IMAGE ==
null
-
if
:
$FUZZAPI_D_TARGET_IMAGE ==
null
&& $FUZZAPI_D_WORKER_IMAGE ==
null
...
@@ -142,6 +142,7 @@ apifuzzer_fuzz_dnd:
...
@@ -142,6 +142,7 @@ apifuzzer_fuzz_dnd:
-e TZ=America/Los_Angeles \
-e TZ=America/Los_Angeles \
-e GITLAB_FEATURES \
-e GITLAB_FEATURES \
-p 80:80 \
-p 80:80 \
-p 5000:5000 \
-p 8000:8000 \
-p 8000:8000 \
-p 514:514 \
-p 514:514 \
--restart=no \
--restart=no \
...
@@ -168,7 +169,7 @@ apifuzzer_fuzz_dnd:
...
@@ -168,7 +169,7 @@ apifuzzer_fuzz_dnd:
docker run \
docker run \
--name worker \
--name worker \
--network $FUZZAPI_D_NETWORK \
--network $FUZZAPI_D_NETWORK \
-e FUZZAPI_API=http://apifuzzer:
8
0 \
-e FUZZAPI_API=http://apifuzzer:
500
0 \
-e FUZZAPI_PROJECT \
-e FUZZAPI_PROJECT \
-e FUZZAPI_PROFILE \
-e FUZZAPI_PROFILE \
-e FUZZAPI_CONFIG \
-e FUZZAPI_CONFIG \
...
@@ -211,7 +212,7 @@ apifuzzer_fuzz_dnd:
...
@@ -211,7 +212,7 @@ apifuzzer_fuzz_dnd:
--name worker \
--name worker \
--network $FUZZAPI_D_NETWORK \
--network $FUZZAPI_D_NETWORK \
-e TZ=America/Los_Angeles \
-e TZ=America/Los_Angeles \
-e FUZZAPI_API=http://apifuzzer:
8
0 \
-e FUZZAPI_API=http://apifuzzer:
500
0 \
-e FUZZAPI_PROJECT \
-e FUZZAPI_PROJECT \
-e FUZZAPI_PROFILE \
-e FUZZAPI_PROFILE \
-e FUZZAPI_CONFIG \
-e FUZZAPI_CONFIG \
...
@@ -237,6 +238,7 @@ apifuzzer_fuzz_dnd:
...
@@ -237,6 +238,7 @@ apifuzzer_fuzz_dnd:
-v $CI_PROJECT_DIR:/app \
-v $CI_PROJECT_DIR:/app \
-v `pwd`/$FUZZAPI_REPORT_ASSET_PATH:/app/$FUZZAPI_REPORT_ASSET_PATH:rw \
-v `pwd`/$FUZZAPI_REPORT_ASSET_PATH:/app/$FUZZAPI_REPORT_ASSET_PATH:rw \
-p 81:80 \
-p 81:80 \
-p 5001:5000 \
-p 8001:8000 \
-p 8001:8000 \
-p 515:514 \
-p 515:514 \
--restart=no \
--restart=no \
...
...
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