Skip to content

Add optional isLatest post parameter in sbom upload#21

Merged
lukpueh merged 1 commit intoeclipse-csi:mainfrom
lukpueh:add-is-latest
Feb 26, 2026
Merged

Add optional isLatest post parameter in sbom upload#21
lukpueh merged 1 commit intoeclipse-csi:mainfrom
lukpueh:add-is-latest

Conversation

@lukpueh
Copy link
Copy Markdown
Contributor

@lukpueh lukpueh commented Feb 25, 2026

fixes #19

Adds an optional boolean isLatest post parameter to the sbom upload endpoint, which is relayed to DependencyTrack. Default value is True.

isLatest affects the display of policy violations and vulnerabilites for collection projects in the DependencyTrack dashboard. See issue for details.

Change details

  • Update PiaUploadPayload and DependencyTrackUploadPayload models
  • Update DependencyTrackUploadPayload crafting in main.
  • Update tests and docs (DESIGN.md)

fixes eclipse-csi#19

Adds an optional boolean `isLatest` post parameter to the sbom upload
endpoint, which is relayed to DependencyTrack. Default value is True.

isLatest affects the display of policy violations and vulnerabilites
for collection projects in the DependencyTrack dashboard. See issue for
details.

**Change details**

- Update PiaUploadPayload and DependencyTrackUploadPayload models
- Update DependencyTrackUploadPayload crafting in main.
- Update tests and docs (DESIGN.md)

Signed-off-by: Lukas Puehringer <lukas.puehringer@eclipse-foundation.org>
@lukpueh lukpueh merged commit 72f1156 into eclipse-csi:main Feb 26, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for setting latest version in upload sbom endpoint

3 participants