Skip to content

Add license list to "Security and Compliance" nav section - Add license list, modals, and links

- requested to merge license-list-page into master

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

Screen_Shot_2019-10-22_at_8.02.43_AM

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.

Screen_Shot_2019-11-18_at_4.39.22_AM

Screen_Shot_2019-11-18_at_4.39.13_AM

Configured States

Screen_Shot_2019-11-18_at_4.42.57_AM Screen_Shot_2019-11-18_at_4.44.33_AM

Screen_Shot_2019-11-18_at_4.44.09_AM

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

Availability and Testing

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 🤖

Merge request reports