Skip to content
GitLab
Next
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 52,734
    • Issues 52,734
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,549
    • Merge requests 1,549
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #10536
Closed
Open
Issue created Mar 20, 2019 by Fabio Busatto@bikebillyContributor

Add License information to the Dependency List based on current license rules

Problem to solve

The Bill Of Materials (BOM) lists all the dependencies in a project.

One of the relevant information people are interested in for this view is the license status for each dependency. In this way, they can easily check (and prove to Compliance) that the app doesn't contain any forbidden component.

We already have License Management results available. We should link this information in the BOM view.

Target audience

  • Delaney, Development Team Lead

Proposal

Add a new column to the BOM with the license information for each given dependency, if available.

Each dependency will report its license. We can also add the status based on the license rules set for the project.

Table w/ License name Modal to display additional data
1 2
if there is one license name, we display that name, it's clickable and opens to modal to show additional data points (similar to current when the license is detected in MR). If multiple, we display <name>, <name>, and # more (if two, just the two) Displays the license names in the case of multiple names. Title of modal is component name (but is the right title?)

What data points are anchored? License name(s) anchor to url, which contain license documentation. The url is a data point we include in the MR license check section (see example: gitlab-examples/security/security-reports!15 (closed) - click the license name). In the case of the license name in the table: if the url to documentation is available we link the license name directly to it. The license name is only linked if the url documentation is available.

Permissions and Security

Permissions to see the licenses allow everyone to see that. Permissions to see license status should be consistent with permissions of the same information in the merge request widget.

Documentation

We need to document which information is available and explain the possible values.
We can also crosslink this from the License Management documentation.

What does success look like, and how can we measure that?

Number of page views for the BOM.

Implementation plan

  • backend
    • https://gitlab.com/gitlab-org/gitlab-ee/issues/13084
  • frontend
    • https://gitlab.com/gitlab-org/gitlab-ee/issues/14664
  • ~Documentation https://gitlab.com/gitlab-org/gitlab-ee/issues/13085
Edited Sep 02, 2019 by David Pisek
Assignee
Assign to
Time tracking