feat(sbom): confirm the licence of components (licence review) (#569)
This commit was merged in pull request #569.
This commit is contained in:
1 parent
70125b4556
commit
e65aa76ef5
23 files changed
+2707
-105
No files matched your search
+46
-3
@@ -204,10 +204,44 @@ Copyleft-licensed dependencies can require you to release your source code under
|
||||
| Column | Description |
|
||||
|--------|-------------|
|
||||
| **Lizenz** | License identifier |
|
||||
| **Art** | **Copyleft** or **Freizügig** (permissive) |
|
||||
| **Art** | The category: **Freizügig**, **Schwaches Copyleft** (LGPL, MPL, EPL), **Starkes Copyleft** (GPL), **Netzwerk-Copyleft** (AGPL), **Proprietär / kommerziell**, **Gemeinfrei**, **Eigener Code** or **Unklar**, with how many of them were confirmed |
|
||||
| **Pakete** | The packages using it |
|
||||
| **Anzahl** | Number of packages |
|
||||
|
||||
### Confirming a license
|
||||
|
||||
Where the scan finds no license (**Unknown**) or a wrong one, people with the
|
||||
IT_ADMIN or USER role can confirm the license themselves; CXO and LEGAL can
|
||||
read the confirmations.
|
||||
|
||||
1. On the **Lizenzen** tab, **Anzeigen und bearbeiten** next to the count of
|
||||
components without a known license lists exactly those (the filter
|
||||
**Lizenz offen (unbekannt)** on the **Pakete** tab does the same).
|
||||
2. Click **Bearbeiten** in a row, or tick several rows and click
|
||||
**Lizenz bearbeiten** to confirm one license for all of them (for
|
||||
example every library of your own company).
|
||||
3. Choose **SPDX-Lizenz** and type its id or expression (`MIT`,
|
||||
`Apache-2.0`, `MIT OR Apache-2.0`); the category follows from it. For a
|
||||
license SPDX does not list, choose **Eigene oder kommerzielle Lizenz**,
|
||||
give its name and pick the category; for a bought license also the
|
||||
contract number and **Gültig bis**.
|
||||
4. Optionally add the copyright holders (one per line), the license text, a
|
||||
link to it, where you found it (a file in the repository, a contract, a
|
||||
web page), whether the component is shipped with the product or only used
|
||||
to build it, and a note.
|
||||
5. **Für alle Versionen dieses Pakets** applies it to every version of the
|
||||
package, now and in future scans; otherwise only to the listed version.
|
||||
|
||||
A confirmed license is kept apart from the scan results, so the next scan
|
||||
does not undo it. The table shows it with a **bestätigt** badge (who and
|
||||
when on hover), the license summary counts it instead of the detected one,
|
||||
and **Bestätigung zurücknehmen** in the dialog withdraws it. The same
|
||||
package in other targets gets it too.
|
||||
|
||||
::: info
|
||||
The categories are guidance for reviewing your components, not legal advice.
|
||||
:::
|
||||
|
||||
## Export
|
||||
|
||||
1. On the **Pakete** tab, select a target under **Alle Prüfobjekte**. Export
|
||||
@@ -252,8 +286,17 @@ Prüfwerk has the data, BSI TR-03183-2 v2.1:
|
||||
the homepage or repository its registry names, or the repository its
|
||||
purl names. Never a person's name or email.
|
||||
- Licenses are an SPDX id, an SPDX expression or a named license, marked
|
||||
`acknowledgement: declared`: they are what the package declares, not a
|
||||
licence Prüfwerk concluded.
|
||||
`acknowledgement: declared`: they are what the package declares. A
|
||||
license a person confirmed is written instead, marked
|
||||
`acknowledgement: concluded` (a license of your own by name, with its text
|
||||
and URL), with the copyright in `copyright` and the properties
|
||||
`pruefwerk:license:category`, `pruefwerk:license:usage`,
|
||||
`pruefwerk:license:contract`, `pruefwerk:license:valid_until`,
|
||||
`pruefwerk:license:evidence`, `pruefwerk:license:concluded` (who and when)
|
||||
and, where the scan found another one, `pruefwerk:license:declared`.
|
||||
- In SPDX, a confirmed license is `licenseConcluded` (otherwise
|
||||
`NOASSERTION`), with `copyrightText`; a license of your own is defined in
|
||||
`hasExtractedLicensingInfos`.
|
||||
- The known vulnerabilities are listed at the top level, each naming the
|
||||
components it affects. A vulnerability is listed once under its CVE
|
||||
(`source` NVD) when one is known, with its GitHub advisory under
|
||||
|
||||
Reference in new issue
Block a user