Skip to content

Add 'License-Check' approval rule to enforce license compliance policy.

What does this MR do?

This change allows users to block a merge request if a new dependency brings in a license that violates the license compliance policy.

To activate this feature you must:

  1. Create a new Merge Request Approval Rule named License-Check.

Screenshot_from_2019-08-23_16-31-40

  1. Blacklist software licenses.

Screenshot_from_2019-08-23_16-32-28

  1. Submit a Merge Request that brings in a dependency that violates the license compliance policy.

Screenshot_from_2019-08-23_16-27-03

Does this MR meet the acceptance criteria?

Conformity

Performance 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

Related Issues

Edited by 🤖 GitLab Bot 🤖

Merge request reports