Commit 096ed6fd authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'djadmin-dast-profile-copy-updates' into 'master'

Update copy for DAST Profiles library page

See merge request gitlab-org/gitlab!83375
parents a0d2a2b9 154e4742
...@@ -56,12 +56,12 @@ export const DAST_CONFIG_HELP_PATH = helpPagePath('user/application_security/das ...@@ -56,12 +56,12 @@ export const DAST_CONFIG_HELP_PATH = helpPagePath('user/application_security/das
anchor: 'enable-dast', anchor: 'enable-dast',
}); });
export const DAST_PROFILES_NAME = __('DAST Scans'); export const DAST_PROFILES_NAME = __('DAST profiles');
export const DAST_PROFILES_DESCRIPTION = s__( export const DAST_PROFILES_DESCRIPTION = s__(
'SecurityConfiguration|Manage profiles for use by DAST scans.', 'SecurityConfiguration|Manage profiles for use by DAST scans.',
); );
export const DAST_PROFILES_HELP_PATH = helpPagePath('user/application_security/dast/index'); export const DAST_PROFILES_HELP_PATH = helpPagePath('user/application_security/dast/index');
export const DAST_PROFILES_CONFIG_TEXT = s__('SecurityConfiguration|Manage scans'); export const DAST_PROFILES_CONFIG_TEXT = s__('SecurityConfiguration|Manage profiles');
export const SECRET_DETECTION_NAME = __('Secret Detection'); export const SECRET_DETECTION_NAME = __('Secret Detection');
export const SECRET_DETECTION_DESCRIPTION = __( export const SECRET_DETECTION_DESCRIPTION = __(
......
...@@ -197,7 +197,7 @@ export default { ...@@ -197,7 +197,7 @@ export default {
}, },
profilesPerPage: 10, profilesPerPage: 10,
i18n: { i18n: {
heading: s__('DastProfiles|Manage DAST scans'), heading: s__('DastProfiles|DAST profile library'),
newProfileDropdownLabel: __('New'), newProfileDropdownLabel: __('New'),
subHeading: s__( subHeading: s__(
'DastProfiles|Save commonly used configurations for target sites and scan specifications as profiles. Use these with an on-demand scan.', 'DastProfiles|Save commonly used configurations for target sites and scan specifications as profiles. Use these with an on-demand scan.',
......
- add_to_breadcrumbs _('Security Configuration'), project_security_configuration_path(@project) - add_to_breadcrumbs _('Security Configuration'), project_security_configuration_path(@project)
- breadcrumb_title s_('DastProfiles|Manage DAST scans') - breadcrumb_title s_('DastProfiles|DAST profile library')
- page_title s_('DastProfiles|Manage DAST scans') - page_title s_('DastProfiles|DAST profile library')
.js-dast-profiles{ data: dast_profiles_list_data(@project) } .js-dast-profiles{ data: dast_profiles_list_data(@project) }
...@@ -75,7 +75,7 @@ RSpec.describe 'User sees Security Configuration table', :js do ...@@ -75,7 +75,7 @@ RSpec.describe 'User sees Security Configuration table', :js do
expect(page).to have_text('DAST') expect(page).to have_text('DAST')
expect(page).to have_text('Not enabled') expect(page).to have_text('Not enabled')
expect(page).to have_link('Enable DAST') expect(page).to have_link('Enable DAST')
expect(page).to have_link('Manage scans') expect(page).to have_link('Manage profiles')
end end
end end
end end
...@@ -92,7 +92,7 @@ RSpec.describe 'User sees Security Configuration table', :js do ...@@ -92,7 +92,7 @@ RSpec.describe 'User sees Security Configuration table', :js do
expect(page).to have_text('DAST') expect(page).to have_text('DAST')
expect(page).to have_text('Enabled') expect(page).to have_text('Enabled')
expect(page).to have_link('Configure DAST') expect(page).to have_link('Configure DAST')
expect(page).to have_link('Manage scans') expect(page).to have_link('Manage profiles')
end end
end end
end end
......
...@@ -90,7 +90,7 @@ describe('EE - DastProfiles', () => { ...@@ -90,7 +90,7 @@ describe('EE - DastProfiles', () => {
it('shows a heading that describes the purpose of the page', () => { it('shows a heading that describes the purpose of the page', () => {
createFullComponent(); createFullComponent();
const heading = withinComponent().getByRole('heading', { name: /manage dast scans/i }); const heading = withinComponent().getByRole('heading', { name: /DAST profile library/i });
expect(heading).not.toBe(null); expect(heading).not.toBe(null);
}); });
......
...@@ -11226,10 +11226,10 @@ msgstr "" ...@@ -11226,10 +11226,10 @@ msgstr ""
msgid "DAST Configuration" msgid "DAST Configuration"
msgstr "" msgstr ""
msgid "DAST Scans" msgid "DAST profile not found: %{name}"
msgstr "" msgstr ""
msgid "DAST profile not found: %{name}" msgid "DAST profiles"
msgstr "" msgstr ""
msgid "DNS" msgid "DNS"
...@@ -11376,6 +11376,9 @@ msgstr "" ...@@ -11376,6 +11376,9 @@ msgstr ""
msgid "DastProfiles|Could not update the site profile. Please try again." msgid "DastProfiles|Could not update the site profile. Please try again."
msgstr "" msgstr ""
msgid "DastProfiles|DAST profile library"
msgstr ""
msgid "DastProfiles|Debug messages" msgid "DastProfiles|Debug messages"
msgstr "" msgstr ""
...@@ -11430,9 +11433,6 @@ msgstr "" ...@@ -11430,9 +11433,6 @@ msgstr ""
msgid "DastProfiles|Include debug messages in the DAST console output." msgid "DastProfiles|Include debug messages in the DAST console output."
msgstr "" msgstr ""
msgid "DastProfiles|Manage DAST scans"
msgstr ""
msgid "DastProfiles|Manage profiles" msgid "DastProfiles|Manage profiles"
msgstr "" msgstr ""
...@@ -33039,10 +33039,10 @@ msgstr "" ...@@ -33039,10 +33039,10 @@ msgstr ""
msgid "SecurityConfiguration|Manage corpus files used as seed inputs with coverage-guided fuzzing." msgid "SecurityConfiguration|Manage corpus files used as seed inputs with coverage-guided fuzzing."
msgstr "" msgstr ""
msgid "SecurityConfiguration|Manage profiles for use by DAST scans." msgid "SecurityConfiguration|Manage profiles"
msgstr "" msgstr ""
msgid "SecurityConfiguration|Manage scans" msgid "SecurityConfiguration|Manage profiles for use by DAST scans."
msgstr "" msgstr ""
msgid "SecurityConfiguration|More scan types, including Container Scanning, DAST, Dependency Scanning, Fuzzing, and Licence Compliance" msgid "SecurityConfiguration|More scan types, including Container Scanning, DAST, Dependency Scanning, Fuzzing, and Licence Compliance"
......
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