Skip to content

fix: Unable to include python as a dependency in SBOM generation #4003

Closed
@jananir640

Description

@jananir640

Description

Unable to include python as a dependency in SBOM generation for an artifact that contains python but is able to include it as a dependency on other files

To reproduce

Steps to reproduce the behaviour:

  1. scan using these flags/this config --log debug --sbom-output <some_file.json> --sbom-type cyclonedx --sbom-format json
  2. on this file https://s3.amazonaws.com/ddagent-windows-stable/datadog-agent-7-latest.amd64.msi
  3. and on this file https://s3.amazonaws.com/apt.datadoghq.com/pool/d/da/datadog-agent_7.48.1-1_amd64.deb

Expected behaviour: python to be included as a dependency in both SBOMs
Actual behaviour: only included in SBOM for file from step 3

Version/platform info

Version of CVE-bin-tool: 3.3rc2
Installed from GitHub
Operating system: Linux
Python version (e.g. python3 --version): 3.8 or 3.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions