python / python/cpython

Update SBOM generation to meet new guidance from CISA

Aperta
#123,038 4 commenti 1 reazione 1 assegnatario Vedi su GitHub

@sethmlarson ci sta già lavorando.

Dal 15/8/2024.

triaged type-security
Lingua principale
Python
Stelle
77.2k
Fork
35.9k
Metriche di merge delle PR
Metriche PR in attesa

Descrizione

Proposal:

CISA has published the third revision of SBOM guidance, which at the moment isn't approved but is headed towards final rounds of review. Currently our SBOMs met the old revision which is "Minimum Elements of an SBOM" published by NTIA.

The new guidance uses a "maturity level", ranging from minimum required to aspirational. Below I've used the "aspirational" maturity level for all the criteria.

I checked our SBOM documents against the document to see how much would be needed to follow this new set of guidance. It turns out, not too much! Here's the breakdown:

Elements that need more work:
  • Author Name: We need to add an email address
  • SBOM Type: We need to upgrade to SPDX 3 for this field
  • Supplier Name: Need to double-check that these names conform. Also need to update where we add Heritage information.
  • Unique Identifier: We're almost there, there's at least one project we should request a CPE for.
  • Heritage: We don't encode this information today. Some of our components are slightly modified from upstream dependency, should be automatable.
  • Relationship Completeness
  • License
  • Copyright Notice
Elements we already conform with:
  • Timestamp
  • Primary Component
  • Component Name
  • Component Version
  • Cryptographic Hashes
  • Relationships
  • Redacted and Unknown Components and Attributes
Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.