Skip to content

Commit

Permalink
fix(sbom): Fix container purl generation for apt and rpm
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrosca-snyk committed May 7, 2024
1 parent 89c9491 commit d8ed61d
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 16 deletions.
30 changes: 15 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -116,7 +116,7 @@
"semver": "^6.0.0",
"snyk-config": "^5.0.0",
"snyk-cpp-plugin": "2.24.0",
"snyk-docker-plugin": "6.10.4",
"snyk-docker-plugin": "6.11.1",
"snyk-go-plugin": "1.23.0",
"snyk-gradle-plugin": "4.1.0",
"snyk-module": "3.1.0",
Expand Down
5 changes: 5 additions & 0 deletions test/jest/acceptance/snyk-container/container.spec.ts
Expand Up @@ -39,20 +39,25 @@ describe('snyk container', () => {
id: 'base-files@11.1+deb11u7',
info: {
name: 'base-files',
purl:
'pkg:deb/debian/base-files@11.1%2Bdeb11u7?distro=debian-bullseye',
version: '11.1+deb11u7',
},
},
{
id: 'netbase@6.3',
info: {
name: 'netbase',
purl: 'pkg:deb/debian/netbase@6.3?distro=debian-bullseye',
version: '6.3',
},
},
{
id: 'tzdata@2021a-1+deb11u10',
info: {
name: 'tzdata',
purl:
'pkg:deb/debian/tzdata@2021a-1%2Bdeb11u10?distro=debian-bullseye',
version: '2021a-1+deb11u10',
},
},
Expand Down

0 comments on commit d8ed61d

Please sign in to comment.