Relationships for NTIA Minimum Elements in per-RPM SBOMs
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- Ein halber Tag
- Anfängerfreundlichkeit
- 22/100
- Issue-Typ
- Dokumentation
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Bereich
- documentation
Rechercherichtung
This is a question about interpreting NTIA Minimum Elements for SPDX rather than a code change: read the linked how-to at https://spdx.github.io/spdx-ntia-sbom-howto and the NTIA report to see how DESCRIBES, CONTAINS and DEPENDS_ON are described there. Then check how the existing pages in this Shell-based docs repo cover relationship types, so an answer can be turned into guidance. Done means a written answer (and possibly a docs paragraph) covering whether DEPENDS_ON is needed, whether CONTAINS applies to separately-packaged dependencies, and how version ranges are expressed.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Hey there,
I am working on AlmaLinux's SBOM generator, extending it so that our SBOMs contain NTIA's Minimum Elements. However, I've got a couple of questions regarding relationships in SPDX documents.
In AlmaLinux, there is one SBOM for each RPM package. Let's say there is a package foo-1.0 that depends on (but does not contain) another package bar-1.1. According to [1], an SPDX SBOM conforming to the NTIA Minimum Elements needs one (or more) DESCRIBES relationship and CONTAINS relationships for each transitive dependency that is included in any of the packages described by the SBOM. In this example, the dependency is not contained in the described package, so my understanding is that I do not need any CONTAINS relationships at all. Is that correct?
The official NTIA document on the Minimum Elements [2] also uses the word "includes", which seems to correspond to CONTAINS relationships. Don't I have to include information about dependencies that are not contained in the package, but are in a separate one, as in the example above?
I thought something like Relationship: SPDXRef-Package-foo-1.0 DEPENDS_ON SPDXRef-Package-bar-1.1 would be necessary for the NTIA Minimum Elements. Is my reasoning incorrect?
Finally, RPM packages sometimes depend on other packages without specifying an exact version (or a range like bar >= 1.0 and bar < 2.0), but packages are declared with exact versions in SPDX documents. How would I describe such a relationship in SPDX?
Thank you for your help!
[1] https://spdx.github.io/spdx-ntia-sbom-howto
[2] https://www.ntia.gov/sites/default/files/publications/sbom_minimum_elements_report_0.pdf
- Vorherrschende Sprache
- Shell
- Sterne
- 6
- Forks
- 5
- Ø Merge
- 1 T. 14 Std.
- Gemergte PRs (30 T.)
- 2
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus spdx/using
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
-
Create a using document for converting SPDX 2.X external document referencesEvtl. wieder frei @goneall hat das vor 67 Tagen übernommen, und es ist kein Pull Request offen. Offen
-
documentation
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 45/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 55/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 45/100
Ähnliche Issues
-
product:quill type:bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
Community-Access/quill#2319 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Update opencode to 2.4.3Offenpackage-update
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 63/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
gracecraft-software/lupin#431 · 3 Kommentare ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
saltbo/zpan#846 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
bot file conflict
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
termux/termux-packages#33741 ·
Maintainer antworten meist innerhalb von 1 Tag