TMAegis
Weitere Regeln für gitlab

TMA-GITLAB-3.2.3

Ensure packages are automatically scanned for license implications

MittelStufe 1Manuelle Prüfunggitlab

Beschreibung

A software license is a document that provides legal conditions and guidelines for the use and distribution of software, usually defined by the author. It is recommended to scan for any legal implications automatically. When using packages with software licenses, especially commercial ones which tend to be the strictest, it is important to verify that the use of the package meets the conditions of the license. If the use of the package violates the licensing agreement, it exposes the organization to possible lawsuits. Scanning used packages for such license implications leads to faster detection and quicker fixes of such violations, and also reduces the risk for a lawsuit.

So wird geprüft

Prüfmethode: Manuelle Prüfung

Diese Empfehlung kann nicht automatisch geprüft werden. Ein Scan führt sie mit diesen Anweisungen auf, wenn Sie --include-manual übergeben.

Ensure license implication rules are configured and are scanned automatically. Once Dependency Scanning is enabled for your project, continuous license scanning is enabled.

So wird behoben

Behebungsmethode: Anleitung oder Infrastruktur-Patch

Enable Dependency scanning in order to automatically scan packages for license implications. To enable the analyzer, either: - Enable Auto DevOps, which includes dependency scanning. - Edit the .gitlab-ci.yml file manually. Use this method if your .gitlab-ci.yml file is complex. - Use a preconfigured merge request. - Create a scan execution policy that enforces dependency scanning.

Eigenschaften

Betriebssysteme
Beliebig
Tags
devsecopsgitlab
Referenz
CIS GitLab Benchmark v1.0.1 - 3.2.3 Ensure packages are automatically scanned for license implications