summaryrefslogtreecommitdiffstats
path: root/descriptions/api.github.com/api.github.com.2022-11-28.yaml
diff options
context:
space:
mode:
authorgithub-openapi-bot <security+github-openapi-bot@github.com>2025-01-23 10:46:09 -0800
committergithub-openapi-bot <security+github-openapi-bot@github.com>2025-01-23 10:46:09 -0800
commit94de83b6dd373b658c971b19d736da3a7d5b5c2a (patch)
treee055727e1ce6a125c56473516a327415c74a10ec /descriptions/api.github.com/api.github.com.2022-11-28.yaml
parent7509e549b11bd1aeebf531fc527c542a70cf944b (diff)
downloadrest-api-description-94de83b6dd373b658c971b19d736da3a7d5b5c2a.tar.gz
rest-api-description-94de83b6dd373b658c971b19d736da3a7d5b5c2a.zip
Update OpenAPI 3.0 Descriptions
Diffstat (limited to 'descriptions/api.github.com/api.github.com.2022-11-28.yaml')
-rw-r--r--descriptions/api.github.com/api.github.com.2022-11-28.yaml60
1 files changed, 40 insertions, 20 deletions
diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml
index 75b9fed79..fce72e63f 100644
--- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml
+++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml
@@ -15514,7 +15514,7 @@ paths:
operationId: hosted-compute/list-network-configurations-for-org
externalDocs:
description: API method documentation
- url: https://docs.github.com/rest/settings/network-configurations#list-hosted-compute-network-configurations-for-an-organization
+ url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization
parameters:
- "$ref": "#/components/parameters/org"
- "$ref": "#/components/parameters/per-page"
@@ -15545,7 +15545,7 @@ paths:
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
- category: settings
+ category: orgs
subcategory: network-configurations
post:
summary: Create a hosted compute network configuration for an organization
@@ -15558,7 +15558,7 @@ paths:
operationId: hosted-compute/create-network-configuration-for-org
externalDocs:
description: API method documentation
- url: https://docs.github.com/rest/settings/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization
+ url: https://docs.github.com/rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization
parameters:
- "$ref": "#/components/parameters/org"
requestBody:
@@ -15610,7 +15610,7 @@ paths:
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
- category: settings
+ category: orgs
subcategory: network-configurations
"/orgs/{org}/settings/network-configurations/{network_configuration_id}":
get:
@@ -15624,7 +15624,7 @@ paths:
operationId: hosted-compute/get-network-configuration-for-org
externalDocs:
description: API method documentation
- url: https://docs.github.com/rest/settings/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization
+ url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization
parameters:
- "$ref": "#/components/parameters/org"
- "$ref": "#/components/parameters/network-configuration-id"
@@ -15644,7 +15644,7 @@ paths:
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
- category: settings
+ category: orgs
subcategory: network-configurations
patch:
summary: Update a hosted compute network configuration for an organization
@@ -15657,7 +15657,7 @@ paths:
operationId: hosted-compute/update-network-configuration-for-org
externalDocs:
description: API method documentation
- url: https://docs.github.com/rest/settings/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization
+ url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization
parameters:
- "$ref": "#/components/parameters/org"
- "$ref": "#/components/parameters/network-configuration-id"
@@ -15707,7 +15707,7 @@ paths:
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
- category: settings
+ category: orgs
subcategory: network-configurations
delete:
summary: Delete a hosted compute network configuration from an organization
@@ -15720,7 +15720,7 @@ paths:
operationId: hosted-compute/delete-network-configuration-from-org
externalDocs:
description: API method documentation
- url: https://docs.github.com/rest/settings/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization
+ url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization
parameters:
- "$ref": "#/components/parameters/org"
- "$ref": "#/components/parameters/network-configuration-id"
@@ -15730,7 +15730,7 @@ paths:
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
- category: settings
+ category: orgs
subcategory: network-configurations
"/orgs/{org}/settings/network-settings/{network_settings_id}":
get:
@@ -15744,7 +15744,7 @@ paths:
operationId: hosted-compute/get-network-settings-for-org
externalDocs:
description: API method documentation
- url: https://docs.github.com/rest/settings/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization
+ url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization
parameters:
- "$ref": "#/components/parameters/org"
- "$ref": "#/components/parameters/network-settings-id"
@@ -15764,7 +15764,7 @@ paths:
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
- category: settings
+ category: orgs
subcategory: network-configurations
"/orgs/{org}/team/{team_slug}/copilot/metrics":
get:
@@ -67615,6 +67615,21 @@ components:
required:
- vector_string
- score
+ security-advisory-epss:
+ type: object
+ nullable: true
+ readOnly: true
+ description: The EPSS scores as calculated by the [Exploit Prediction Scoring
+ System](https://www.first.org/epss).
+ properties:
+ percentage:
+ type: number
+ minimum: 0
+ maximum: 100
+ percentile:
+ type: number
+ minimum: 0
+ maximum: 100
simple-user:
title: Simple User
description: A GitHub user.
@@ -67873,6 +67888,8 @@ components:
- score
cvss_severities:
"$ref": "#/components/schemas/cvss-severities"
+ epss:
+ "$ref": "#/components/schemas/security-advisory-epss"
cwes:
type: array
nullable: true
@@ -67889,14 +67906,6 @@ components:
required:
- cwe_id
- name
- epss:
- type: object
- nullable: true
- properties:
- percentage:
- type: number
- percentile:
- type: number
credits:
type: array
description: The users who contributed to the advisory.
@@ -70778,6 +70787,8 @@ components:
additionalProperties: false
cvss_severities:
"$ref": "#/components/schemas/cvss-severities"
+ epss:
+ "$ref": "#/components/schemas/security-advisory-epss"
cwes:
type: array
description: Details for the advisory pertaining to Common Weakness Enumeration.
@@ -201378,6 +201389,9 @@ components:
cvss_v4:
vector_string: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
score: 8.7
+ epss:
+ - percentage: 0.00045
+ percentile: 0.16001e0
cwes:
- cwe_id: CWE-200
name: Exposure of Sensitive Information to an Unauthorized Actor
@@ -214495,6 +214509,9 @@ components:
cvss_v4:
vector_string: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
score: 8.7
+ epss:
+ - percentage: 0.00045
+ percentile: 0.16001e0
cwes:
- cwe_id: CWE-200
name: Exposure of Sensitive Information to an Unauthorized Actor
@@ -214681,6 +214698,9 @@ components:
cvss_v4:
vector_string: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
score: 8.5
+ epss:
+ - percentage: 0.00045
+ percentile: 0.16001e0
cwes:
- cwe_id: CWE-532
name: Insertion of Sensitive Information into Log File