Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
33d6cfb
lots of refactoring and fun
david-rocca Jan 22, 2026
0cc0092
Fixing actual issues
david-rocca Jan 23, 2026
555e01e
Merge branch 'dev' into dr_1613
david-rocca Jan 23, 2026
06da221
Connect conversations to orgs instead of review objects
cberger8 Feb 2, 2026
4e9d4d7
Logic for appending and linked list conversations
cberger8 Feb 3, 2026
c8c5a4c
Updated conversation tests
cberger8 Feb 4, 2026
24b2024
Minor fix for handling conversation body
cberger8 Feb 4, 2026
07e7a6c
Add review object history retrieval and review object rejection funct…
emathew5 Jan 22, 2026
b0418d1
Enhance review object functionality: implement secretariat handling f…
emathew5 Jan 27, 2026
4f5ae34
remove 'uuid' extraction from pending review comparisons
emathew5 Jan 27, 2026
15e5ce9
edge case. If a new org update matches the current obj but a review o…
emathew5 Jan 27, 2026
2b92d74
passing options parameters
emathew5 Jan 27, 2026
9d94717
unit tests
emathew5 Jan 28, 2026
0404834
integration tests
emathew5 Feb 2, 2026
2b97878
update name
emathew5 Feb 2, 2026
d43f75f
checking git pipeline
emathew5 Feb 2, 2026
90f9a82
re-trigger all workflows
emathew5 Feb 3, 2026
0b7a661
Resolving conflicts
david-rocca Feb 5, 2026
ae82707
integration!
david-rocca Feb 5, 2026
62fd906
Small changes
david-rocca Feb 6, 2026
3b6340b
Fixing failing tests
david-rocca Feb 6, 2026
d1be6a6
Working on update user
david-rocca Feb 6, 2026
491139a
updating the registry endpoints on how they make users
david-rocca Feb 9, 2026
f8adb0a
Lots - o - fixes
david-rocca Feb 10, 2026
365d71b
omit mongoose native fields
emathew5 Feb 11, 2026
98ed3fb
More integration test fixes
david-rocca Feb 12, 2026
2259a50
Merge branch 'dr_test_take3' of github.com:CVEProject/cve-services in…
david-rocca Feb 12, 2026
c9d56cb
Revert "omit mongoose native fields"
david-rocca Feb 12, 2026
a1c26f7
fix linitng
david-rocca Feb 12, 2026
d6f6b76
I win
david-rocca Feb 12, 2026
a8bff03
starting to clean up the documenation
david-rocca Feb 13, 2026
e726508
documenation clean up, protecting some endpoints
david-rocca Feb 13, 2026
2c82e64
Adding documentation for conversations
david-rocca Feb 13, 2026
49f4a90
more documentation
david-rocca Feb 13, 2026
3969e11
Added hydration to GETs
david-rocca Feb 13, 2026
5d886c8
more documentation
david-rocca Feb 13, 2026
8791c5c
Ha, nil unwrapping
david-rocca Feb 13, 2026
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
1,591 changes: 1,467 additions & 124 deletions api-docs/openapi.json

Large diffs are not rendered by default.

63 changes: 63 additions & 0 deletions schemas/conversation/conversation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://cve.mitre.org/schema/conversation/conversation.json",
"type": "object",
"title": "Conversation",
"description": "JSON Schema for a conversation message",
"properties": {
"UUID": {
"type": "string",
"description": "Unique identifier for the conversation message"
},
"target_uuid": {
"type": "string",
"description": "UUID of the target entity (e.g., Organization)"
},
"previous_conversation_uuid": {
"type": "string",
"description": "UUID of the previous message in the conversation thread"
},
"next_conversation_uuid": {
"type": "string",
"description": "UUID of the next message in the conversation thread"
},
"author_id": {
"type": "string",
"description": "UUID of the message author"
},
"author_name": {
"type": "string",
"description": "Name of the message author"
},
"author_role": {
"type": "string",
"description": "Role of the message author"
},
"visibility": {
"type": "string",
"description": "Visibility level of the message"
},
"body": {
"type": "string",
"description": "Content of the message"
},
"posted_at": {
"type": "string",
"format": "date-time",
"description": "Timestamp when the message was posted"
},
"last_updated": {
"type": "string",
"format": "date-time",
"description": "Timestamp when the message was last updated"
}
},
"required": [
"UUID",
"target_uuid",
"author_id",
"author_name",
"body",
"posted_at"
]
}
40 changes: 40 additions & 0 deletions schemas/conversation/list-conversations-response.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://cve.mitre.org/schema/conversation/list-conversations-response.json",
"type": "object",
"title": "List Conversations Response",
"description": "JSON Schema for a list of conversation messages",
"properties": {
"totalCount": {
"type": "integer",
"description": "Total number of items"
},
"itemsPerPage": {
"type": "integer",
"description": "Number of items per page"
},
"pageCount": {
"type": "integer",
"description": "Total number of pages"
},
"currentPage": {
"type": "integer",
"description": "Current page number"
},
"prevPage": {
"type": ["integer", "null"],
"description": "Previous page number"
},
"nextPage": {
"type": ["integer", "null"],
"description": "Next page number"
},
"conversations": {
"type": "array",
"items": {
"$ref": "conversation.json"
},
"description": "List of conversation messages"
}
}
}
4 changes: 2 additions & 2 deletions schemas/registry-org/create-registry-org-response.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
"cve_program_org_function": {
"type": "string",
"enum": ["CNA", "ADP", "Root", "Secretariat"],
"enum": ["CNA", "ADP", "Secretariat"],
"description": "The organization's function within the CVE program"
},
"authority": {
Expand All @@ -43,7 +43,7 @@
"type": "array",
"items": {
"type": "string",
"enum": ["CNA", "ADP", "Root", "Secretariat"]
"enum": ["CNA", "ADP", "Secretariat"]
}
}
},
Expand Down
166 changes: 97 additions & 69 deletions schemas/registry-org/get-registry-org-response.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,38 +9,37 @@
"type": "string",
"description": "Unique identifier for the organization"
},
"long_name": {
"type": "string",
"description": "Full name of the organization"
},
"short_name": {
"type": "string",
"description": "Short name or acronym of the organization"
},
"long_name": {
"type": "string",
"description": "Full name of the organization"
},
"aliases": {
"type": "array",
"items": {
"type": "string"
},
"description": "Alternative names or aliases for the organization"
},
"cve_program_org_function": {
"type": "string",
"enum": ["CNA", "ADP", "Root", "Secretariat"],
"description": "The organization's function within the CVE program"
},
"authority": {
"type": "object",
"properties": {
"active_roles": {
"type": "array",
"items": {
"type": "string",
"enum": ["CNA", "ADP", "Root", "Secretariat"]
}
}
"type": "array",
"items": {
"type": "string",
"enum": [
"CNA",
"ADP",
"Secretariat",
"BULK_DOWNLOAD"
]
},
"required": ["active_roles"]
"description": "The organization's function within the CVE program"
},
"root_or_tlr": {
"type": "boolean",
"description": "Indicates if the organization is a root or top-level root"
},
"reports_to": {
"type": ["string", "null"],
Expand All @@ -53,36 +52,19 @@
},
"description": "UUIDs of organizations overseen by this organization"
},
"root_or_tlr": {
"type": "boolean",
"description": "Indicates if the organization is a root or top-level root"
},
"users": {
"type": "array",
"items": {
"type": "string"
},
"description": "UUIDs of users associated with this organization"
},
"charter_or_scope": {
"type": "string",
"description": "Description of the organization's charter or scope"
},
"disclosure_policy": {
"type": "string",
"description": "The organization's disclosure policy"
},
"product_list": {
"type": "string",
"description": "List of products associated with the organization"
},
"soft_quota": {
"type": "integer",
"description": "Soft quota for CVE IDs"
"type": "array",
"items": {
"type": "string"
},
"description": "UUIDs of users associated with this organization"
},
"hard_quota": {
"type": "integer",
"description": "Hard quota for CVE IDs"
"admins": {
"type": "array",
"items": {
"type": "string"
},
"description": "UUIDs of admin users"
},
"contact_info": {
"type": "object",
Expand All @@ -106,13 +88,6 @@
"type": "string",
"description": "Point of contact phone number"
},
"admins": {
"type": "array",
"items": {
"type": "string"
},
"description": "UUIDs of admin users"
},
"org_email": {
"type": "string",
"format": "email",
Expand All @@ -124,7 +99,43 @@
"description": "Organization's website URL"
}
},
"required": ["poc", "poc_email", "admins", "org_email"]
"required": [
"poc",
"poc_email",
"org_email"
]
},
"cna_role_type": {
"type": "string",
"description": "Type of CNA role"
},
"cna_country": {
"type": "string",
"description": "Country of the CNA"
},
"vulnerability_advisory_locations": {
"type": "array",
"items": {
"type": "string"
},
"description": "Locations of vulnerability advisories"
},
"advisory_location_require_credentials": {
"type": "boolean",
"description": "Indicates if advisory locations require credentials"
},
"industry": {
"type": "string",
"description": "Industry sector of the organization"
},
"tl_root_start_date": {
"type": "string",
"format": "date-time",
"description": "Start date for Top-Level Root role"
},
"is_cna_discussion_list": {
"type": "boolean",
"description": "Indicates if part of the CNA discussion list"
},
"in_use": {
"type": "boolean",
Expand All @@ -139,19 +150,36 @@
"type": "string",
"format": "date-time",
"description": "Timestamp of the last update to the organization data"
},
"hard_quota": {
"type": "integer",
"description": "Hard quota for CVE IDs"
},
"soft_quota": {
"type": "integer",
"description": "Soft quota for CVE IDs"
},
"charter_or_scope": {
"type": "string",
"description": "Description of the organization's charter or scope"
},
"disclosure_policy": {
"type": "string",
"description": "The organization's disclosure policy"
},
"product_list": {
"type": "string",
"description": "List of products associated with the organization"
},
"conversation": {
"type": "array",
"items": {
"type": "object",
"properties": {
"body": { "type": "string" }
}
},
"description": "List of conversation messages associated with the organization"
}
},
"required": [
"UUID",
"long_name",
"short_name",
"cve_program_org_function",
"authority",
"root_or_tlr",
"users",
"contact_info",
"in_use",
"created",
"last_updated"
]
}
}
Loading
Loading