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

Add a warning or an error when the bom version is not supported #3815

Closed
2 tasks done
Maxouwell opened this issue Jun 6, 2024 · 2 comments
Closed
2 tasks done

Add a warning or an error when the bom version is not supported #3815

Maxouwell opened this issue Jun 6, 2024 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@Maxouwell
Copy link

Current Behavior

If the bom version sent is not supported, the project is updated with 0 component and a CycloneDx version "CycloneDx null"

I had the problem when the cycloneDx maven plugin switched to CycloneDx 1.5, on Dtrack 4.8.2

Proposed Behavior

Reject the bom or add a error/warning in the logs

Checklist

@nscuro
Copy link
Member

nscuro commented Jun 6, 2024

This is fixed in v4.11 (#3522, DependencyTrack/frontend#762). BOMs are now validated upon upload. If the CycloneDX version is not yet supported, the upload will fail.

@nscuro nscuro added duplicate This issue or pull request already exists and removed enhancement New feature or request labels Jun 6, 2024
@nscuro nscuro closed this as not planned Won't fix, can't repro, duplicate, stale Jun 6, 2024
Copy link
Contributor

github-actions bot commented Jul 6, 2024

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants