Commit 672757e5 authored by Philip Cunningham's avatar Philip Cunningham

Increment DAST_VERSION in on-demand DAST template

Upgrades DAST version to latest for on-demand scans.

Changelog: changed
MR: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/65218
EE: true
parent 2723df2e
...@@ -130,7 +130,7 @@ RSpec.describe Gitlab::Ci::Config do ...@@ -130,7 +130,7 @@ RSpec.describe Gitlab::Ci::Config do
image: { name: '$SECURE_ANALYZERS_PREFIX/dast:$DAST_VERSION' }, image: { name: '$SECURE_ANALYZERS_PREFIX/dast:$DAST_VERSION' },
variables: { variables: {
DAST_AUTH_URL: dast_site_profile.auth_url, DAST_AUTH_URL: dast_site_profile.auth_url,
DAST_VERSION: 1, DAST_VERSION: 2,
SECURE_ANALYZERS_PREFIX: secure_analyzers_prefix, SECURE_ANALYZERS_PREFIX: secure_analyzers_prefix,
DAST_WEBSITE: dast_site_profile.dast_site.url, DAST_WEBSITE: dast_site_profile.dast_site.url,
DAST_FULL_SCAN_ENABLED: 'false', DAST_FULL_SCAN_ENABLED: 'false',
......
...@@ -132,7 +132,7 @@ RSpec.describe Gitlab::Ci::Config::SecurityOrchestrationPolicies::Processor do ...@@ -132,7 +132,7 @@ RSpec.describe Gitlab::Ci::Config::SecurityOrchestrationPolicies::Processor do
}, },
variables: { variables: {
DAST_AUTH_URL: dast_site_profile.auth_url, DAST_AUTH_URL: dast_site_profile.auth_url,
DAST_VERSION: 1, DAST_VERSION: 2,
SECURE_ANALYZERS_PREFIX: secure_analyzers_prefix, SECURE_ANALYZERS_PREFIX: secure_analyzers_prefix,
DAST_WEBSITE: dast_site_profile.dast_site.url, DAST_WEBSITE: dast_site_profile.dast_site.url,
DAST_FULL_SCAN_ENABLED: 'false', DAST_FULL_SCAN_ENABLED: 'false',
......
...@@ -146,7 +146,7 @@ RSpec.describe Ci::RunDastScanService do ...@@ -146,7 +146,7 @@ RSpec.describe Ci::RunDastScanService do
public: true public: true
}, { }, {
key: 'DAST_VERSION', key: 'DAST_VERSION',
value: '1', value: '2',
public: true public: true
}, { }, {
key: 'DAST_WEBSITE', key: 'DAST_WEBSITE',
......
...@@ -70,7 +70,7 @@ RSpec.describe Security::SecurityOrchestrationPolicies::OnDemandScanPipelineConf ...@@ -70,7 +70,7 @@ RSpec.describe Security::SecurityOrchestrationPolicies::OnDemandScanPipelineConf
DAST_USERNAME: site_profile.auth_username, DAST_USERNAME: site_profile.auth_username,
DAST_USERNAME_FIELD: site_profile.auth_username_field, DAST_USERNAME_FIELD: site_profile.auth_username_field,
DAST_USE_AJAX_SPIDER: 'false', DAST_USE_AJAX_SPIDER: 'false',
DAST_VERSION: 1, DAST_VERSION: 2,
DAST_WEBSITE: site_profile.dast_site.url, DAST_WEBSITE: site_profile.dast_site.url,
SECURE_ANALYZERS_PREFIX: secure_analyzers_prefix SECURE_ANALYZERS_PREFIX: secure_analyzers_prefix
}, },
......
...@@ -10,7 +10,7 @@ stages: ...@@ -10,7 +10,7 @@ stages:
- dast - dast
variables: variables:
DAST_VERSION: 1 DAST_VERSION: 2
# Setting this variable will affect all Security templates # Setting this variable will affect all Security templates
# (SAST, Dependency Scanning, ...) # (SAST, Dependency Scanning, ...)
SECURE_ANALYZERS_PREFIX: "registry.gitlab.com/gitlab-org/security-products/analyzers" SECURE_ANALYZERS_PREFIX: "registry.gitlab.com/gitlab-org/security-products/analyzers"
......
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