Security Gates for new dependencies

Problem to solve

We don't highlight the introduction of dependencies in Merge Requests.

Intended users

Further details

Introducing a new dependency in a project is a decision to balance wisely. Not only the new dependency can be incompatible with the project license, but it can also bring its own share of security and performance issues. GitLab also provides dependency scanning for vulnerabilities, license compliance for checking licenses, and guidelines for the development of GitLab itself. Nevertheless, some users will want to be notified on new dependencies introduction, and we can leverage the same process as the security gates.

This feature was mentioned during our AppSec Office Hours by @estrike.

Proposal

If a group with the right name (Dependency-Check?) is added as part of the approvers, they will need to approve the Merge Request if at least one dependency is introduced.

Permissions and Security

To be defined.

Documentation

Todo

Testing

Todo

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

What is the type of buyer?

GitLab Ultimate

Links / references

/cc @NicoleSchwartz