Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Optional Security Insights import/export alongside .project/

Đang mở
#497 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python, yaml
Lĩnh vực
security, tooling

Hướng nghiên cứu

Start by reading darnit's existing .project/ import and export paths and how context values record their origin and confirmation status. Then identify the context keys corresponding to Security Insights fields and review the schema versions to support; the issue does not name specific files or tests. Done means imported values retain their origin without overwriting confirmed values, and any export includes only confirmed values, with sample-file tests covering current schemas.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

help wanted module-core

Summary

Add optional support for the OpenSSF Security Insights file (security-insights.yml) as an additional input and output alongside .project/, which remains darnit's primary mechanism for project metadata.

Scope

  • Import: when a repository has a Security Insights file, read the fields that correspond to darnit context keys (for example security contact, vulnerability reporting policy, maintainers) and surface them as values asserted by the project, with their origin recorded. They should not overwrite values already confirmed in .project/.
  • Export (optional): generate or update a Security Insights file from values that have been confirmed in .project/. Unconfirmed candidates must never be written.
  • Tests with sample Security Insights files covering the schema versions currently in use.

Out of scope

  • Replacing .project/ or changing how darnit stores confirmed context.

Notes for contributors

Other OpenSSF tooling (for example the OSPS Baseline Privateer plugin and AMPEL policies) reads Security Insights, so this mainly improves interoperability. The maintainers are not planning to build this themselves; contributions are welcome.

Ngôn ngữ chính
Python
Star
22
Fork
27
Merge trung bình
2 ngày 28 phút
Pull request đã merge (30 ngày)
40

Chuẩn bị môi trường

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.

Issue khác của darnitdevorg/darnit

Tất cả issue của darnitdevorg/darnit

Issue tương tự

Thêm issue về Python

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.