aboutcode-org / aboutcode-org/scancode.io

Scan Go binaries in container images and improve debian/ubuntu support

Aberta
#1,341 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Python
Estrelas
215
Forks
203
Merge médio
4d 8h
PRs com merge (30d)
6

Descrição

I scan `docker://ghcr.io/nvidia/k8s-device-plugin:a044adb8-ubuntu22.04` as a docker_image and I have these issues:
- [ ] pkg:deb/debian is reported and furthermore with an unknown license. This comes from `db406658b54593a161c3de8c38f321420ed569ae94d7e16b1a6b7ce4d46bfba0/usr/share/doc/ca-certificates/examples/ca-certificates-local/debian/copyright` which seem to be an example, not really installed debian package. We should not pick copyright files at any depth in this case. The only correct file here is db406658b54593a161c3de8c38f321420ed569ae94d7e16b1a6b7ce4d46bfba0/usr/share/doc/ca-certificates/copyright for pkg:deb/ubuntu/ca-certificates@20230311ubuntu0.22.04.1?arch=all
- [ ] Some files like 931b7ff0cb6f494b27d31a4cbec3efe62ac54676add9c7469560302f1541ecaf/usr/bin/bash are not in a package bu `pkg:deb/ubuntu/bash@5.1-6ubuntu1.1?arch=amd64` is present alright
- [ ] There are some sort issues https://github.com/nexB/scancode.io/issues/1340
- [ ] Files like e2a9df91151cc4bf35761ec141555f9ebb8efb88e623b5e400e30f502c55034c/usr/bin/nvidia-device-plugin are binaries built from Go and we can extract a lot of origin details from them (and then enrich that with a PurlDB lookup). go-inspector does wonders here. See attached
[nvidia-device-plugin.yml.txt](https://github.com/user-attachments/files/16366083/nvidia-device-plugin.yml.txt)

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.