Skip to content

Redis modules (.so) in redis:latest are not included in Syft SBOM #4667

@sieunni

Description

@sieunni

Hello,

I was analyzing SBOM completeness for container images using Syft and noticed that Redis modules present in the redis:latest image are not included in the generated SBOM.

Inside the container, the following Redis modules exist:

/usr/local/lib/redis/modules/

Files:

  • redisbloom.so
  • redisearch.so
  • redistimeseries.so
  • rejson.so

I verified this by running:

docker run -it redis:latest bash
ls /usr/local/lib/redis/modules/

However, when generating an SBOM using Syft, these modules do not appear in the component list.

Example commands:

syft redis:latest -o table | grep redis

Output:

redis 8.6.1 binary

CycloneDX output:

syft redis:latest -o cyclonedx-json | jq '.components[].name' | grep redis

Output:

"redis"
"/usr/local/bin/redis-server"

The Redis modules are not included in the SBOM.

Environment:

Syft version: 1.42.2
Image: redis:latest

Question:

Is this expected behavior because these modules are standalone shared libraries (.so) that are not associated with a package manager?

Or would it be useful for Syft to detect such modules as components in the SBOM?

Thanks for your work on Syft!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions