Files
pruefwerk/docs
Sharang ParnerkarandClaude Opus 5.5 74eb8b7647
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Failing after 2m53s
feat(sbom): confirm the licence of components (licence review)
Where the scan finds no licence (or a wrong one), IT_ADMIN and USER can
confirm it: an SPDX licence or one of their own, its category, copyright,
licence text and URL, where it was found, a bought licence's contract and
end, whether the component is shipped or only used to build, and a note.
For one version or every version of the package; one or many components
at once.

- core: LicenseConclusion (models/license.rs) with matching by package key
  (purl without version), validation and LicenseRef ids for licences SPDX
  does not list; spdx_license::category (permissive, weak/strong/network
  copyleft, public domain; OR takes the least, AND the most restrictive;
  free-text names stay unclear).
- Conclusions live in their own collection (license_conclusions): a scan
  rewrites sbom_entries, so they are merged in when components are read.
- Exports: a confirmed licence is CycloneDX acknowledgement "concluded"
  (with copyright and pruefwerk:license:* properties, the detected one kept
  as pruefwerk:license:declared) and SPDX licenseConcluded with
  copyrightText; LicenseRef licences are defined in
  hasExtractedLicensingInfos. Also in the evidence pack and the SBOM
  quality score.
- API: GET/PUT/DELETE /api/v1/licenses/conclusions (writes role-gated);
  /sbom?unresolved=true lists the components still without a licence;
  the licence summary counts the confirmed licence and gives categories.
- Dashboard: edit dialog, row checkboxes for bulk editing, "bestätigt"
  badge with who and when, "Lizenz offen" filter and counter, colours by
  category (LGPL/MPL now show as weak copyleft, not GPL).
- Docs: guide/sbom.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 13:41:51 +02:00
..
2026-03-08 13:59:50 +00:00