From 3ae52bb770277013828aded046b007f4b9a06e6d Mon Sep 17 00:00:00 2001
From: Harsimar Sandhu <hsandhu@gitlab.com>
Date: Thu, 15 Jun 2023 03:23:43 +0000
Subject: [PATCH] Move compliance metrics to govern stage

Now that compliance is part of govern
stage, its metrics should belong to
govern stage

EE: true
Changelog: fixed
---
 ...ogsController_visit_instance_compliance_audit_events.yml | 4 ++--
 ...ialsController_visit_compliance_credential_inventory.yml | 4 ++--
 ...EventsController_visit_group_compliance_audit_events.yml | 6 +++---
 ...676085856_API__AuditEvents_admin_audit_event_request.yml | 6 +++---
 ...1676085891_EE__API__Groups_group_audit_event_request.yml | 4 ++--
 ...085919_EE__API__Projects_project_audit_event_request.yml | 4 ++--
 ...0085433_g_manage_compliance_audit_event_destinations.yml | 6 +++---
 ...11130091657_groups_with_event_streaming_destinations.yml | 6 +++---
 ...0085433_g_manage_compliance_audit_event_destinations.yml | 6 +++---
 ...11130091657_groups_with_event_streaming_destinations.yml | 6 +++---
 10 files changed, 26 insertions(+), 26 deletions(-)

diff --git a/config/events/1676085590_Admin__AuditLogsController_visit_instance_compliance_audit_events.yml b/config/events/1676085590_Admin__AuditLogsController_visit_instance_compliance_audit_events.yml
index bba3ac4024d1..ad28a90c4bcd 100644
--- a/config/events/1676085590_Admin__AuditLogsController_visit_instance_compliance_audit_events.yml
+++ b/config/events/1676085590_Admin__AuditLogsController_visit_instance_compliance_audit_events.yml
@@ -10,8 +10,8 @@ identifiers:
 #- project
 - user
 #- namespace
-product_section: dev
-product_stage: manage
+product_section: sec
+product_stage: govern
 product_group: compliance
 milestone: "15.9"
 introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/107120
diff --git a/config/events/1676085625_Admin__CredentialsController_visit_compliance_credential_inventory.yml b/config/events/1676085625_Admin__CredentialsController_visit_compliance_credential_inventory.yml
index 8e103c7acc2c..d1c694235152 100644
--- a/config/events/1676085625_Admin__CredentialsController_visit_compliance_credential_inventory.yml
+++ b/config/events/1676085625_Admin__CredentialsController_visit_compliance_credential_inventory.yml
@@ -10,8 +10,8 @@ identifiers:
 #- project
 - user
 #- namespace
-product_section: dev
-product_stage: manage
+product_section: sec
+product_stage: govern
 product_group: compliance
 milestone: "15.9"
 introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/107120
diff --git a/config/events/1676085737_Groups__AuditEventsController_visit_group_compliance_audit_events.yml b/config/events/1676085737_Groups__AuditEventsController_visit_group_compliance_audit_events.yml
index b48e2de6055f..240bdee03749 100644
--- a/config/events/1676085737_Groups__AuditEventsController_visit_group_compliance_audit_events.yml
+++ b/config/events/1676085737_Groups__AuditEventsController_visit_group_compliance_audit_events.yml
@@ -10,15 +10,15 @@ identifiers:
 #- project
 - user
 - namespace
-product_section: dev
-product_stage: manage
+product_section: sec
+product_stage: govern
 product_group: compliance
 milestone: "15.9"
 introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/107120
 distributions:
 #- ce
 - ee
-tiers: 
+tiers:
 #- free
 - premium
 - ultimate
diff --git a/config/events/1676085856_API__AuditEvents_admin_audit_event_request.yml b/config/events/1676085856_API__AuditEvents_admin_audit_event_request.yml
index 4be2df48fb36..b1a92a540329 100644
--- a/config/events/1676085856_API__AuditEvents_admin_audit_event_request.yml
+++ b/config/events/1676085856_API__AuditEvents_admin_audit_event_request.yml
@@ -10,15 +10,15 @@ identifiers:
 #- project
 - user
 #- namespace
-product_section: dev
-product_stage: manage
+product_section: sec
+product_stage: govern
 product_group: compliance
 milestone: "15.9"
 introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/107120
 distributions:
 #- ce
 - ee
-tiers: 
+tiers:
 #- free
 - premium
 - ultimate
diff --git a/config/events/1676085891_EE__API__Groups_group_audit_event_request.yml b/config/events/1676085891_EE__API__Groups_group_audit_event_request.yml
index 31f45f21695a..81a970179567 100644
--- a/config/events/1676085891_EE__API__Groups_group_audit_event_request.yml
+++ b/config/events/1676085891_EE__API__Groups_group_audit_event_request.yml
@@ -10,8 +10,8 @@ identifiers:
 #- project
 - user
 - namespace
-product_section: dev
-product_stage: manage
+product_section: sec
+product_stage: govern
 product_group: compliance
 milestone: "15.9"
 introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/107120
diff --git a/config/events/1676085919_EE__API__Projects_project_audit_event_request.yml b/config/events/1676085919_EE__API__Projects_project_audit_event_request.yml
index 062f5363ef1c..703887818b6d 100644
--- a/config/events/1676085919_EE__API__Projects_project_audit_event_request.yml
+++ b/config/events/1676085919_EE__API__Projects_project_audit_event_request.yml
@@ -10,8 +10,8 @@ identifiers:
 - project
 - user
 - namespace
-product_section: dev
-product_stage: manage
+product_section: sec
+product_stage: govern
 product_group: compliance
 milestone: "15.9"
 introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/107120
diff --git a/ee/config/metrics/counts_28d/20211130085433_g_manage_compliance_audit_event_destinations.yml b/ee/config/metrics/counts_28d/20211130085433_g_manage_compliance_audit_event_destinations.yml
index 1fa8672639cf..9be9e2a1d864 100644
--- a/ee/config/metrics/counts_28d/20211130085433_g_manage_compliance_audit_event_destinations.yml
+++ b/ee/config/metrics/counts_28d/20211130085433_g_manage_compliance_audit_event_destinations.yml
@@ -1,9 +1,9 @@
 ---
 key_path: usage_activity_by_stage_monthly.manage.audit_event_destinations
 description: "Count of audit event streaming destinations"
-product_section: "dev"
-product_stage: "manage"
-product_group: "compliance"
+product_section: sec
+product_stage: govern
+product_group: compliance
 value_type: number
 status: active
 milestone: "14.6"
diff --git a/ee/config/metrics/counts_28d/20211130091657_groups_with_event_streaming_destinations.yml b/ee/config/metrics/counts_28d/20211130091657_groups_with_event_streaming_destinations.yml
index 06612184afe0..8365d3966342 100644
--- a/ee/config/metrics/counts_28d/20211130091657_groups_with_event_streaming_destinations.yml
+++ b/ee/config/metrics/counts_28d/20211130091657_groups_with_event_streaming_destinations.yml
@@ -1,9 +1,9 @@
 ---
 key_path: usage_activity_by_stage_monthly.manage.groups_with_event_streaming_destinations
 description: "Distinct count of groups with any event streaming destinations"
-product_section: "dev"
-product_stage: "manage"
-product_group: "compliance"
+product_section: sec
+product_stage: govern
+product_group: compliance
 value_type: number
 status: broken
 repair_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/369871
diff --git a/ee/config/metrics/counts_all/20211130085433_g_manage_compliance_audit_event_destinations.yml b/ee/config/metrics/counts_all/20211130085433_g_manage_compliance_audit_event_destinations.yml
index 3da30cf4d781..a1111476a731 100644
--- a/ee/config/metrics/counts_all/20211130085433_g_manage_compliance_audit_event_destinations.yml
+++ b/ee/config/metrics/counts_all/20211130085433_g_manage_compliance_audit_event_destinations.yml
@@ -1,9 +1,9 @@
 ---
 key_path: usage_activity_by_stage.manage.audit_event_destinations
 description: "Count of audit event streaming destinations"
-product_section: "dev"
-product_stage: "manage"
-product_group: "compliance"
+product_section: sec
+product_stage: govern
+product_group: compliance
 value_type: number
 status: active
 milestone: "14.6"
diff --git a/ee/config/metrics/counts_all/20211130091657_groups_with_event_streaming_destinations.yml b/ee/config/metrics/counts_all/20211130091657_groups_with_event_streaming_destinations.yml
index f31b31382a6d..3fb8d56fb503 100644
--- a/ee/config/metrics/counts_all/20211130091657_groups_with_event_streaming_destinations.yml
+++ b/ee/config/metrics/counts_all/20211130091657_groups_with_event_streaming_destinations.yml
@@ -1,9 +1,9 @@
 ---
 key_path: usage_activity_by_stage.manage.groups_with_event_streaming_destinations
 description: "Distinct count of groups with any event streaming destinations"
-product_section: "dev"
-product_stage: "manage"
-product_group: "compliance"
+product_section: sec
+product_stage: govern
+product_group: compliance
 value_type: number
 status: active
 milestone: "14.6"
-- 
GitLab