Skip to content

[Frontend] Update policy drawer with licence allow/deny list information

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 allow/deny list information to a policy drawer

Relevant links

Design

Non-functional requirements

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

Implementation plan

  1. Update humanizeRule to handle new licence rule yaml format in security_orchestration/components/policy_drawer/scan_result/utils.js
  2. Update security_orchestration/components/policy_drawer/scan_result/details_drawer.vue to handle new licence rule yaml format for allow/deny list

Verification steps

Edited by Artur Fedorov