aboutcode-org / aboutcode-org/scancode.io

Use annotation and properties in SBOMs for additional details?

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

Descrição

ScanCode.io will generate a project result file as JSON after each run that includes project details like input sources, settings, package and dependencies found. Other SBOM tools such as grype and trivy are able to store this project result details within the SBOMs they generated using CycloneDX properties and SPDX annotations to store.

It might be a good idea for ScanCode.io to do the same, not yet sure which level of details should be capture in the SBOM.

Example from Trivy below

```
"purl": "pkg:apk/alpine/alpine-baselayout@3.4.0-r0?arch=x86_64&distro=3.17.0",
"properties": [
{
"name": "aquasecurity:trivy:LayerDiffID",
"value": "sha256:ded7a220bb058e28ee3254fbba04ca90b679070424424761a53a043b93b612bf"
},
{
"name": "aquasecurity:trivy:LayerDigest",
"value": "sha256:c158987b05517b6f2c5913f3acef1f2182a32345a304fe357e3ace5fadcad715"
},
{
"name": "aquasecurity:trivy:PkgID",
"value": "alpine-baselayout@3.4.0-r0"
},
{
"name": "aquasecurity:trivy:PkgType",
"value": "alpine"
},
{
"name": "aquasecurity:trivy:SrcName",
"value": "alpine-baselayout"
},
{
"name": "aquasecurity:trivy:SrcVersion",
"value": "3.4.0-r0"
}
```

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.