Enhancement request: Support global, per product, and per package registry/proxy configuration for purl2url
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 35/100
- Tipo de issue
- Funcionalidade
- Clareza
- Razoavelmente clara
- Status de atividade
- Estagnada
- Stack de tecnologia
- python
- Domínio
- backend, infrastructure
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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)
- Linguagem predominante
- Python
- Estrelas
- 52
- Forks
- 30
- Merge médio
- 4h 57min
- PRs com merge (30d)
- 21
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de aboutcode-org/dejacode
-
DOC: Document workflow between ScanCode.io and DejaCodeTalvez já em andamento @tdruez assumiu há 2 dias. Abertadocumentation
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 55/100
aboutcode-org/dejacode#606 · 3 comentários ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 45/100
aboutcode-org/dejacode#603 ·
Mantenedores costumam responder em até 1 dia
-
design needed enhancement
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 62/100
aboutcode-org/dejacode#561 · 3 comentários ·
Mantenedores costumam responder em até 1 dia
-
Enhancement request: Refine License Category - Copyleft LimitedTalvez livre de novo @hesa assumiu há 120 dias e não há nenhum pull request aberto. Abertadesign needed enhancement
aboutcode-org/dejacode#499 · 13 comentários · 3 responsáveis ·
Mantenedores costumam responder em até 1 dia
-
BUG: Product overview page splits product with many versions across pagesTalvez livre de novo Um pull request para esta issue foi fechado sem ser mesclado. Abertabug design needed enhancement
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 45/100
aboutcode-org/dejacode#460 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de aboutcode-org/dejacode
Issues semelhantes
-
_chunk_scan_fwd launches its Triton kernel without a device guard: NaN when a model is split across GPUsTalvez já em andamento @toddwbucy assumiu hoje. Aberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 85/100
state-spaces/mamba#1072 ·
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 85/100
loopj/aiovantage#414 ·
Mantenedores costumam responder em até 1 dia
-
power_mismatch_deline docstring: the rear-to-total RMAD conversion has an extra bifaciality factorAberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 85/100
pvlib/pvlib-python#2929 ·
Mantenedores costumam responder em até 1 dia
-
data good first issue launch-day unverified
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
BradGroux/wow-forever-mission-control#8 ·
Mantenedores costumam responder em até 1 dia
-
check bilibili falsely reports read/subtitle as broken: live_test fixture BV1GJ411x7h7 is gone (404)Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Panniantong/Agent-Reach#889 ·
Mantenedores costumam responder em até 2 dias