[Frontend]: Add bybass options to a policy drawer

Why are we doing this work

GitLab now supports Merge Request Approval Policy Waivers, allowing organizations to maintain strong security governance while enabling critical automation workflows and exceptions in emergency situations.

This Issue adds bypass widget to a policy drawer

Relevant links

Non-functional requirements

  • Documentation:
  • Feature flag: security_policies_bypass_options
  • Performance:
  • Testing:

Implementation plan

  1. Add components to ee/app/assets/javascripts/security_orchestration/components/policy_drawer/scan_result
  2. TBD...

Verification steps

Edited by 🤖 GitLab Bot 🤖