FE Add policy scope to policy drawer
Why are we doing this work
Policy scope for added both for scan result
and scan execution
policy.
Result of this issue would be humanely readable description in policy drawer
Design
Relevant links
- Relevant MR
- Design (pending)
Non-functional requirements
-
Documentation: -
Feature flag: security_policies_policy_scope
-
Performance: -
Testing:
Implementation plan
- Update
ee/security_orchestration/components/policy_drawer/scan_result/details_drawer.vue
- Update
ee/security_orchestration/components/policy_drawer/scan_execution/details_drawer.vue
- Policy object has
compliance_frameworks
andprojects[including/excluding]
. New properties needs to be parsed to readable description. - Make sure it only works on group level
- Add tests
Verification steps
- Create scan
result/execution
policy withpolicy scope
- Go to policy list Secure -> Policies
- Select newly created policies, open drawer, make sure description has policy scope section
Edited by Camellia X Yang