diff --git a/ee/app/assets/javascripts/security_dashboard/components/shared/project_security_dashboard_new.vue b/ee/app/assets/javascripts/security_dashboard/components/shared/project_security_dashboard_new.vue
index 0de6b407c1d8bc1d5221106ef1ad0f74d7691319..254450bafbfee9551485294701fac2352fc20dda 100644
--- a/ee/app/assets/javascripts/security_dashboard/components/shared/project_security_dashboard_new.vue
+++ b/ee/app/assets/javascripts/security_dashboard/components/shared/project_security_dashboard_new.vue
@@ -3,6 +3,7 @@ import { GlDashboardLayout } from '@gitlab/ui';
import { s__ } from '~/locale';
import { markRaw } from '~/lib/utils/vue3compat/mark_raw';
import ProjectVulnerabilitiesOverTimePanel from 'ee/security_dashboard/components/shared/project_vulnerabilities_over_time_panel.vue';
+import VulnerabilitiesSeverityCountPanel from 'ee/security_dashboard/components/shared/vulnerabilities_severity_count_panel.vue';
export default {
components: {
@@ -17,13 +18,23 @@ export default {
'SecurityReports|This dashboard provides an overview of your security vulnerabilities.',
),
panels: [
+ {
+ id: '2',
+ component: markRaw(VulnerabilitiesSeverityCountPanel),
+ gridAttributes: {
+ width: 12,
+ height: 1,
+ yPos: 0,
+ xPos: 0,
+ },
+ },
{
id: '1',
component: markRaw(ProjectVulnerabilitiesOverTimePanel),
gridAttributes: {
width: 6,
height: 4,
- yPos: 0,
+ yPos: 1,
xPos: 0,
},
},
diff --git a/ee/app/assets/javascripts/security_dashboard/components/shared/vulnerabilities_severity_count_panel.vue b/ee/app/assets/javascripts/security_dashboard/components/shared/vulnerabilities_severity_count_panel.vue
new file mode 100644
index 0000000000000000000000000000000000000000..05d8126cac726ba8bc9d9248cf246f22654a16a7
--- /dev/null
+++ b/ee/app/assets/javascripts/security_dashboard/components/shared/vulnerabilities_severity_count_panel.vue
@@ -0,0 +1,50 @@
+
+
+
+
+
+
+
+ {{ severity.count }}
+
+
+
+
+