python / python/cpython

Update SBOM generation to meet new guidance from CISA

Đang mở
#123,038 4 bình luận 1 reaction 1 người được giao Xem trên GitHub

@sethmlarson đang làm issue này rồi.

Từ ngày 15/8/2024.

triaged type-security
Ngôn ngữ chính
Python
Star
77.2k
Fork
35.9k
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.