FE: Add humanised version to Scan Result Policies for License Approval rules in Policy Drawer
Why are we doing this work
We are adding specific component filters
option for scan result policies
for license approval rules
This feature should be both implemented on project
and group
level
We need to add humanised strings for new filters in policy drawer
Component => is a combination of both the package and version
Relevant links
- See epic for more information
Design
Designs are attached in parent epic
Non-functional requirements
-
Documentation: -
Testing:
Implementation plan
-
frontend Add humanisation for new filters in security_orchestration/components/policy_drawer/scan_result/utils.js
. UpdatehumanizeRule
method forrule.type === LICENSE_FINDING
-
frontend Make sure it is implemented both for group
andproject
level
Verification steps
- Upload a GitLab Ultimate license
- Navigate to a project =>
Security & Compliance
=>Policies
=>New policy
=>Scan result Policy
- Select
licence scan type
, make sure new filter is in place, select some option - Create new policy with licence scan and new licence component exceptions
- Go to
Security & Compliance
=>Policies
, select created policy - Make sure that humanised strings for licence scan for new filters are in place
- Test it both on
project
andgroup
level
Edited by Artur Fedorov