What happened:
The README specifies that dpkg-db-cataloger is a valid cataloger. I can also see this in the codebase
func NewDBCataloger() *generic.Cataloger {
return generic.NewCataloger("dpkg-db-cataloger").
But when I go to set it in my catalog list, it fails
.syft.yaml
catalogers:
- dpkg-db-cataloger
I get nothing
$ syft ubuntu -q | grep deb
but when I set the cataloger list like this
.syft.yaml
catalogers:
- dpkgdb-cataloger
it works
$ syft ubuntu -q | grep deb
adduser 3.118ubuntu5 deb
apt 2.4.10 deb
base-files 12ubuntu4.4 deb
base-passwd 3.5.52build1 deb
Why? The simple fix is to update the docs, but im perplexed why this is happening.
Environment:
Application: syft
Version: 0.94.0
BuildDate: 2023-10-20T17:21:07Z
GitCommit: 8f6bdde6662aa8050a71eadbdb7bd5a3b079a56d
GitDescription: v0.94.0
Platform: darwin/arm64
GoVersion: go1.21.3
Compiler: gc
- OS (e.g:
cat /etc/os-release or similar): macos
What happened:
The README specifies that
dpkg-db-catalogeris a valid cataloger. I can also see this in the codebaseBut when I go to set it in my catalog list, it fails
.syft.yaml
I get nothing
but when I set the cataloger list like this
.syft.yaml
it works
Why? The simple fix is to update the docs, but im perplexed why this is happening.
Environment:
syft version:cat /etc/os-releaseor similar): macos