This commit was merged in pull request #511.
This commit is contained in:
1 parent
8538b31682
commit
cd943b8d67
11 files changed
+462
-13
No files matched your search
+13
-3
@@ -217,6 +217,12 @@ Prüfwerk has the data, BSI TR-03183-2 v2.1:
|
||||
- The dependency graph has the product depending on every component, and
|
||||
each component as its own entry. The SBOM is flat (which component depends
|
||||
on which is not known), so `compositions` states it `incomplete`.
|
||||
- Packages whose lockfile records the file they are distributed as carry
|
||||
its hash (`hashes`) and an `externalReferences` entry of type
|
||||
`distribution` with the download URL and the hash: the lockfile's URL
|
||||
(npm, yarn, pnpm), or the public registry's (npmjs, nuget.org, crates.io)
|
||||
when the project takes the package from there and the lockfile names
|
||||
none.
|
||||
- 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.
|
||||
@@ -300,9 +306,13 @@ open, and why:
|
||||
|
||||
- **Component creator**: the email or URL of each package's maintainer.
|
||||
Prüfwerk does not record it yet.
|
||||
- **Hash of the deployable component** (SHA-512) and its download URL: not
|
||||
recorded yet; lockfiles hold them for npm and NuGet. Cargo, Python and
|
||||
Maven lockfiles only have SHA-256 hashes, which the TR does not accept.
|
||||
- **Hash of the deployable component** (SHA-512) and its download URL: met
|
||||
for npm, yarn and pnpm packages (the lockfile's `integrity`) and NuGet
|
||||
packages with a `packages.lock.json` (its `contentHash`). Cargo's lockfile
|
||||
has a SHA-256, which the export lists but the TR does not accept; Python
|
||||
and Maven lockfiles give Prüfwerk no hash yet. Packages from a private
|
||||
registry keep their hash but get no download URL, since the export only
|
||||
names the public registry's.
|
||||
- **Distribution licence**: the licence the product is distributed under
|
||||
(`acknowledgement: concluded`) is the manufacturer's decision; the export
|
||||
states the declared licences only.
|
||||
|
||||
@@ -28,6 +28,7 @@ together on stage in one pass before the next prod promotion.
|
||||
| #498 (2/4) | VEX editor and downloads on the target page |
|
||||
| #508 (A) | CycloneDX 1.6 SBOM with BSI TR-03183-2 properties |
|
||||
| #498 (3/4) | CSAF 2.0 VEX advisory draft |
|
||||
| #508 (B1) | Lockfile hashes and download URLs in the SBOM |
|
||||
|
||||
**Customer-visible on the next prod rescan** is marked **[visible]**: these
|
||||
change what a customer sees on their existing targets, without them doing
|
||||
@@ -500,6 +501,7 @@ alerts (e.g. the log4j/gson target of check 19).
|
||||
- **[visible]** SBOM-Qualität card on the SBOM page, the score on cra-ai-23,
|
||||
`sbom-quality.json` in the evidence pack. Expect a low BSI grade until the
|
||||
export carries CycloneDX 1.6 and the TR's fields.
|
||||
|
||||
### 25. #494 DevSkim for .NET
|
||||
|
||||
- **Do:** upload `fixtures/dotnet/legacy-sample` and `fixtures/dotnet/framework48`
|
||||
@@ -607,6 +609,26 @@ Use the target of check 26, with statements of every status.
|
||||
- **[visible]** a new download and web-address field in the VEX card; the
|
||||
evidence pack gains `csaf-vex.json`.
|
||||
|
||||
### 29. #508 part B1: hashes and download URLs from lockfiles
|
||||
|
||||
Use a target with a `package-lock.json` (or `yarn.lock`/`pnpm-lock.yaml`)
|
||||
with `integrity` fields, one .NET target with `packages.lock.json`, and one
|
||||
Rust target.
|
||||
|
||||
- **Do:** rescan each; export **CycloneDX 1.6**. **Expect:** npm/yarn/pnpm
|
||||
components have `hashes` with a `SHA-512` and an `externalReferences`
|
||||
entry `distribution` with the tarball URL and the same hash; NuGet
|
||||
components a `SHA-512` and the nuget.org flat-container URL; Cargo
|
||||
components a `SHA-256` and the static.crates.io URL. Python and Maven
|
||||
components have none.
|
||||
- **Do:** a JS project whose `.npmrc` routes `@corp` to another registry.
|
||||
**Expect:** `@corp/*` packages keep their hash, but get a distribution
|
||||
URL only when the lockfile names one.
|
||||
- **Expect:** SBOM-Qualität: "Deployable Hash" is met for the npm/NuGet
|
||||
share of the components.
|
||||
- **[visible]** SBOM exports and evidence packs carry the hashes and URLs
|
||||
after the next rescan.
|
||||
|
||||
## After the pass
|
||||
|
||||
- The nightly job on `main` is green with the new mobile targets.
|
||||
|
||||
Reference in new issue
Block a user