Commit 51e5488e authored by Jacques Erasmus's avatar Jacques Erasmus

Merge branch '210327-rename-filter-to-scanner' into 'master'

Update pipeline security tab filter label and docs

See merge request gitlab-org/gitlab!35893
parents c01f80ea 2fae8c71
...@@ -8,7 +8,7 @@ export const BASE_FILTERS = { ...@@ -8,7 +8,7 @@ export const BASE_FILTERS = {
id: ALL, id: ALL,
}, },
report_type: { report_type: {
name: s__('ciReport|All scanner types'), name: s__('ciReport|All scanners'),
id: ALL, id: ALL,
}, },
project_id: { project_id: {
......
...@@ -14,7 +14,7 @@ export default () => ({ ...@@ -14,7 +14,7 @@ export default () => ({
selection: new Set([BASE_FILTERS.severity.id]), selection: new Set([BASE_FILTERS.severity.id]),
}, },
{ {
name: s__('SecurityReports|Scanner type'), name: s__('SecurityReports|Scanner'),
id: 'report_type', id: 'report_type',
options: [BASE_FILTERS.report_type, ...optionsObjectToArray(REPORT_TYPES)], options: [BASE_FILTERS.report_type, ...optionsObjectToArray(REPORT_TYPES)],
hidden: false, hidden: false,
......
...@@ -210,10 +210,7 @@ export default { ...@@ -210,10 +210,7 @@ export default {
<severity-badge :severity="vulnerability.severity" class="d-inline" /> <severity-badge :severity="vulnerability.severity" class="d-inline" />
</vulnerability-detail> </vulnerability-detail>
<vulnerability-detail <vulnerability-detail v-if="vulnerability.report_type" :label="s__('Vulnerability|Scanner')">
v-if="vulnerability.report_type"
:label="s__('Vulnerability|Scanner Type')"
>
<gl-friendly-wrap :text="scannerType" /> <gl-friendly-wrap :text="scannerType" />
</vulnerability-detail> </vulnerability-detail>
......
---
title: Update pipeline security tab filter label and docs
merge_request: 35893
author:
type: changed
...@@ -144,7 +144,7 @@ key2: value2" ...@@ -144,7 +144,7 @@ key2: value2"
</vulnerability-detail-stub> </vulnerability-detail-stub>
<vulnerability-detail-stub <vulnerability-detail-stub
label="Scanner Type" label="Scanner"
> >
<gl-friendly-wrap-stub <gl-friendly-wrap-stub
symbols="/" symbols="/"
......
...@@ -20264,7 +20264,7 @@ msgstr "" ...@@ -20264,7 +20264,7 @@ msgstr ""
msgid "SecurityReports|Scan details" msgid "SecurityReports|Scan details"
msgstr "" msgstr ""
msgid "SecurityReports|Scanner type" msgid "SecurityReports|Scanner"
msgstr "" msgstr ""
msgid "SecurityReports|Security Dashboard" msgid "SecurityReports|Security Dashboard"
...@@ -25626,10 +25626,10 @@ msgstr "" ...@@ -25626,10 +25626,10 @@ msgstr ""
msgid "Vulnerability|Project" msgid "Vulnerability|Project"
msgstr "" msgstr ""
msgid "Vulnerability|Scanner Provider" msgid "Vulnerability|Scanner"
msgstr "" msgstr ""
msgid "Vulnerability|Scanner Type" msgid "Vulnerability|Scanner Provider"
msgstr "" msgstr ""
msgid "Vulnerability|Severity" msgid "Vulnerability|Severity"
...@@ -26860,7 +26860,7 @@ msgstr "" ...@@ -26860,7 +26860,7 @@ msgstr ""
msgid "ciReport|All projects" msgid "ciReport|All projects"
msgstr "" msgstr ""
msgid "ciReport|All scanner types" msgid "ciReport|All scanners"
msgstr "" msgstr ""
msgid "ciReport|All severities" msgid "ciReport|All severities"
......
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