FE: Update Scan Result Policy Rule UX

Why are we doing this work

  • Users want the selection of existing policy rules to be more intuitive

Relevant links

Design

Implementation plan

  • frontend update rules to match design
    • modify css in policy_rule_builder
    • ensure both security scan and license scan rules work on both project and group-level
    • do not add any additional criteria
    • do not modify Scan Execution Policies
Title Issue MR
Base component Related issue 115732
Rearrange layout Related issue TBD
Add new empty state selector Related issue TBD
Adding filters 👈 This one TBD
Migrate protected branches selector Related issue MR

Verification steps

  1. Upload an GitLab Ultimate license
  2. Navigate to a project/group => Security & Compliance => Policies => New Policy => Scan Result Policy
  3. Verify new Rules
Edited by Artur Fedorov