I have tried generating SBOM with syft 1.32 version, i see it contains even configuration files, SBOM should contain only components and dependencies rite ? Adding screenshot for reference.
In earlier versions i have not seen, is this introduced newly ?
Out of curiosity, I ran syft on alpine:latest for every format, and found “/etc/apk/keys*” in two formats, syft-json and cyclonedx-xml, and they’re in the alpine-keys package.
By default, Syft will find files that are owned by a package it finds. So if apk or rpm or whatever have written down that a package owns a file, Syft will report that package.
You can set SYFT_FILE_METADATA_SELECTION=none in the environment to make Syft not do this if you don’t find it useful.