Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SBOM Upload via REST-API: Sporadic Missing Classifier/Type, CPE, and Dependency Graph #4469

Open
2 tasks done
eugenhoffmann opened this issue Dec 17, 2024 · 0 comments
Open
2 tasks done
Labels
defect Something isn't working in triage

Comments

@eugenhoffmann
Copy link

eugenhoffmann commented Dec 17, 2024

Current Behavior

We've encountered a sporadic issue that occurs rarely during SBOM uploads using the REST-API interface. Despite the SBOM (CDX v1.6) containing all necessary information, the project exhibits missing data after upload:

  • Classifier/Type: Not set
  • CPE: Not set
  • Dependency Graph: Not created
  • The GUI displays "n/a" for the last BOM upload:
    Image

Re-uploading the BOM file resolves the issue.

Is this sporadic behavior known or can be explained?

Steps to Reproduce

Unfortunately, we were not able to reproduce the sporadic SBOM upload issue. The relevant logging information gives us no hints. Neither a warning nor an error is created.

Expected Behavior

SBOM upload successfully updates project with all data (Classifier, CPE, Dependency Graph) and reflects last upload timestamp in GUI

Dependency-Track Version

4.12.2

Dependency-Track Distribution

Container Image

Database Server

PostgreSQL

Database Server Version

15.8

Browser

Google Chrome

Checklist

@eugenhoffmann eugenhoffmann added defect Something isn't working in triage labels Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect Something isn't working in triage
Projects
None yet
Development

No branches or pull requests

1 participant