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
eb7d97ad
Commit
eb7d97ad
authored
Apr 23, 2021
by
Michael Eddington
Committed by
Matija Čupić
Apr 23, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update API Fuzzing image name to use SECURE_ANALYZERS_PREFIX
parent
2c361e2b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
6 deletions
+10
-6
ee/changelogs/unreleased/59570-update-image-name-apifuzzing.yml
...ngelogs/unreleased/59570-update-image-name-apifuzzing.yml
+5
-0
ee/spec/lib/gitlab/ci/templates/api_fuzzing_latest_gitlab_ci_yaml_spec.rb
...ab/ci/templates/api_fuzzing_latest_gitlab_ci_yaml_spec.rb
+2
-2
lib/gitlab/ci/templates/Security/API-Fuzzing.latest.gitlab-ci.yml
...ab/ci/templates/Security/API-Fuzzing.latest.gitlab-ci.yml
+3
-4
No files found.
ee/changelogs/unreleased/59570-update-image-name-apifuzzing.yml
0 → 100644
View file @
eb7d97ad
---
title
:
Use SECURE_ANALYZERS_PREFIX variable for API Fuzzing
merge_request
:
60059
author
:
type
:
changed
ee/spec/lib/gitlab/ci/templates/api_fuzzing_latest_gitlab_ci_yaml_spec.rb
View file @
eb7d97ad
...
...
@@ -10,8 +10,8 @@ RSpec.describe 'API-Fuzzing.latest.gitlab-ci.yml' do
describe
'the template file'
do
let
(
:template_filename
)
{
Rails
.
root
.
join
(
"lib/gitlab/ci/templates/"
+
template
.
full_name
)
}
let
(
:contents
)
{
File
.
read
(
template_filename
)
}
let
(
:production_registry
)
{
'
registry.gitlab.com/gitlab-org/security-products/analyzers/api-fuzzing:${FUZZAPI_VERSION}-engine
'
}
let
(
:staging_registry
)
{
'
registry.gitlab.com/gitlab-org/security-products/analyzers/api-fuzzing-src:${FUZZAPI_VERSION}-engine
'
}
let
(
:production_registry
)
{
'
${SECURE_ANALYZERS_PREFIX}/api-fuzzing:${FUZZAPI_VERSION}
'
}
let
(
:staging_registry
)
{
'
${SECURE_ANALYZERS_PREFIX}/api-fuzzing-src:${FUZZAPI_VERSION}
'
}
# Make sure future changes to the template use the production container registry.
#
...
...
lib/gitlab/ci/templates/Security/API-Fuzzing.latest.gitlab-ci.yml
View file @
eb7d97ad
...
...
@@ -18,7 +18,8 @@ variables:
# available (non 500 response to HTTP(s))
FUZZAPI_SERVICE_START_TIMEOUT
:
"
300"
#
FUZZAPI_IMAGE
:
registry.gitlab.com/gitlab-org/security-products/analyzers/api-fuzzing:${FUZZAPI_VERSION}-engine
SECURE_ANALYZERS_PREFIX
:
"
registry.gitlab.com/gitlab-org/security-products/analyzers"
FUZZAPI_IMAGE
:
${SECURE_ANALYZERS_PREFIX}/api-fuzzing:${FUZZAPI_VERSION}
#
apifuzzer_fuzz_unlicensed
:
...
...
@@ -34,9 +35,7 @@ apifuzzer_fuzz_unlicensed:
apifuzzer_fuzz
:
stage
:
fuzz
image
:
name
:
$FUZZAPI_IMAGE
entrypoint
:
[
"
/bin/bash"
,
"
-l"
,
"
-c"
]
image
:
$FUZZAPI_IMAGE
variables
:
FUZZAPI_PROJECT
:
$CI_PROJECT_PATH
FUZZAPI_API
:
http://localhost:80
...
...
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