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
7e627a7d
Commit
7e627a7d
authored
Apr 27, 2021
by
Herber Madrigal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update API Fuzzing image name to use SECURE_ANALYZERS_PREFIX
parent
79dbf3c5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
ee/spec/lib/gitlab/ci/templates/api_fuzzing_gitlab_ci_yaml_spec.rb
...ib/gitlab/ci/templates/api_fuzzing_gitlab_ci_yaml_spec.rb
+2
-2
lib/gitlab/ci/templates/Security/API-Fuzzing.gitlab-ci.yml
lib/gitlab/ci/templates/Security/API-Fuzzing.gitlab-ci.yml
+2
-1
No files found.
ee/spec/lib/gitlab/ci/templates/api_fuzzing_gitlab_ci_yaml_spec.rb
View file @
7e627a7d
...
...
@@ -8,8 +8,8 @@ RSpec.describe 'API-Fuzzing.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.gitlab-ci.yml
View file @
7e627a7d
...
...
@@ -11,6 +11,7 @@ stages:
-
fuzz
variables
:
SECURE_ANALYZERS_PREFIX
:
"
registry.gitlab.com/gitlab-org/security-products/analyzers"
FUZZAPI_PROFILE
:
Quick
FUZZAPI_VERSION
:
"
1.6"
FUZZAPI_CONFIG
:
.gitlab-api-fuzzing.yml
...
...
@@ -24,7 +25,7 @@ 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
FUZZAPI_IMAGE
:
${SECURE_ANALYZERS_PREFIX}/api-fuzzing:${FUZZAPI_VERSION}
#
apifuzzer_fuzz_unlicensed
:
...
...
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