Skip to content
Snippets Groups Projects

Draft: Create approval rules for multiple policy approvers

Open Sashi Kumar Kumaresan requested to merge sk/502228-create-approval-rules into master
1 unresolved thread

What does this MR do and why?

Create approval rules for multiple policy approvers

This change updates the logic of creating the approval rules from security policy to create/update approval rules for multiple approvers actions from policy.

EE: true Changelog: added

References

Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
211 212 end
212 213 end
213 214
215 def delete_scan_result_policy_reads_for_project(project, rules)
216 project
217 .scan_result_policy_reads
218 .for_policy_configuration(security_orchestration_policy_configuration)
219 .for_policy_index(policy_index)
220 .for_rule_index(rules.select(:rule_index))
221 .delete_all
  • added 59 commits

    Compare with previous version

  • mentioned in merge request !175162 (merged)

  • changed milestone to %17.8

  • added 1831 commits

    Compare with previous version

  • note Tracking metrics for multiple approval actions must to added in this MR once !176669 (merged) is merged

  • 🤖 GitLab Bot 🤖 changed milestone to %17.9

    changed milestone to %17.9

  • added 4782 commits

    Compare with previous version

  • 1 Warning
    :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:

    1 Message
    :book: This merge request adds or changes files that require a review from the Database team.

    This merge request requires a database review. To make sure these changes are reviewed, take the following steps:

    1. Ensure the merge request has database and databasereview pending labels. If the merge request modifies database files, Danger will do this for you.
    2. Prepare your MR for database review according to the docs.
    3. Assign and mention the database reviewer suggested by Reviewer Roulette.

    If you no longer require a database review, you can remove this suggestion by removing the database label and re-running the danger-review job.

    Reviewer roulette

    Category Reviewer Maintainer
    backend @bhrai profile link current availability (UTC+1, 1 hour ahead of author) @grzesiek profile link current availability (UTC+1, 1 hour ahead of author)
    database @irina.bronipolsky profile link current availability (UTC+0, same timezone as author) @a_akgun profile link current availability (UTC+3, 3 hours ahead of author)

    Please refer to documentation page for guidance on how you can benefit from the Reviewer Roulette, or use the GitLab Review Workload Dashboard to find other available reviewers.

    If needed, you can retry the :repeat: danger-review job that generated this comment.

    Generated by :no_entry_sign: Danger

  • changed milestone to %17.10

  • Please register or sign in to reply
    Loading