Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
3ea9f05
Added user and org mongoose models for user registry
cberger8 Mar 17, 2025
b9799a1
[WIP] Progress on registry user endpoints
cberger8 Apr 7, 2025
c1e12c7
[WIP] added routes for registry orgs
cberger8 Apr 21, 2025
9d0d2fb
Updated registries to use uuids
david-rocca Apr 21, 2025
8ba1434
Updated controller and middleware for orgs
david-rocca Apr 21, 2025
2883f44
Added new populate script and test data for new collections
david-rocca Apr 21, 2025
cb6adcc
Swagger
david-rocca Apr 21, 2025
528fe3f
I don't know how to spell
david-rocca Apr 22, 2025
a604b9a
Populate reference fields
cberger8 May 5, 2025
b569f82
Fix org_affiliations field
cberger8 May 5, 2025
5a0905c
An org can not be a root, and not report to anyone, however, we may w…
david-rocca Apr 22, 2025
317ccf2
Added secretariat data, so we can start building policy
david-rocca Apr 22, 2025
f696d67
Secretariat policy now is applied
david-rocca May 6, 2025
a4217dd
single org now respects policy
david-rocca May 6, 2025
62dcb20
Post request for create org is now working
david-rocca May 6, 2025
e4948fb
Update org now works
david-rocca May 6, 2025
aba7cbb
Updated get/registryUsers to now handle new policy
david-rocca May 13, 2025
59d5bdc
Added registryOrg shortname user get
david-rocca May 13, 2025
ae43de3
More updates for user endpoints
david-rocca May 14, 2025
2c46ccb
Holy damn, it works, kinda sorta
david-rocca May 15, 2025
db55146
post /api/org is now backwards compatible
david-rocca May 19, 2025
6ef4c29
working state
david-rocca May 28, 2025
c020e61
Actually use sessions in create org, fixing my previous mistake
david-rocca May 28, 2025
b23d720
Added script to create replica set
david-rocca May 28, 2025
84eb0de
Got sessions? Finally actually fix create Org to use sessions
david-rocca May 28, 2025
d8b1a7d
We are rolling now, getOrg by identifier is now backwards compatible
david-rocca May 29, 2025
10f1675
Get quota is now backwards compatible
david-rocca May 29, 2025
bc97872
get users are backwards compatible
david-rocca May 29, 2025
ec94129
get users by org is now backwards compatible
david-rocca May 29, 2025
8891870
Get secret is now backwards compatible.
david-rocca May 29, 2025
2084ff1
Update user is now backwards compatible, that was painful
david-rocca Jun 5, 2025
d1142cd
create user now dows the the thing
david-rocca Jun 5, 2025
15b19cf
allowing user_id to the create function
david-rocca Jun 6, 2025
f759164
Fixing whitespace issues
david-rocca Jun 6, 2025
d62b26b
Fix import
david-rocca Jun 6, 2025
e9bc3ee
First pass at starting mongo with a replica set
david-rocca Jun 6, 2025
a1e783b
Make cve wait for mongo-init
david-rocca Jun 6, 2025
d43afc3
tests says we shouldn't do this
david-rocca Jun 6, 2025
558947d
Added migration script and fixed integration tests
david-rocca Jun 6, 2025
ac96a7c
Linting fixes
david-rocca Jun 6, 2025
a73dbb6
Even more linting fixes
david-rocca Jun 6, 2025
208c6a8
101 users test may be causing issues?
david-rocca Jun 6, 2025
5dba12d
Migrate script not connecting
david-rocca Jun 6, 2025
f4cfea6
Revert "101 users test may be causing issues?"
david-rocca Jun 6, 2025
3f5414f
is this the right path?
david-rocca Jun 6, 2025
c277318
Fixed all the type errors
david-rocca Jun 6, 2025
f67b810
some unit tests fixed, not really sure what the orginal author was tr…
david-rocca Jun 6, 2025
14f42fc
Skipping broken old bad tests
david-rocca Jun 9, 2025
fbb8c12
Skipping out of date tests
david-rocca Jun 9, 2025
7cb862b
Try to run migrate on test db for blackbox tests
david-rocca Jun 9, 2025
4885f96
We will make this work
david-rocca Jun 9, 2025
ffb1ed1
Ownen wilson voice: Why
david-rocca Jun 9, 2025
a4b1299
Ha this was actually a bug
david-rocca Jun 9, 2025
5752b8a
Trying to be fancy in output causes more tests to fail.
david-rocca Jun 9, 2025
5e989ed
fixing more return values
david-rocca Jun 9, 2025
0c929bf
AHHHHHHH
david-rocca Jun 9, 2025
99184ce
Apparently, middleware wanted details....not errors
david-rocca Jun 9, 2025
c7a8a65
Actually send back all the errors at once
david-rocca Jun 9, 2025
1352637
More fixes
david-rocca Jun 9, 2025
1aa5638
wat
david-rocca Jun 9, 2025
59e3318
removed a db inconsistancy
david-rocca Jun 9, 2025
7fbc412
demorgans law strikes again
david-rocca Jun 9, 2025
9d56d52
these tests hate my extra data
david-rocca Jun 9, 2025
0c4e811
If we were in typescript or java this bug would not have happened, ju…
david-rocca Jun 9, 2025
4aac714
More fixes than I can count
david-rocca Jun 9, 2025
9bccabd
Note to self, username === userid
david-rocca Jun 9, 2025
dcbeb8b
I am never making anything backwards compatible ever again
david-rocca Jun 9, 2025
953731e
services api prevents org admins from updating a user's username if t…
david-rocca Jun 9, 2025
844597e
Will it solve 2 more tests?
david-rocca Jun 9, 2025
321305c
Picky return is picky
david-rocca Jun 9, 2025
fc94c3a
You shall not self demote
david-rocca Jun 10, 2025
26cca6e
I've got a secret, that I have been hiding, under my skin
david-rocca Jun 10, 2025
ab4d4bf
wat
david-rocca Jun 10, 2025
3dd424d
Users who are not admin or sec cant change stuff
david-rocca Jun 10, 2025
8a3d7a5
trying to get the order right
david-rocca Jun 10, 2025
33bdb17
I can't read
david-rocca Jun 10, 2025
aadc92b
Updated swagger docs for backwards compatibility endpoints
cberger8 Jun 10, 2025
7b5035f
Merge branch 'dr_registry_user_policy' into registry_swagger_updates
cberger8 Jun 10, 2025
76a9c09
Fixed lint issues
cberger8 Jun 10, 2025
9a0e509
Merge pull request #1395 from CVEProject/registry_swagger_updates
david-rocca Jun 10, 2025
b859f85
Fixing windows \r
david-rocca Jun 10, 2025
796022c
HA, okay, I guess
david-rocca Jun 10, 2025
d5584e2
Someone let me know why
david-rocca Jun 10, 2025
54aa5ab
fixed validation chain issue, fixed wrong aggreation being used, and …
david-rocca Jun 11, 2025
18d1a6f
Ensure registry / org endpoints that were created as regular crud end…
david-rocca Jun 12, 2025
49405da
updated readme
david-rocca Jun 12, 2025
385b0da
remove cve-board...fornow
david-rocca Jun 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test-http.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Sleep
run: bash -c "while ! docker compose --file docker/docker-compose.yml logs --tail=10 cveawg | grep -q 'Serving on port'; do sleep 1; done"
- name: Load Data into MongoDb
run: docker compose -f docker/docker-compose.yml exec -T cveawg npm run populate:dev y
run: docker compose -f docker/docker-compose.yml exec -T cveawg npm run populate:dev y; docker compose -f docker/docker-compose.yml exec -T cveawg npm run migrate:test-black-box
- name: Run Black Box Tests
run: |
docker compose --file test-http/docker/docker-compose.yml exec -T demon pytest src/ | tee test-http/src/testOutput.txt
Expand Down
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
*NOTE: the Test environment of CVE Services now includes the release candidate “User Registry” which adds many additional features. See the details at the end of this ReadMe doc.*

# CVE-API

![CodeQL](https://github.com/CVEProject/cve-services/workflows/CodeQL/badge.svg)
Expand Down Expand Up @@ -140,3 +142,19 @@ In order to run the unit tests:
```sh
npm run start:test
```


### User Registry

The CVE Automation Working Group (on behalf of the CVE Program) is currently working on a new automation capability: the User Registry. The objective of the User Registry is to modernize how CVE Program Organizations (e.g., CNAs, Roots, Top level Roots, the Secretariat) manage/update their organizational properties and user pools. The new capability will ultimately allow CNAs, Roots, Top Level Roots to better manage their own data/user pools with more robust information. It is targeted to be implemented in a series of incremental deployments to CVE Services in the Fall/2025 through Summer/2026.

Current Status: The release candidate for the first User Registry increment (termed the User Registry MVP) is now available for testing/review in the CVE Program Testing Environment. (Note that this release IS NOT a PRODUCTION Release and will not be visible in the CVE Program PRODUCTION environment).
This release candidate establishes a new, more robust User/Organizations databases (and associated APIs) while maintaining full backwards compatibility with the current User/Organizational management functions (meaning that current CVE Services clients will not be required to be modified with the deployment of this candidate). It was discussed at the 6/11/2025 CVE Program AWG meeting.

HowTo: Credentialed users of CVE Services will be able to use the new capabilities via the API endpoints. Note that support for new endpoints may not be immediately available in the “client” tools provided by the community.

Next Steps: The AWG is taking comments/questions on this release candidate. You can provide feedback in three ways:
Send comments/questions to AWG+owner@CVE-CWE-Programs.groups.io,

Post Issues/Questions to the CVE Services Issue Board (please attach a “user registry” label to your post).
Attend (virtually) an AWG meeting which meets every week on Tuesday at 4:00 PM Eastern US Time. Send a request for the link to AWG+owner@CVE-CWE-Programs.groups.io.
Loading
Loading