Skip to content

[Frontend] Add modal with allowlist/denylist filters

Why are we doing this work

  1. New allow/deny list is a a new feature of merge request approval policy licence rule
  2. It allows user to add/remove licence packages to either deny or allow list
  3. Scope of this issue is to add new modal with allow/deny list

Relevant links

  1. Design

Non-functional requirements

  • Documentation:
  • Feature flag: exclude_license_packages
  • Performance:
  • Testing: unit tests

Implementation plan

  1. Add new modal component to security_orchestration/components/policy_editor/scan_result/rule
  2. Use grapghql to fetch licence list
  3. Add input field to add packages and add validation
  4. Make sure to update yaml when list is saved

Verification steps

Edited by Artur Fedorov