Add metrics for groups with assigned security policy project
What does this MR do and why?
This MR adds metrics to count The total number of groups with an assigned security policy project
.
Queries
SELECT COUNT(DISTINCT "security_orchestration_policy_configurations"."namespace_id") FROM "security_orchestration_policy_configurations" WHERE "security_orchestration_policy_configurations"."namespace_id" BETWEEN 10000 AND 20000;
https://postgres.ai/console/gitlab/gitlab-production-tunnel-pg12/sessions/12479/commands/44106
Time: 20.750 ms
- planning: 0.622 ms
- execution: 20.128 ms
- I/O read: 19.874 ms
- I/O write: 0.000 ms
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #375284 (closed)
Merge request reports
Activity
changed milestone to %15.5
assigned to @mparuszewski
Suggested Reviewers (beta)
The individuals below may be good candidates to participate in the review based on various factors.
You can use slash commands in comments to quickly assign
/assign_reviewer @user1
.Suggested Reviewers @mikolaj_wawrzyniak
,@ali-gitlab
,@agarciatesares
,@lmejia2
,@rkadam3
If you do not believe these suggestions are useful, please apply the label Bad Suggested Reviewer. You can also provide feedback for this feature on this issue:
https://gitlab.com/gitlab-org/gitlab/-/issues/357923
.Automatically generated by Suggested Reviewers Bot - an experimental ML-based recommendation engine created by ~"group::applied ml".
Edited by GitLab Reviewer-Recommender Bot- A deleted user
added product intelligence product intelligencereview pending labels
- Resolved by Doug Stull
1 Warning featureaddition and featureenhancement merge requests normally have a documentation change. Consider adding a documentation update or confirming the documentation plan with the Technical Writer counterpart.
For more information, see:
- The Handbook page on merge request types.
- The definition of done documentation.
Reviewer roulette
Changes that require review have been detected!
Please refer to the table below for assigning reviewers and maintainers suggested by Danger in the specified category:
Category Reviewer Maintainer backend Tyler Amos ( @tyleramos
) (UTC-4, 6 hours behind@mparuszewski
)Aleksei Lipniagov ( @alipniagov
) (UTC+2, same timezone as@mparuszewski
)product intelligence Niko Belokolodov ( @nbelokolodov
) (UTC+13, 11 hours ahead of@mparuszewski
)Maintainer review is optional for product intelligence To spread load more evenly across eligible reviewers, Danger has picked a candidate for each review slot, based on their timezone. Feel free to override these selections if you think someone else would be better-suited or use the GitLab Review Workload Dashboard to find other available reviewers.
To read more on how to use the reviewer roulette, please take a look at the Engineering workflow and code review guidelines. Please consider assigning a reviewer or maintainer who is a domain expert in the area of the merge request.
Once you've decided who will review this merge request, assign them as a reviewer! Danger does not automatically notify them for you.
If needed, you can retry the
danger-review
job that generated this comment.Generated by
Danger
marked the checklist item I have evaluated the MR acceptance checklist for this MR. as completed
Allure report
allure-report-publisher
generated test report!e2e-review-qa:
test report for 63b308d4expand test summary
+-----------------------------------------------------------------------------------------+ | suites summary | +------------------------------------+--------+--------+---------+-------+-------+--------+ | | passed | failed | skipped | flaky | total | result | +------------------------------------+--------+--------+---------+-------+-------+--------+ | Verify | 12 | 0 | 1 | 2 | 13 | ❗ | | Create | 28 | 0 | 1 | 0 | 29 | ✅ | | Plan | 47 | 0 | 1 | 0 | 48 | ✅ | | Manage | 52 | 0 | 8 | 3 | 60 | ❗ | | Secure | 2 | 0 | 0 | 2 | 2 | ❗ | | Version sanity check | 0 | 0 | 1 | 0 | 1 | ➖ | | Govern | 2 | 0 | 0 | 0 | 2 | ✅ | | Feature flag handler sanity checks | 9 | 0 | 0 | 0 | 9 | ✅ | | Package | 0 | 0 | 1 | 0 | 1 | ➖ | | Configure | 0 | 0 | 1 | 0 | 1 | ➖ | +------------------------------------+--------+--------+---------+-------+-------+--------+ | Total | 152 | 0 | 14 | 7 | 166 | ❗ | +------------------------------------+--------+--------+---------+-------+-------+--------+
requested review from @Quintasan and @pskorupa
removed review request for @Quintasan and @pskorupa
- Resolved by Doug Stull
@mparuszewski LMK if you want me to take a look
added 1 commit
- 13c4d756 - Add metrics for groups with assigned security policy project
added 1565 commits
-
13c4d756...77acd096 - 1563 commits from branch
master
- 48af6a9b - Add metrics for groups with assigned security policy project
- 45697466 - Revert changes in usage_data file
-
13c4d756...77acd096 - 1563 commits from branch
requested review from @pskorupa and @Quintasan
@Quintasan
, thanks for approving this merge request.This is the first time the merge request is approved. To ensure full test coverage, a new pipeline will be started shortly.
For more info, please refer to the following links:
requested review from @dstull
- Resolved by Doug Stull
removed review request for @dstull
added product intelligenceapproved label and removed product intelligencereview pending label
removed review request for @pskorupa
- Resolved by Alan (Maciej) Paruszewski
- Resolved by Alan (Maciej) Paruszewski
requested review from @dstull
enabled an automatic merge when the pipeline for 4b9a487a succeeds
mentioned in commit 76e236c0
added workflowstaging-canary label and removed workflowrefinement label
added workflowcanary label and removed workflowstaging-canary label
added workflowstaging label and removed workflowcanary label
added workflowproduction label and removed workflowstaging label
added workflowpost-deploy-db-staging label and removed workflowproduction label
added workflowpost-deploy-db-production label and removed workflowpost-deploy-db-staging label
added releasedcandidate label
mentioned in merge request kubitus-project/kubitus-installer!1521 (merged)
added releasedpublished label and removed releasedcandidate label