Enhancement request: Support global, per product, and per package registry/proxy configuration for purl2url
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- python
- Ambito
- backend, infrastructure
Direzione di ricerca
Start by locating the existing purl2url conversion entry point and the SBOM-import automatic-scan flow, then identify how global, product, and package settings are stored and resolved. Done means supported package managers honor global < product < package registry overrides, including automatic SBOM scans, with tests covering precedence.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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)
- Lingua principale
- Python
- Stelle
- 52
- Fork
- 30
- Merge medio
- 4h 57m
- PR unite (30g)
- 21
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di aboutcode-org/dejacode
-
DOC: Document workflow between ScanCode.io and DejaCodeForse già presa @tdruez l’ha presa oggi. Apertadocumentation
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
aboutcode-org/dejacode#606 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
aboutcode-org/dejacode#603 ·
I maintainer di solito rispondono entro 1 giorno
-
design needed enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 62/100
aboutcode-org/dejacode#561 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Enhancement request: Refine License Category - Copyleft LimitedForse di nuovo libera @hesa l’ha presa 118 giorni fa e non c’è nessuna pull request aperta. Apertadesign needed enhancement
aboutcode-org/dejacode#499 · 13 commenti · 3 assegnatari ·
I maintainer di solito rispondono entro 1 giorno
-
BUG: Product overview page splits product with many versions across pagesForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Apertabug design needed enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
aboutcode-org/dejacode#460 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di aboutcode-org/dejacode
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
-
Validate finite output clamping limits in StepPredictor.prepare_clamping_params to prevent silent NaN/Inf propagationForse già presa @muskan-creates352 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
mllam/neural-lam#848 ·
I maintainer di solito rispondono entro 2 giorni
-
infra
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
fab-geocommuns/RNB-coeur#1166 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
deepspeedai/DeepSpeed#8951 ·
I maintainer di solito rispondono entro 2 giorni