Commit 69e8a347 authored by Savas Vedova's avatar Savas Vedova

Merge branch 'jnnkl-sec-config-upgrade-redesign' into 'master'

Change Banner Copy on Security-Configuration Page

See merge request gitlab-org/gitlab!66533
parents 5765de30 7825b850
...@@ -8,20 +8,18 @@ export default { ...@@ -8,20 +8,18 @@ export default {
}, },
inject: ['upgradePath'], inject: ['upgradePath'],
i18n: { i18n: {
title: s__('SecurityConfiguration|Secure your project with Ultimate'), title: s__('SecurityConfiguration|Secure your project'),
bodyStart: s__( bodyStart: s__(
`SecurityConfiguration|GitLab Ultimate checks your application for security vulnerabilities `SecurityConfiguration|Immediately begin risk analysis and remediation with application security features. Start with SAST and Secret Detection, available to all plans. Upgrade to Ultimate to get all features, including:`,
that may lead to unauthorized access, data leaks, and denial of service
attacks. Its features include:`,
), ),
bodyListItems: [ bodyListItems: [
s__('SecurityConfiguration|Vulnerability details and statistics in the merge request.'), s__('SecurityConfiguration|Vulnerability details and statistics in the merge request'),
s__('SecurityConfiguration|High-level vulnerability statistics across projects and groups.'), s__('SecurityConfiguration|High-level vulnerability statistics across projects and groups'),
s__('SecurityConfiguration|Runtime security metrics for application environments.'), s__('SecurityConfiguration|Runtime security metrics for application environments'),
], s__(
bodyEnd: s__( 'SecurityConfiguration|More scan types, including Container Scanning, DAST, Dependency Scanning, Fuzzing, and Licence Compliance',
'SecurityConfiguration|With the information provided, you can immediately begin risk analysis and remediation within GitLab.',
), ),
],
buttonText: s__('SecurityConfiguration|Upgrade or start a free trial'), buttonText: s__('SecurityConfiguration|Upgrade or start a free trial'),
}, },
}; };
...@@ -32,14 +30,14 @@ export default { ...@@ -32,14 +30,14 @@ export default {
:title="$options.i18n.title" :title="$options.i18n.title"
:button-text="$options.i18n.buttonText" :button-text="$options.i18n.buttonText"
:button-link="upgradePath" :button-link="upgradePath"
variant="introduction"
v-on="$listeners" v-on="$listeners"
> >
<p>{{ $options.i18n.bodyStart }}</p> <p>{{ $options.i18n.bodyStart }}</p>
<ul> <ul class="gl-pl-6">
<li v-for="bodyListItem in $options.i18n.bodyListItems" :key="bodyListItem"> <li v-for="bodyListItem in $options.i18n.bodyListItems" :key="bodyListItem">
{{ bodyListItem }} {{ bodyListItem }}
</li> </li>
</ul> </ul>
<p>{{ $options.i18n.bodyEnd }}</p>
</gl-banner> </gl-banner>
</template> </template>
...@@ -28964,10 +28964,10 @@ msgstr "" ...@@ -28964,10 +28964,10 @@ msgstr ""
msgid "SecurityConfiguration|Feature documentation for %{featureName}" msgid "SecurityConfiguration|Feature documentation for %{featureName}"
msgstr "" msgstr ""
msgid "SecurityConfiguration|GitLab Ultimate checks your application for security vulnerabilities that may lead to unauthorized access, data leaks, and denial of service attacks. Its features include:" msgid "SecurityConfiguration|High-level vulnerability statistics across projects and groups"
msgstr "" msgstr ""
msgid "SecurityConfiguration|High-level vulnerability statistics across projects and groups." msgid "SecurityConfiguration|Immediately begin risk analysis and remediation with application security features. Start with SAST and Secret Detection, available to all plans. Upgrade to Ultimate to get all features, including:"
msgstr "" msgstr ""
msgid "SecurityConfiguration|Manage" msgid "SecurityConfiguration|Manage"
...@@ -28982,6 +28982,9 @@ msgstr "" ...@@ -28982,6 +28982,9 @@ msgstr ""
msgid "SecurityConfiguration|More information" msgid "SecurityConfiguration|More information"
msgstr "" msgstr ""
msgid "SecurityConfiguration|More scan types, including Container Scanning, DAST, Dependency Scanning, Fuzzing, and Licence Compliance"
msgstr ""
msgid "SecurityConfiguration|Not enabled" msgid "SecurityConfiguration|Not enabled"
msgstr "" msgstr ""
...@@ -28991,7 +28994,7 @@ msgstr "" ...@@ -28991,7 +28994,7 @@ msgstr ""
msgid "SecurityConfiguration|Quickly enable all continuous testing and compliance tools by enabling %{linkStart}Auto DevOps%{linkEnd}" msgid "SecurityConfiguration|Quickly enable all continuous testing and compliance tools by enabling %{linkStart}Auto DevOps%{linkEnd}"
msgstr "" msgstr ""
msgid "SecurityConfiguration|Runtime security metrics for application environments." msgid "SecurityConfiguration|Runtime security metrics for application environments"
msgstr "" msgstr ""
msgid "SecurityConfiguration|SAST Analyzers" msgid "SecurityConfiguration|SAST Analyzers"
...@@ -29000,7 +29003,7 @@ msgstr "" ...@@ -29000,7 +29003,7 @@ msgstr ""
msgid "SecurityConfiguration|SAST Configuration" msgid "SecurityConfiguration|SAST Configuration"
msgstr "" msgstr ""
msgid "SecurityConfiguration|Secure your project with Ultimate" msgid "SecurityConfiguration|Secure your project"
msgstr "" msgstr ""
msgid "SecurityConfiguration|Security Control" msgid "SecurityConfiguration|Security Control"
...@@ -29027,10 +29030,7 @@ msgstr "" ...@@ -29027,10 +29030,7 @@ msgstr ""
msgid "SecurityConfiguration|View history" msgid "SecurityConfiguration|View history"
msgstr "" msgstr ""
msgid "SecurityConfiguration|Vulnerability details and statistics in the merge request." msgid "SecurityConfiguration|Vulnerability details and statistics in the merge request"
msgstr ""
msgid "SecurityConfiguration|With the information provided, you can immediately begin risk analysis and remediation within GitLab."
msgstr "" msgstr ""
msgid "SecurityConfiguration|You can quickly enable all security scanning tools by enabling %{linkStart}Auto DevOps%{linkEnd}." msgid "SecurityConfiguration|You can quickly enable all security scanning tools by enabling %{linkStart}Auto DevOps%{linkEnd}."
......
...@@ -43,11 +43,11 @@ describe('UpgradeBanner component', () => { ...@@ -43,11 +43,11 @@ describe('UpgradeBanner component', () => {
it('renders the list of benefits', () => { it('renders the list of benefits', () => {
const wrapperText = wrapper.text(); const wrapperText = wrapper.text();
expect(wrapperText).toContain('GitLab Ultimate checks your application'); expect(wrapperText).toContain('Immediately begin risk analysis and remediation');
expect(wrapperText).toContain('statistics in the merge request'); expect(wrapperText).toContain('statistics in the merge request');
expect(wrapperText).toContain('statistics across projects'); expect(wrapperText).toContain('statistics across projects');
expect(wrapperText).toContain('Runtime security metrics'); expect(wrapperText).toContain('Runtime security metrics');
expect(wrapperText).toContain('risk analysis and remediation'); expect(wrapperText).toContain('More scan types, including Container Scanning,');
}); });
it(`re-emits GlBanner's close event`, () => { it(`re-emits GlBanner's close event`, () => {
......
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