Commit 4f3cd654 authored by Alex Kalderimis's avatar Alex Kalderimis

Merge branch '287702-change-port-number' into 'master'

Change API Security port number to 5000

See merge request gitlab-org/gitlab!57628
parents d384df2f f2237ef4
---
title: API Fuzzing scanner port changed to non-privileged port
merge_request: 57628
author:
type: changed
...@@ -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:80 FUZZAPI_API: http://localhost:5000
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:80 FUZZAPI_API: http://apifuzzer:5000
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:80 \ -e FUZZAPI_API=http://apifuzzer:5000 \
-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:80 \ -e FUZZAPI_API=http://apifuzzer:5000 \
-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 \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment