Add license list to "Security and Compliance" nav section - Add license list, modals, and links
What does this MR do?
- Adds the "License Compliance" page from the nav dropdown under "Security"
- Adds the frontend for #13582 (closed)
Screenshots
Unconfigured State
Pagination
I didn't have a project with more than 10 licenses set up. By default we have a page size of 10. For the purposes of demoing pagination, I changed the page size to 2. This is just to show server pagination in action.
Configured States
Links
- CLicking the tooltip (blue question mark icon) takes you to the license compliance docs.
- If backend returns a
url
for the license, we link to relevant license docs (third party url) - if backend returns more than 3 components, we show the first two and "X more" link which opens a modal with the full list of components.
- Links for the components are pending because we don't have the
blob_path
field returned due to #34227 (closed). UI has the support already enabled so once #34227 (closed) is done, the frontend will just work. - Clicking "latest pipeline" links to the relevant pipeline.
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry -
Documentation created/updated or follow-up review issue created -
Code review guidelines -
Merge request performance guidelines -
Style guides -
Database guides -
Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. -
Tested in all supported browsers
Security
If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:
-
Label as security and @ mention @gitlab-com/gl-security/appsec
-
The MR includes necessary changes to maintain consistency between UI, API, email, or other methods -
Security reports checked/validated by a reviewer from the AppSec team
Edited by 🤖 GitLab Bot 🤖