Skip to content

Add public active CNA list endpoint - #1968

Open
Ewgna wants to merge 2 commits into
CVEProject:2.8.6-releasefrom
Ewgna:issue-1962-public-active-cna-list
Open

Add public active CNA list endpoint#1968
Ewgna wants to merge 2 commits into
CVEProject:2.8.6-releasefrom
Ewgna:issue-1962-public-active-cna-list

Conversation

@Ewgna

@Ewgna Ewgna commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

Closes Issue 1962

Summary

Adds a API endpoint returning the active CNA list in the CVE.org JSON format.
GET /api/registry/org/cnas

Important Changes

src/controller/registry.controller/index.js
Added the cna list route

src/controller/registry.controller/org.registry.controller.js
returns CNAlist.json

schemas/registry-org/list-active-cnas-response.json
added the endpoint response schema

test/unit-tests/org/activeCnaListTest.js
verifies the controller returns the correct list

test/integration-tests/registry-org/activeCnaListTest.js
verifies unauthenticated access
compares sha-256 hashes of the response with the JSON

Testing

ESlint passing
Send GET /api/registry/org/cnas without authentication headers.
Confirm a 200 response containing the CNA array.

Notes

  • src/scripts/CNAlist.json is treated as the authoritative source

@david-rocca david-rocca left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Message sent on teams

@david-rocca
david-rocca changed the base branch from dev to 2.8.6-release August 27, 2026 15:03
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