Enhancement request: Support global, per product, and per package registry/proxy configuration for purl2url
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ó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python
- Lĩnh vực
- backend, infrastructure
Hướng nghiên cứu
Bắt đầu bằng cách xác định điểm vào chuyển đổi purl2url hiện có và luồng quét tự động khi nhập SBOM, sau đó xác định cách các cài đặt cấp global, product và package registry được lưu trữ và phân giải. Công việc được xem là hoàn tất khi các trình quản lý gói được hỗ trợ tuân theo các ghi đè registry theo thứ tự global < product < package, bao gồm cả các lần quét SBOM tự động, và các bài kiểm thử bao quát thứ tự ưu tiên.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Is your enhancement request related to a problem? Please describe.
Currently, DejaCode attempts to convert the PURL to a URL in order to submit a scan to ScanCode.io. Since PURLs do not contain any indication where the package is actually stored, this will not work for when the packages are stored in an internal artifact registry service (like Nexus, JFrog Artifactory, or similar). Additionally, attempting to download packages directly from the package registries could trigger rate limits or some organization may block direct downloads for security reasons, so that the use of an artifact proxy registry may be required (essentially, instead of requesting a package from e.g., npm, one would direct the request at the proxy registry on the internal artifact server, which would then request it from npm and the package data would be cached for subsequent requests by the artifact registry service)
What are the benefits of the requested enhancement?
If the target registry could be configured, then downloads from an internal artifact registry would be possible. This would help with analyzing internal packages that are not published to the public registry of the respective package manager and also support usage in security restricted environments.
Describe the solution you would like
This suggested approach would be a tiered configuration, global, per product, and per package, where for each supported package manager one can set the target registry, which would override the default purl2url behavior. Furthermore the configuration for the global configuration would be overridden by the product configuration and the product configuration overridden by the package configuration.
Additional notes
This feature should be compatible with SBOM imports followed by automatic scans (applying the global or product settings, or if package already exists, the package specific one)
- Ngôn ngữ chính
- Python
- Star
- 52
- Fork
- 30
- Merge trung bình
- 4 giờ 57 phút
- Pull request đã merge (30 ngày)
- 21
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của aboutcode-org/dejacode
-
DOC: Document workflow between ScanCode.io and DejaCodeCó thể đã có người làm @tdruez đã nhận hôm nay. Đang mởdocumentation
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
aboutcode-org/dejacode#606 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
aboutcode-org/dejacode#603 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
design needed enhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 62/100
aboutcode-org/dejacode#561 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Enhancement request: Refine License Category - Copyleft LimitedCó thể làm lại được @hesa đã nhận 118 ngày trước và không có pull request nào đang mở. Đang mởdesign needed enhancement
aboutcode-org/dejacode#499 · 13 bình luận · 3 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
BUG: Product overview page splits product with many versions across pagesCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mởbug design needed enhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
aboutcode-org/dejacode#460 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của aboutcode-org/dejacode
Issue tương tự
-
priority middle
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 62/100
KATO-Hiro/AtCoderClans#12940 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 76/100
huggingface/huggingface_hub#5283 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
ccxt/ccxt#31045 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug example
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 1 ngày