Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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 api-docs/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2605,7 +2605,7 @@
"Registry Organization"
],
"summary": "Updates information about the organization specified by short name (accessible Temporarily to Secretariat only)",
"description": " <h2>Access Control</h2> <p>User must belong to an organization with the <b>Secretariat</b> role temporarily.</p> <p>In the future, only the organization's admin will be able to request changes to its information.</p> <p>With Joint Approval required for the following fields:</p> <h2>Expected Behavior</h2> <b>This endpoint expects a full organization object in the request body.</b> <p><b>Secretariat:</b> Updates any organization's information</p> <p><b>Organization Admin:</b> Requests changes to its organization's information</p> <ul> <li>short_name</li> <li>long_name</li> <li>authority</li> <li>aliases</li> <li>oversees</li> <li>top_level_root</li> <li>charter_or_scope</li> <li>product_list</li> <li>disclosure_policy</li> <li>contact_info.poc</li> <li>contact_info.poc_email</li> <li>contact_info.poc_phone</li> <li>contact_info.org_email</li> <li>partner_role_type</li> <li>partner_country</li> <li>advisory_locations</li> <li>industry</li> <li>tl_root_start_date</li> <li>is_cna_discussion_list</li> </ul>",
"description": " <h2>Access Control</h2> <p>User must belong to an organization with the <b>Secretariat</b> role temporarily.</p> <p>In the future, only the organization's admin will be able to request changes to its information.</p> <p>With Joint Approval required for the following fields:</p> <h2>Expected Behavior</h2> <b>This endpoint expects a full organization object in the request body.</b> <p><b>Secretariat:</b> Updates any organization's information</p> <p><b>Organization Admin:</b> Requests changes to its organization's information</p> <ul> <li>short_name</li> <li>long_name</li> <li>authority</li> <li>aliases</li> <li>oversees</li> <li>top_level_root</li> <li>charter_or_scope</li> <li>product_list</li> <li>disclosure_policy</li> <li>contact_info.websites</li> <li>contact_info.emails</li> <li>contact_info.phone</li> <li>partner_role_type</li> <li>partner_country</li> <li>advisory_locations</li> <li>industry</li> <li>tl_root_start_date</li> <li>is_cna_discussion_list</li> </ul>",
"operationId": "orgUpdateSingle",
"parameters": [
{
Expand Down
88 changes: 82 additions & 6 deletions datadump/pre-population/glossary.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,83 @@
[
{
"services_short_name": "long_name",
"label": "Long Name",
"def": "The full, official name of an organization participating in the CVE program."
}
]
{
"services_short_name": "long_name",
"label": "Long Name",
"def": "Partner long name displayed on the Partners list on website"
},
{
"services_short_name": "partner_number",
"label": "Partner Number",
"def": "Unique Identifier that provides insight into when the partner joined the program (used for reporting and website updates)"
},
{
"services_short_name": "short_name",
"label": "Short Name",
"def": "Partner short name, computer readable name, used for API requests and posted with the CVE record."
},
{
"services_short_name": "status",
"label": "Status",
"def": "Partner status"
},
{
"services_short_name": "authority",
"label": "Authority",
"def": "Provides the type of partner."
},
{
"services_short_name": "website_update_date",
"label": "CVE Website Update Date",
"def": "Date Partner information was last updated on the website."
},
{
"services_short_name": "cve_website_update_needed",
"label": "CVE Website Update Needed",
"def": "Tracks if partner information updates are completed or pending."
},
{
"services_short_name": "top_level_root",
"label": "Top Level Root",
"def": "Provides the CNA Top Level Root."
},
{
"services_short_name": "reports_to",
"label": "Reports To",
"def": "Provides who the partner reports to."
},
{
"services_short_name": "partner_country",
"label": "Partner Country",
"def": "Partner country that is self identified."
},
{
"services_short_name": "partner_active_date",
"label": "Partner Active Date",
"def": "Date the partner joined the program."
},
{
"services_short_name": "partner_inactive_date",
"label": "Partner Inactive Date",
"def": "Date the partner was removed from the program."
},
{
"services_short_name": "charter_or_scope",
"label": "Charter or Scope",
"def": "Partner charter or scope."
},
{
"services_short_name": "disclosure_policy",
"label": "Disclosure Policy",
"def": "Partner disclosure policy."
},
{
"services_short_name": "advisory_location",
"label": "Advisory Location",
"def": "Partner vulnerability advisory locations."
},
{
"services_short_name": "vulnerability_advisory_location_for_web_scraping",
"label": "Vulnerability Advisory Locations for Web Scraping.",
"def": "Partner vulnerability advisory location for web scraping."
}
]

27 changes: 16 additions & 11 deletions schemas/registry-org/BaseOrg.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,19 +140,24 @@
"contact_info": {
"type": "object",
"properties": {
"phone": {
"type": "string"
},
"poc": {
"type": "string"
"websites": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"uniqueItems": true
},
"poc_email": {
"type": "string",
"format": "email"
"emails": {
"type": "array",
"items": {
"type": "string",
"format": "email"
},
"uniqueItems": true
},
"website": {
"type": "string",
"format": "uri"
"phone": {
"type": "string"
}
},
"additionalProperties": false
Expand Down
25 changes: 16 additions & 9 deletions schemas/registry-org/CNAOrg.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,23 @@
"contact_info": {
"type": "object",
"properties": {
"phone": {
"type": "string"
},
"poc": {
"type": "string"
"websites": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"uniqueItems": true
},
"poc_email": {
"type": "string"
"emails": {
"type": "array",
"items": {
"type": "string",
"format": "email"
},
"uniqueItems": true
},
"website": {
"phone": {
"type": "string"
}
},
Expand Down Expand Up @@ -136,4 +143,4 @@
"short_name",
"hard_quota"
]
}
}
60 changes: 46 additions & 14 deletions schemas/registry-org/RootOrg.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,24 @@
"description": "Schema for a CVE Root Organization",
"additionalProperties": false,
"properties": {
"UUID": { "$ref": "/BaseOrg#/definitions/uuidType" },
"short_name": { "$ref": "/BaseOrg#/definitions/shortName" },
"long_name": { "$ref": "/BaseOrg#/definitions/longName" },
"UUID": {
"$ref": "/BaseOrg#/definitions/uuidType"
},
"short_name": {
"$ref": "/BaseOrg#/definitions/shortName"
},
"long_name": {
"$ref": "/BaseOrg#/definitions/longName"
},
"new_short_name": {
"description": "Used to rename an organization's short name during an update.",
"type": "string",
"minLength": 2,
"maxLength": 32
},
"aliases": { "$ref": "/BaseOrg#/properties/aliases" },
"aliases": {
"$ref": "/BaseOrg#/properties/aliases"
},
"private_contacts": {
"type": "array",
"items": {
Expand All @@ -37,11 +45,25 @@
"contact_info": {
"type": "object",
"properties": {
"poc": { "type": "string" },
"poc_email": { "type": "string" },
"poc_phone": { "type": "string" },
"org_email": { "type": "string" },
"website": { "type": "string" }
"websites": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"uniqueItems": true
},
"emails": {
"type": "array",
"items": {
"type": "string",
"format": "email"
},
"uniqueItems": true
},
"phone": {
"type": "string"
}
},
"additionalProperties": false
},
Expand All @@ -68,10 +90,20 @@
"partner_country": {
"type": "string"
},
"advisory_locations": { "$ref": "/BaseOrg#/properties/advisory_locations" },
"program_data": { "$ref": "/BaseOrg#/properties/program_data" },
"industry": { "$ref": "/BaseOrg#/properties/industry" },
"top_level_root": { "$ref": "/BaseOrg#/properties/top_level_root" }
"advisory_locations": {
"$ref": "/BaseOrg#/properties/advisory_locations"
},
"program_data": {
"$ref": "/BaseOrg#/properties/program_data"
},
"industry": {
"$ref": "/BaseOrg#/properties/industry"
},
"top_level_root": {
"$ref": "/BaseOrg#/properties/top_level_root"
}
},
"required": ["short_name"]
"required": [
"short_name"
]
}
35 changes: 18 additions & 17 deletions schemas/registry-org/create-registry-org-request.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,26 +85,27 @@
"contact_info": {
"type": "object",
"properties": {
"phone": {
"type": "string"
},
"poc": {
"type": "string"
"websites": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"uniqueItems": true
},
"poc_email": {
"type": "string",
"format": "email"
"emails": {
"type": "array",
"items": {
"type": "string",
"format": "email"
},
"uniqueItems": true
},
"website": {
"type": "string",
"format": "uri"
"phone": {
"type": "string"
}
},
"required": [
"poc",
"poc_email",
"admins"
]
"additionalProperties": false
},
"advisory_locations": {
"type": "array",
Expand Down Expand Up @@ -190,4 +191,4 @@
"authority",
"long_name"
]
}
}
35 changes: 18 additions & 17 deletions schemas/registry-org/create-registry-org-response.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,26 +126,27 @@
"contact_info": {
"type": "object",
"properties": {
"phone": {
"type": "string"
},
"poc": {
"type": "string"
"websites": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"uniqueItems": true
},
"poc_email": {
"type": "string",
"format": "email"
"emails": {
"type": "array",
"items": {
"type": "string",
"format": "email"
},
"uniqueItems": true
},
"website": {
"type": "string",
"format": "uri"
"phone": {
"type": "string"
}
},
"required": [
"poc",
"poc_email",
"admins"
]
"additionalProperties": false
},
"advisory_locations": {
"type": "array",
Expand Down Expand Up @@ -184,4 +185,4 @@
}
}
}
}
}
Loading
Loading