Skip to content

[Frontend] Add allow list licence filter

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 filter to licence rule

Relevant links

Design

Non-functional requirements

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

Implementation plan

  1. Add new filter to security_orchestration/components/policy_editor/scan_result/rule/scan_filters
  2. Update scan-filter-selector in security_orchestration/components/policy_editor/scan_result/rule/license_scan_rule_builder.vue with new option Allowlist or Denylist
  3. Add tests

Verification steps

Edited by Artur Fedorov