Skip to content

Validate registry organization program status via enum - #1964

Merged
jdalphond-mitre merged 3 commits into
CVEProject:2.9.0-releasefrom
Ewgna:issue-1961-program-data-status
Aug 19, 2026
Merged

Validate registry organization program status via enum#1964
jdalphond-mitre merged 3 commits into
CVEProject:2.9.0-releasefrom
Ewgna:issue-1961-program-data-status

Conversation

@Ewgna

@Ewgna Ewgna commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Closes #1961

Add enum validation for program_data.status:
Active
Inactive
Pending
Updated Mongoose and registry-org schemas. Added tests for accepted values and invalid status rejection.

Tests:
baseOrgRepositoryTest.js — 5 passing
Docker integration suite — 489 passing

@jdalphond-mitre

Copy link
Copy Markdown
Collaborator

@Ewgna Please look at the ticket agian. I just updated it after seeing the data in the Prod db. Thanks

@jdalphond-mitre
jdalphond-mitre changed the base branch from dev to 2.9.0-release August 19, 2026 14:26
@jdalphond-mitre
jdalphond-mitre merged commit 5c9e8bd into CVEProject:2.9.0-release Aug 19, 2026
9 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.

Support "Pending" for program_data.status

2 participants