Skip to content

Use response instead of responses when serializing VulnerabilityAnalysis#869

Open
Naxdy wants to merge 1 commit into
CycloneDX:mainfrom
DeterminateSystems:fix/vex-response
Open

Use response instead of responses when serializing VulnerabilityAnalysis#869
Naxdy wants to merge 1 commit into
CycloneDX:mainfrom
DeterminateSystems:fix/vex-response

Conversation

@Naxdy
Copy link
Copy Markdown

@Naxdy Naxdy commented May 18, 2026

The spec actually names this response (singular) as opposed to responses (plural). Tools like Dependency Track also use the singular response, despite the fact that it describes an array.

See: https://cyclonedx.org/docs/1.5/json/#vulnerabilities_items_analysis_response

@Naxdy Naxdy requested a review from a team as a code owner May 18, 2026 18:45
@Naxdy Naxdy force-pushed the fix/vex-response branch from 802f863 to c005448 Compare May 18, 2026 18:45
@codacy-production
Copy link
Copy Markdown

codacy-production Bot commented May 18, 2026

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · -2 duplication

Metric Results
Complexity 0
Duplication -2

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@Shnatsel
Copy link
Copy Markdown
Contributor

Ah, that's a typo on our end. Thanks!

@Naxdy Naxdy force-pushed the fix/vex-response branch from c005448 to 3e9dbab Compare May 18, 2026 18:55
…Analysis`

Signed-off-by: Naxdy <naxdy@naxdy.org>
@Naxdy Naxdy force-pushed the fix/vex-response branch from 3e9dbab to f9762ba Compare May 18, 2026 18:59
@Naxdy
Copy link
Copy Markdown
Author

Naxdy commented May 18, 2026

I only tested with JSON (not XML), but the tests pass at least

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.

2 participants