diff --git a/src/github-apps/lib/config.json b/src/github-apps/lib/config.json
index 252af82625..7063c38178 100644
--- a/src/github-apps/lib/config.json
+++ b/src/github-apps/lib/config.json
@@ -60,5 +60,5 @@
"2022-11-28"
]
},
- "sha": "8f64fcb5cee86e8cf793e6129b230f8fbedaf96c"
+ "sha": "f9de54ab72eff1bc9855fd0940816350912ae5b7"
}
\ No newline at end of file
diff --git a/src/rest/data/fpt-2022-11-28/schema.json b/src/rest/data/fpt-2022-11-28/schema.json
index 382e82ff11..950d7d5f4f 100644
--- a/src/rest/data/fpt-2022-11-28/schema.json
+++ b/src/rest/data/fpt-2022-11-28/schema.json
@@ -225382,7 +225382,7 @@
}
],
"previews": [],
- "descriptionHTML": "
Note
\n
\nThis endpoint is in public preview and is subject to change.
\n
\n
You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor all users across organizations with access to Copilot within your enterprise, with a further breakdown of suggestions, acceptances,\nand number of active users by editor and language for each day. See the response schema tab for detailed metrics definitions.
\n
The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.
\n
Only owners and billing managers can view Copilot usage metrics for the enterprise.
\n
OAuth app tokens and personal access tokens (classic) need either the manage_billing:copilot or read:enterprise scopes to use this endpoint.
",
+ "descriptionHTML": "
Note
\n
\nThis endpoint is in public preview and is subject to change.
\n
\n
You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor all users across organizations with access to Copilot within your enterprise, with a further breakdown of suggestions, acceptances,\nand number of active users by editor and language for each day. See the response schema tab for detailed metrics definitions.
\n
The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.
\n
The time zone in the response is in UTC time, that means that the cutoff time for the \"day\" is UTC time.
\n
Only owners and billing managers can view Copilot usage metrics for the enterprise.
\n
OAuth app tokens and personal access tokens (classic) need either the manage_billing:copilot or read:enterprise scopes to use this endpoint.
",
"statusCodes": [
{
"httpStatusCode": "200",
@@ -239126,20 +239126,50 @@
},
"name": "github/example",
"dataLicense": "CC0-1.0",
- "documentDescribes": [
- "github/example"
- ],
- "documentNamespace": "https://github.com/github/example/dependency_graph/sbom-abcdef123456",
+ "documentNamespace": "https://spdx.org/spdxdocs/protobom/15e41dd2-f961-4f4d-b8dc-f8f57ad70d57",
"packages": [
{
+ "name": "rails",
"SPDXID": "SPDXRef-Package",
- "name": "rubygems:rails",
"versionInfo": "1.0.0",
"downloadLocation": "NOASSERTION",
"filesAnalyzed": false,
"licenseConcluded": "MIT",
"licenseDeclared": "MIT",
- "copyrightText": "Copyright (c) 1985 GitHub.com"
+ "copyrightText": "Copyright (c) 1985 GitHub.com",
+ "externalRefs": [
+ {
+ "referenceCategory": "PACKAGE-MANAGER",
+ "referenceType": "purl",
+ "referenceLocator": "pkg:gem/rails@1.0.0"
+ }
+ ]
+ },
+ {
+ "name": "github/example",
+ "SPDXID": "SPDXRef-Repository",
+ "versionInfo": "main",
+ "downloadLocation": "NOASSERTION",
+ "filesAnalyzed": false,
+ "externalRefs": [
+ {
+ "referenceCategory": "PACKAGE-MANAGER",
+ "referenceType": "purl",
+ "referenceLocator": "pkg:github/example@main"
+ }
+ ]
+ }
+ ],
+ "relationships": [
+ {
+ "relationshipType": "DEPENDS_ON",
+ "spdxElementId": "SPDXRef-Repository",
+ "relatedSpdxElement": "SPDXRef-Package"
+ },
+ {
+ "relationshipType": "DESCRIBES",
+ "spdxElementId": "SPDXRef-DOCUMENT",
+ "relatedSpdxElement": "SPDXRef-Repository"
}
]
}
@@ -239166,6 +239196,13 @@
"SPDX-2.3"
]
},
+ "comment": {
+ "type": "string",
+ "description": "An optional comment about the SPDX document.",
+ "examples": [
+ "Exact versions could not be resolved for some packages. For more information: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/"
+ ]
+ },
"creationInfo": {
"type": "object",
"properties": {
@@ -239206,21 +239243,11 @@
"CC0-1.0"
]
},
- "documentDescribes": {
- "type": "array",
- "items": {
- "type": "string",
- "examples": [
- "github/github"
- ]
- },
- "description": "The name of the repository that the SPDX document describes."
- },
"documentNamespace": {
"type": "string",
"description": "The namespace for the SPDX document.",
"examples": [
- "https://github.com/example/dependency_graph/sbom-123"
+ "https://spdx.org/spdxdocs/protobom/15e41dd2-f961-4f4d-b8dc-f8f57ad70d57"
]
},
"packages": {
@@ -239239,7 +239266,7 @@
"type": "string",
"description": "The name of the package.",
"examples": [
- "rubygems:github/github"
+ "github/github"
]
},
"versionInfo": {
@@ -239332,8 +239359,35 @@
"name",
"versionInfo",
"downloadLocation",
- "filesAnalyzed",
- "supplier"
+ "filesAnalyzed"
+ ]
+ },
+ "relationships": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "relationshipType": {
+ "type": "string",
+ "description": "The type of relationship between the two SPDX elements.",
+ "examples": [
+ "DEPENDS_ON"
+ ]
+ },
+ "spdxElementId": {
+ "type": "string",
+ "description": "The SPDX identifier of the package that is the source of the relationship."
+ },
+ "relatedSpdxElement": {
+ "type": "string",
+ "description": "The SPDX identifier of the package that is the target of the relationship."
+ }
+ }
+ },
+ "required": [
+ "relationshipType",
+ "spdxElementId",
+ "relatedSpdxElement"
]
}
},
@@ -239343,7 +239397,6 @@
"creationInfo",
"name",
"dataLicense",
- "documentDescribes",
"documentNamespace",
"packages"
]
@@ -250945,6 +250998,11 @@
},
"size": {
"type": "integer"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -251460,7 +251518,8 @@
"raw_url": "https://gist.githubusercontent.com/monalisa/2decf6c462d9b4418f2/raw/ac3e6daf176fafe73609fd000cd188e4472010fb/README.md",
"size": 23,
"truncated": false,
- "content": "Hello world from GitHub"
+ "content": "Hello world from GitHub",
+ "encoding": "utf-8"
}
},
"public": true,
@@ -252528,6 +252587,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -252921,6 +252985,11 @@
},
"size": {
"type": "integer"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -253509,6 +253578,11 @@
},
"size": {
"type": "integer"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -253993,7 +254067,8 @@
"raw_url": "https://gist.githubusercontent.com/monalisa/2decf6c462d9b4418f2/raw/ac3e6daf176fafe73609fd000cd188e4472010fb/README.md",
"size": 23,
"truncated": false,
- "content": "Hello world from GitHub"
+ "content": "Hello world from GitHub",
+ "encoding": "utf-8"
}
},
"public": true,
@@ -255061,6 +255136,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -255390,7 +255470,8 @@
"raw_url": "https://gist.githubusercontent.com/monalisa/2decf6c462d9b4418f2/raw/ac3e6daf176fafe73609fd000cd188e4472010fb/README.md",
"size": 23,
"truncated": false,
- "content": "Hello world from GitHub"
+ "content": "Hello world from GitHub",
+ "encoding": "utf-8"
}
},
"public": true,
@@ -256458,6 +256539,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -257758,6 +257844,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -259070,6 +259161,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -260811,6 +260907,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -261184,6 +261285,11 @@
},
"size": {
"type": "integer"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -261876,7 +261982,8 @@
"raw_url": "https://gist.githubusercontent.com/monalisa/2decf6c462d9b4418f2/raw/ac3e6daf176fafe73609fd000cd188e4472010fb/README.md",
"size": 23,
"truncated": false,
- "content": "Hello world from GitHub"
+ "content": "Hello world from GitHub",
+ "encoding": "utf-8"
}
},
"public": true,
@@ -262944,6 +263051,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -263345,6 +263457,11 @@
},
"size": {
"type": "integer"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
diff --git a/src/rest/data/ghec-2022-11-28/schema.json b/src/rest/data/ghec-2022-11-28/schema.json
index 9afb6e0858..6a519a2707 100644
--- a/src/rest/data/ghec-2022-11-28/schema.json
+++ b/src/rest/data/ghec-2022-11-28/schema.json
@@ -234342,7 +234342,7 @@
}
],
"previews": [],
- "descriptionHTML": "
Note
\n
\nThis endpoint is in public preview and is subject to change.
\n
\n
You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor all users across organizations with access to Copilot within your enterprise, with a further breakdown of suggestions, acceptances,\nand number of active users by editor and language for each day. See the response schema tab for detailed metrics definitions.
\n
The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.
\n
Only owners and billing managers can view Copilot usage metrics for the enterprise.
\n
OAuth app tokens and personal access tokens (classic) need either the manage_billing:copilot or read:enterprise scopes to use this endpoint.
",
+ "descriptionHTML": "
Note
\n
\nThis endpoint is in public preview and is subject to change.
\n
\n
You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor all users across organizations with access to Copilot within your enterprise, with a further breakdown of suggestions, acceptances,\nand number of active users by editor and language for each day. See the response schema tab for detailed metrics definitions.
\n
The response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.
\n
The time zone in the response is in UTC time, that means that the cutoff time for the \"day\" is UTC time.
\n
Only owners and billing managers can view Copilot usage metrics for the enterprise.
\n
OAuth app tokens and personal access tokens (classic) need either the manage_billing:copilot or read:enterprise scopes to use this endpoint.
",
"statusCodes": [
{
"httpStatusCode": "200",
@@ -248098,20 +248098,50 @@
},
"name": "github/example",
"dataLicense": "CC0-1.0",
- "documentDescribes": [
- "github/example"
- ],
- "documentNamespace": "https://github.com/github/example/dependency_graph/sbom-abcdef123456",
+ "documentNamespace": "https://spdx.org/spdxdocs/protobom/15e41dd2-f961-4f4d-b8dc-f8f57ad70d57",
"packages": [
{
+ "name": "rails",
"SPDXID": "SPDXRef-Package",
- "name": "rubygems:rails",
"versionInfo": "1.0.0",
"downloadLocation": "NOASSERTION",
"filesAnalyzed": false,
"licenseConcluded": "MIT",
"licenseDeclared": "MIT",
- "copyrightText": "Copyright (c) 1985 GitHub.com"
+ "copyrightText": "Copyright (c) 1985 GitHub.com",
+ "externalRefs": [
+ {
+ "referenceCategory": "PACKAGE-MANAGER",
+ "referenceType": "purl",
+ "referenceLocator": "pkg:gem/rails@1.0.0"
+ }
+ ]
+ },
+ {
+ "name": "github/example",
+ "SPDXID": "SPDXRef-Repository",
+ "versionInfo": "main",
+ "downloadLocation": "NOASSERTION",
+ "filesAnalyzed": false,
+ "externalRefs": [
+ {
+ "referenceCategory": "PACKAGE-MANAGER",
+ "referenceType": "purl",
+ "referenceLocator": "pkg:github/example@main"
+ }
+ ]
+ }
+ ],
+ "relationships": [
+ {
+ "relationshipType": "DEPENDS_ON",
+ "spdxElementId": "SPDXRef-Repository",
+ "relatedSpdxElement": "SPDXRef-Package"
+ },
+ {
+ "relationshipType": "DESCRIBES",
+ "spdxElementId": "SPDXRef-DOCUMENT",
+ "relatedSpdxElement": "SPDXRef-Repository"
}
]
}
@@ -248138,6 +248168,13 @@
"SPDX-2.3"
]
},
+ "comment": {
+ "type": "string",
+ "description": "An optional comment about the SPDX document.",
+ "examples": [
+ "Exact versions could not be resolved for some packages. For more information: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/"
+ ]
+ },
"creationInfo": {
"type": "object",
"properties": {
@@ -248178,21 +248215,11 @@
"CC0-1.0"
]
},
- "documentDescribes": {
- "type": "array",
- "items": {
- "type": "string",
- "examples": [
- "github/github"
- ]
- },
- "description": "The name of the repository that the SPDX document describes."
- },
"documentNamespace": {
"type": "string",
"description": "The namespace for the SPDX document.",
"examples": [
- "https://github.com/example/dependency_graph/sbom-123"
+ "https://spdx.org/spdxdocs/protobom/15e41dd2-f961-4f4d-b8dc-f8f57ad70d57"
]
},
"packages": {
@@ -248211,7 +248238,7 @@
"type": "string",
"description": "The name of the package.",
"examples": [
- "rubygems:github/github"
+ "github/github"
]
},
"versionInfo": {
@@ -248304,8 +248331,35 @@
"name",
"versionInfo",
"downloadLocation",
- "filesAnalyzed",
- "supplier"
+ "filesAnalyzed"
+ ]
+ },
+ "relationships": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "relationshipType": {
+ "type": "string",
+ "description": "The type of relationship between the two SPDX elements.",
+ "examples": [
+ "DEPENDS_ON"
+ ]
+ },
+ "spdxElementId": {
+ "type": "string",
+ "description": "The SPDX identifier of the package that is the source of the relationship."
+ },
+ "relatedSpdxElement": {
+ "type": "string",
+ "description": "The SPDX identifier of the package that is the target of the relationship."
+ }
+ }
+ },
+ "required": [
+ "relationshipType",
+ "spdxElementId",
+ "relatedSpdxElement"
]
}
},
@@ -248315,7 +248369,6 @@
"creationInfo",
"name",
"dataLicense",
- "documentDescribes",
"documentNamespace",
"packages"
]
@@ -267966,6 +268019,11 @@
},
"size": {
"type": "integer"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -268481,7 +268539,8 @@
"raw_url": "https://gist.githubusercontent.com/monalisa/2decf6c462d9b4418f2/raw/ac3e6daf176fafe73609fd000cd188e4472010fb/README.md",
"size": 23,
"truncated": false,
- "content": "Hello world from GitHub"
+ "content": "Hello world from GitHub",
+ "encoding": "utf-8"
}
},
"public": true,
@@ -269549,6 +269608,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -269942,6 +270006,11 @@
},
"size": {
"type": "integer"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -270530,6 +270599,11 @@
},
"size": {
"type": "integer"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -271014,7 +271088,8 @@
"raw_url": "https://gist.githubusercontent.com/monalisa/2decf6c462d9b4418f2/raw/ac3e6daf176fafe73609fd000cd188e4472010fb/README.md",
"size": 23,
"truncated": false,
- "content": "Hello world from GitHub"
+ "content": "Hello world from GitHub",
+ "encoding": "utf-8"
}
},
"public": true,
@@ -272082,6 +272157,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -272411,7 +272491,8 @@
"raw_url": "https://gist.githubusercontent.com/monalisa/2decf6c462d9b4418f2/raw/ac3e6daf176fafe73609fd000cd188e4472010fb/README.md",
"size": 23,
"truncated": false,
- "content": "Hello world from GitHub"
+ "content": "Hello world from GitHub",
+ "encoding": "utf-8"
}
},
"public": true,
@@ -273479,6 +273560,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -274779,6 +274865,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -276091,6 +276182,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -277832,6 +277928,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -278205,6 +278306,11 @@
},
"size": {
"type": "integer"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -278897,7 +279003,8 @@
"raw_url": "https://gist.githubusercontent.com/monalisa/2decf6c462d9b4418f2/raw/ac3e6daf176fafe73609fd000cd188e4472010fb/README.md",
"size": 23,
"truncated": false,
- "content": "Hello world from GitHub"
+ "content": "Hello world from GitHub",
+ "encoding": "utf-8"
}
},
"public": true,
@@ -279965,6 +280072,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -280366,6 +280478,11 @@
},
"size": {
"type": "integer"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -373606,7 +373723,7 @@
},
"schema": {
"title": "Organization Full",
- "description": "Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement.\n\nGitHub currently defines SMS as an insecure method of two-factor authentication.\n\nIf your users are managed by the enterprise this policy will not affect them. The first admin account of the enterprise will still be affected.",
+ "description": "Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement.\nRemoves non-compliant outside collaborators from the organization and its repositories.\n\nGitHub currently defines SMS as an insecure method of two-factor authentication.\n\nIf your users are managed by the enterprise this policy will not affect them. The first admin account of the enterprise will still be affected.",
"type": "object",
"properties": {
"login": {
@@ -374410,7 +374527,7 @@
},
"schema": {
"title": "Organization Full",
- "description": "Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement.\n\nGitHub currently defines SMS as an insecure method of two-factor authentication.\n\nIf your users are managed by the enterprise this policy will not affect them. The first admin account of the enterprise will still be affected.",
+ "description": "Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement.\nRemoves non-compliant outside collaborators from the organization and its repositories.\n\nGitHub currently defines SMS as an insecure method of two-factor authentication.\n\nIf your users are managed by the enterprise this policy will not affect them. The first admin account of the enterprise will still be affected.",
"type": "object",
"properties": {
"login": {
diff --git a/src/rest/data/ghes-3.10-2022-11-28/schema.json b/src/rest/data/ghes-3.10-2022-11-28/schema.json
index 04b0ea4fec..d8699c5e09 100644
--- a/src/rest/data/ghes-3.10-2022-11-28/schema.json
+++ b/src/rest/data/ghes-3.10-2022-11-28/schema.json
@@ -182084,10 +182084,7 @@
},
"name": "github/example",
"dataLicense": "CC0-1.0",
- "documentDescribes": [
- "github/example"
- ],
- "documentNamespace": "https://github.com/github/example/dependency_graph/sbom-abcdef123456",
+ "documentNamespace": "https://spdx.org/spdxdocs/protobom/15e41dd2-f961-4f4d-b8dc-f8f57ad70d57",
"packages": [
{
"SPDXID": "SPDXRef-Package",
@@ -182098,6 +182095,18 @@
"licenseConcluded": "NOASSERTION",
"licenseDeclared": "NOASSERTION"
}
+ ],
+ "relationships": [
+ {
+ "relationshipType": "DEPENDS_ON",
+ "spdxElementId": "SPDXRef-Repository",
+ "relatedSpdxElement": "SPDXRef-Package"
+ },
+ {
+ "relationshipType": "DESCRIBES",
+ "spdxElementId": "SPDXRef-DOCUMENT",
+ "relatedSpdxElement": "SPDXRef-Repository"
+ }
]
}
},
@@ -182123,6 +182132,13 @@
"SPDX-2.3"
]
},
+ "comment": {
+ "type": "string",
+ "description": "An optional comment about the SPDX document.",
+ "examples": [
+ "Exact versions could not be resolved for some packages. For more information: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/"
+ ]
+ },
"creationInfo": {
"type": "object",
"properties": {
@@ -182163,21 +182179,11 @@
"CC0-1.0"
]
},
- "documentDescribes": {
- "type": "array",
- "items": {
- "type": "string",
- "examples": [
- "github/github"
- ]
- },
- "description": "The name of the repository that the SPDX document describes."
- },
"documentNamespace": {
"type": "string",
"description": "The namespace for the SPDX document.",
"examples": [
- "https://github.com/example/dependency_graph/sbom-123"
+ "https://spdx.org/spdxdocs/protobom/15e41dd2-f961-4f4d-b8dc-f8f57ad70d57"
]
},
"packages": {
@@ -182196,7 +182202,7 @@
"type": "string",
"description": "The name of the package.",
"examples": [
- "rubygems:github/github"
+ "github/github"
]
},
"versionInfo": {
@@ -182294,6 +182300,34 @@
"licenseDeclared",
"supplier"
]
+ },
+ "relationships": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "relationshipType": {
+ "type": "string",
+ "description": "The type of relationship between the two SPDX elements.",
+ "examples": [
+ "DEPENDS_ON"
+ ]
+ },
+ "spdxElementId": {
+ "type": "string",
+ "description": "The SPDX identifier of the package that is the source of the relationship."
+ },
+ "relatedSpdxElement": {
+ "type": "string",
+ "description": "The SPDX identifier of the package that is the target of the relationship."
+ }
+ }
+ },
+ "required": [
+ "relationshipType",
+ "spdxElementId",
+ "relatedSpdxElement"
+ ]
}
},
"required": [
@@ -182302,7 +182336,6 @@
"creationInfo",
"name",
"dataLicense",
- "documentDescribes",
"documentNamespace",
"packages"
]
@@ -211492,6 +211525,11 @@
},
"size": {
"type": "integer"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -212007,7 +212045,8 @@
"raw_url": "https://gist.githubusercontent.com/monalisa/2decf6c462d9b4418f2/raw/ac3e6daf176fafe73609fd000cd188e4472010fb/README.md",
"size": 23,
"truncated": false,
- "content": "Hello world from GitHub"
+ "content": "Hello world from GitHub",
+ "encoding": "utf-8"
}
},
"public": true,
@@ -213075,6 +213114,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -213468,6 +213512,11 @@
},
"size": {
"type": "integer"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -214056,6 +214105,11 @@
},
"size": {
"type": "integer"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -214540,7 +214594,8 @@
"raw_url": "https://gist.githubusercontent.com/monalisa/2decf6c462d9b4418f2/raw/ac3e6daf176fafe73609fd000cd188e4472010fb/README.md",
"size": 23,
"truncated": false,
- "content": "Hello world from GitHub"
+ "content": "Hello world from GitHub",
+ "encoding": "utf-8"
}
},
"public": true,
@@ -215608,6 +215663,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -215937,7 +215997,8 @@
"raw_url": "https://gist.githubusercontent.com/monalisa/2decf6c462d9b4418f2/raw/ac3e6daf176fafe73609fd000cd188e4472010fb/README.md",
"size": 23,
"truncated": false,
- "content": "Hello world from GitHub"
+ "content": "Hello world from GitHub",
+ "encoding": "utf-8"
}
},
"public": true,
@@ -217005,6 +217066,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -218305,6 +218371,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -219617,6 +219688,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -221358,6 +221434,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -221731,6 +221812,11 @@
},
"size": {
"type": "integer"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -222423,7 +222509,8 @@
"raw_url": "https://gist.githubusercontent.com/monalisa/2decf6c462d9b4418f2/raw/ac3e6daf176fafe73609fd000cd188e4472010fb/README.md",
"size": 23,
"truncated": false,
- "content": "Hello world from GitHub"
+ "content": "Hello world from GitHub",
+ "encoding": "utf-8"
}
},
"public": true,
@@ -223491,6 +223578,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -223892,6 +223984,11 @@
},
"size": {
"type": "integer"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
diff --git a/src/rest/data/ghes-3.11-2022-11-28/schema.json b/src/rest/data/ghes-3.11-2022-11-28/schema.json
index 14eade790b..9758988eb6 100644
--- a/src/rest/data/ghes-3.11-2022-11-28/schema.json
+++ b/src/rest/data/ghes-3.11-2022-11-28/schema.json
@@ -182120,10 +182120,7 @@
},
"name": "github/example",
"dataLicense": "CC0-1.0",
- "documentDescribes": [
- "github/example"
- ],
- "documentNamespace": "https://github.com/github/example/dependency_graph/sbom-abcdef123456",
+ "documentNamespace": "https://spdx.org/spdxdocs/protobom/15e41dd2-f961-4f4d-b8dc-f8f57ad70d57",
"packages": [
{
"SPDXID": "SPDXRef-Package",
@@ -182134,6 +182131,18 @@
"licenseConcluded": "NOASSERTION",
"licenseDeclared": "NOASSERTION"
}
+ ],
+ "relationships": [
+ {
+ "relationshipType": "DEPENDS_ON",
+ "spdxElementId": "SPDXRef-Repository",
+ "relatedSpdxElement": "SPDXRef-Package"
+ },
+ {
+ "relationshipType": "DESCRIBES",
+ "spdxElementId": "SPDXRef-DOCUMENT",
+ "relatedSpdxElement": "SPDXRef-Repository"
+ }
]
}
},
@@ -182159,6 +182168,13 @@
"SPDX-2.3"
]
},
+ "comment": {
+ "type": "string",
+ "description": "An optional comment about the SPDX document.",
+ "examples": [
+ "Exact versions could not be resolved for some packages. For more information: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/"
+ ]
+ },
"creationInfo": {
"type": "object",
"properties": {
@@ -182199,21 +182215,11 @@
"CC0-1.0"
]
},
- "documentDescribes": {
- "type": "array",
- "items": {
- "type": "string",
- "examples": [
- "github/github"
- ]
- },
- "description": "The name of the repository that the SPDX document describes."
- },
"documentNamespace": {
"type": "string",
"description": "The namespace for the SPDX document.",
"examples": [
- "https://github.com/example/dependency_graph/sbom-123"
+ "https://spdx.org/spdxdocs/protobom/15e41dd2-f961-4f4d-b8dc-f8f57ad70d57"
]
},
"packages": {
@@ -182232,7 +182238,7 @@
"type": "string",
"description": "The name of the package.",
"examples": [
- "rubygems:github/github"
+ "github/github"
]
},
"versionInfo": {
@@ -182325,8 +182331,35 @@
"name",
"versionInfo",
"downloadLocation",
- "filesAnalyzed",
- "supplier"
+ "filesAnalyzed"
+ ]
+ },
+ "relationships": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "relationshipType": {
+ "type": "string",
+ "description": "The type of relationship between the two SPDX elements.",
+ "examples": [
+ "DEPENDS_ON"
+ ]
+ },
+ "spdxElementId": {
+ "type": "string",
+ "description": "The SPDX identifier of the package that is the source of the relationship."
+ },
+ "relatedSpdxElement": {
+ "type": "string",
+ "description": "The SPDX identifier of the package that is the target of the relationship."
+ }
+ }
+ },
+ "required": [
+ "relationshipType",
+ "spdxElementId",
+ "relatedSpdxElement"
]
}
},
@@ -182336,7 +182369,6 @@
"creationInfo",
"name",
"dataLicense",
- "documentDescribes",
"documentNamespace",
"packages"
]
@@ -211736,6 +211768,11 @@
},
"size": {
"type": "integer"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -212251,7 +212288,8 @@
"raw_url": "https://gist.githubusercontent.com/monalisa/2decf6c462d9b4418f2/raw/ac3e6daf176fafe73609fd000cd188e4472010fb/README.md",
"size": 23,
"truncated": false,
- "content": "Hello world from GitHub"
+ "content": "Hello world from GitHub",
+ "encoding": "utf-8"
}
},
"public": true,
@@ -213319,6 +213357,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -213712,6 +213755,11 @@
},
"size": {
"type": "integer"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -214300,6 +214348,11 @@
},
"size": {
"type": "integer"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -214784,7 +214837,8 @@
"raw_url": "https://gist.githubusercontent.com/monalisa/2decf6c462d9b4418f2/raw/ac3e6daf176fafe73609fd000cd188e4472010fb/README.md",
"size": 23,
"truncated": false,
- "content": "Hello world from GitHub"
+ "content": "Hello world from GitHub",
+ "encoding": "utf-8"
}
},
"public": true,
@@ -215852,6 +215906,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -216181,7 +216240,8 @@
"raw_url": "https://gist.githubusercontent.com/monalisa/2decf6c462d9b4418f2/raw/ac3e6daf176fafe73609fd000cd188e4472010fb/README.md",
"size": 23,
"truncated": false,
- "content": "Hello world from GitHub"
+ "content": "Hello world from GitHub",
+ "encoding": "utf-8"
}
},
"public": true,
@@ -217249,6 +217309,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -218549,6 +218614,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -219861,6 +219931,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -221602,6 +221677,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -221975,6 +222055,11 @@
},
"size": {
"type": "integer"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -222667,7 +222752,8 @@
"raw_url": "https://gist.githubusercontent.com/monalisa/2decf6c462d9b4418f2/raw/ac3e6daf176fafe73609fd000cd188e4472010fb/README.md",
"size": 23,
"truncated": false,
- "content": "Hello world from GitHub"
+ "content": "Hello world from GitHub",
+ "encoding": "utf-8"
}
},
"public": true,
@@ -223735,6 +223821,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -224136,6 +224227,11 @@
},
"size": {
"type": "integer"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
diff --git a/src/rest/data/ghes-3.12-2022-11-28/schema.json b/src/rest/data/ghes-3.12-2022-11-28/schema.json
index fa05de03dc..0aa22aee79 100644
--- a/src/rest/data/ghes-3.12-2022-11-28/schema.json
+++ b/src/rest/data/ghes-3.12-2022-11-28/schema.json
@@ -182440,10 +182440,7 @@
},
"name": "github/example",
"dataLicense": "CC0-1.0",
- "documentDescribes": [
- "github/example"
- ],
- "documentNamespace": "https://github.com/github/example/dependency_graph/sbom-abcdef123456",
+ "documentNamespace": "https://spdx.org/spdxdocs/protobom/15e41dd2-f961-4f4d-b8dc-f8f57ad70d57",
"packages": [
{
"SPDXID": "SPDXRef-Package",
@@ -182454,6 +182451,18 @@
"licenseConcluded": "NOASSERTION",
"licenseDeclared": "NOASSERTION"
}
+ ],
+ "relationships": [
+ {
+ "relationshipType": "DEPENDS_ON",
+ "spdxElementId": "SPDXRef-Repository",
+ "relatedSpdxElement": "SPDXRef-Package"
+ },
+ {
+ "relationshipType": "DESCRIBES",
+ "spdxElementId": "SPDXRef-DOCUMENT",
+ "relatedSpdxElement": "SPDXRef-Repository"
+ }
]
}
},
@@ -182479,6 +182488,13 @@
"SPDX-2.3"
]
},
+ "comment": {
+ "type": "string",
+ "description": "An optional comment about the SPDX document.",
+ "examples": [
+ "Exact versions could not be resolved for some packages. For more information: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/"
+ ]
+ },
"creationInfo": {
"type": "object",
"properties": {
@@ -182519,21 +182535,11 @@
"CC0-1.0"
]
},
- "documentDescribes": {
- "type": "array",
- "items": {
- "type": "string",
- "examples": [
- "github/github"
- ]
- },
- "description": "The name of the repository that the SPDX document describes."
- },
"documentNamespace": {
"type": "string",
"description": "The namespace for the SPDX document.",
"examples": [
- "https://github.com/example/dependency_graph/sbom-123"
+ "https://spdx.org/spdxdocs/protobom/15e41dd2-f961-4f4d-b8dc-f8f57ad70d57"
]
},
"packages": {
@@ -182552,7 +182558,7 @@
"type": "string",
"description": "The name of the package.",
"examples": [
- "rubygems:github/github"
+ "github/github"
]
},
"versionInfo": {
@@ -182645,8 +182651,35 @@
"name",
"versionInfo",
"downloadLocation",
- "filesAnalyzed",
- "supplier"
+ "filesAnalyzed"
+ ]
+ },
+ "relationships": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "relationshipType": {
+ "type": "string",
+ "description": "The type of relationship between the two SPDX elements.",
+ "examples": [
+ "DEPENDS_ON"
+ ]
+ },
+ "spdxElementId": {
+ "type": "string",
+ "description": "The SPDX identifier of the package that is the source of the relationship."
+ },
+ "relatedSpdxElement": {
+ "type": "string",
+ "description": "The SPDX identifier of the package that is the target of the relationship."
+ }
+ }
+ },
+ "required": [
+ "relationshipType",
+ "spdxElementId",
+ "relatedSpdxElement"
]
}
},
@@ -182656,7 +182689,6 @@
"creationInfo",
"name",
"dataLicense",
- "documentDescribes",
"documentNamespace",
"packages"
]
@@ -213973,6 +214005,11 @@
},
"size": {
"type": "integer"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -214488,7 +214525,8 @@
"raw_url": "https://gist.githubusercontent.com/monalisa/2decf6c462d9b4418f2/raw/ac3e6daf176fafe73609fd000cd188e4472010fb/README.md",
"size": 23,
"truncated": false,
- "content": "Hello world from GitHub"
+ "content": "Hello world from GitHub",
+ "encoding": "utf-8"
}
},
"public": true,
@@ -215556,6 +215594,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -215949,6 +215992,11 @@
},
"size": {
"type": "integer"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -216537,6 +216585,11 @@
},
"size": {
"type": "integer"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -217021,7 +217074,8 @@
"raw_url": "https://gist.githubusercontent.com/monalisa/2decf6c462d9b4418f2/raw/ac3e6daf176fafe73609fd000cd188e4472010fb/README.md",
"size": 23,
"truncated": false,
- "content": "Hello world from GitHub"
+ "content": "Hello world from GitHub",
+ "encoding": "utf-8"
}
},
"public": true,
@@ -218089,6 +218143,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -218418,7 +218477,8 @@
"raw_url": "https://gist.githubusercontent.com/monalisa/2decf6c462d9b4418f2/raw/ac3e6daf176fafe73609fd000cd188e4472010fb/README.md",
"size": 23,
"truncated": false,
- "content": "Hello world from GitHub"
+ "content": "Hello world from GitHub",
+ "encoding": "utf-8"
}
},
"public": true,
@@ -219486,6 +219546,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -220786,6 +220851,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -222098,6 +222168,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -223839,6 +223914,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -224212,6 +224292,11 @@
},
"size": {
"type": "integer"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -224904,7 +224989,8 @@
"raw_url": "https://gist.githubusercontent.com/monalisa/2decf6c462d9b4418f2/raw/ac3e6daf176fafe73609fd000cd188e4472010fb/README.md",
"size": 23,
"truncated": false,
- "content": "Hello world from GitHub"
+ "content": "Hello world from GitHub",
+ "encoding": "utf-8"
}
},
"public": true,
@@ -225972,6 +226058,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -226373,6 +226464,11 @@
},
"size": {
"type": "integer"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
diff --git a/src/rest/data/ghes-3.13-2022-11-28/schema.json b/src/rest/data/ghes-3.13-2022-11-28/schema.json
index 43243adf6a..023def2cd4 100644
--- a/src/rest/data/ghes-3.13-2022-11-28/schema.json
+++ b/src/rest/data/ghes-3.13-2022-11-28/schema.json
@@ -182584,10 +182584,7 @@
},
"name": "github/example",
"dataLicense": "CC0-1.0",
- "documentDescribes": [
- "github/example"
- ],
- "documentNamespace": "https://github.com/github/example/dependency_graph/sbom-abcdef123456",
+ "documentNamespace": "https://spdx.org/spdxdocs/protobom/15e41dd2-f961-4f4d-b8dc-f8f57ad70d57",
"packages": [
{
"SPDXID": "SPDXRef-Package",
@@ -182598,6 +182595,18 @@
"licenseConcluded": "NOASSERTION",
"licenseDeclared": "NOASSERTION"
}
+ ],
+ "relationships": [
+ {
+ "relationshipType": "DEPENDS_ON",
+ "spdxElementId": "SPDXRef-Repository",
+ "relatedSpdxElement": "SPDXRef-Package"
+ },
+ {
+ "relationshipType": "DESCRIBES",
+ "spdxElementId": "SPDXRef-DOCUMENT",
+ "relatedSpdxElement": "SPDXRef-Repository"
+ }
]
}
},
@@ -182623,6 +182632,13 @@
"SPDX-2.3"
]
},
+ "comment": {
+ "type": "string",
+ "description": "An optional comment about the SPDX document.",
+ "examples": [
+ "Exact versions could not be resolved for some packages. For more information: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/"
+ ]
+ },
"creationInfo": {
"type": "object",
"properties": {
@@ -182663,21 +182679,11 @@
"CC0-1.0"
]
},
- "documentDescribes": {
- "type": "array",
- "items": {
- "type": "string",
- "examples": [
- "github/github"
- ]
- },
- "description": "The name of the repository that the SPDX document describes."
- },
"documentNamespace": {
"type": "string",
"description": "The namespace for the SPDX document.",
"examples": [
- "https://github.com/example/dependency_graph/sbom-123"
+ "https://spdx.org/spdxdocs/protobom/15e41dd2-f961-4f4d-b8dc-f8f57ad70d57"
]
},
"packages": {
@@ -182696,7 +182702,7 @@
"type": "string",
"description": "The name of the package.",
"examples": [
- "rubygems:github/github"
+ "github/github"
]
},
"versionInfo": {
@@ -182789,8 +182795,35 @@
"name",
"versionInfo",
"downloadLocation",
- "filesAnalyzed",
- "supplier"
+ "filesAnalyzed"
+ ]
+ },
+ "relationships": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "relationshipType": {
+ "type": "string",
+ "description": "The type of relationship between the two SPDX elements.",
+ "examples": [
+ "DEPENDS_ON"
+ ]
+ },
+ "spdxElementId": {
+ "type": "string",
+ "description": "The SPDX identifier of the package that is the source of the relationship."
+ },
+ "relatedSpdxElement": {
+ "type": "string",
+ "description": "The SPDX identifier of the package that is the target of the relationship."
+ }
+ }
+ },
+ "required": [
+ "relationshipType",
+ "spdxElementId",
+ "relatedSpdxElement"
]
}
},
@@ -182800,7 +182833,6 @@
"creationInfo",
"name",
"dataLicense",
- "documentDescribes",
"documentNamespace",
"packages"
]
@@ -214173,6 +214205,11 @@
},
"size": {
"type": "integer"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -214688,7 +214725,8 @@
"raw_url": "https://gist.githubusercontent.com/monalisa/2decf6c462d9b4418f2/raw/ac3e6daf176fafe73609fd000cd188e4472010fb/README.md",
"size": 23,
"truncated": false,
- "content": "Hello world from GitHub"
+ "content": "Hello world from GitHub",
+ "encoding": "utf-8"
}
},
"public": true,
@@ -215756,6 +215794,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -216149,6 +216192,11 @@
},
"size": {
"type": "integer"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -216737,6 +216785,11 @@
},
"size": {
"type": "integer"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -217221,7 +217274,8 @@
"raw_url": "https://gist.githubusercontent.com/monalisa/2decf6c462d9b4418f2/raw/ac3e6daf176fafe73609fd000cd188e4472010fb/README.md",
"size": 23,
"truncated": false,
- "content": "Hello world from GitHub"
+ "content": "Hello world from GitHub",
+ "encoding": "utf-8"
}
},
"public": true,
@@ -218289,6 +218343,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -218618,7 +218677,8 @@
"raw_url": "https://gist.githubusercontent.com/monalisa/2decf6c462d9b4418f2/raw/ac3e6daf176fafe73609fd000cd188e4472010fb/README.md",
"size": 23,
"truncated": false,
- "content": "Hello world from GitHub"
+ "content": "Hello world from GitHub",
+ "encoding": "utf-8"
}
},
"public": true,
@@ -219686,6 +219746,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -220986,6 +221051,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -222298,6 +222368,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -224039,6 +224114,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -224412,6 +224492,11 @@
},
"size": {
"type": "integer"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -225104,7 +225189,8 @@
"raw_url": "https://gist.githubusercontent.com/monalisa/2decf6c462d9b4418f2/raw/ac3e6daf176fafe73609fd000cd188e4472010fb/README.md",
"size": 23,
"truncated": false,
- "content": "Hello world from GitHub"
+ "content": "Hello world from GitHub",
+ "encoding": "utf-8"
}
},
"public": true,
@@ -226172,6 +226258,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -226573,6 +226664,11 @@
},
"size": {
"type": "integer"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
diff --git a/src/rest/data/ghes-3.14-2022-11-28/schema.json b/src/rest/data/ghes-3.14-2022-11-28/schema.json
index 62b25ec62c..6358b35339 100644
--- a/src/rest/data/ghes-3.14-2022-11-28/schema.json
+++ b/src/rest/data/ghes-3.14-2022-11-28/schema.json
@@ -182584,10 +182584,7 @@
},
"name": "github/example",
"dataLicense": "CC0-1.0",
- "documentDescribes": [
- "github/example"
- ],
- "documentNamespace": "https://github.com/github/example/dependency_graph/sbom-abcdef123456",
+ "documentNamespace": "https://spdx.org/spdxdocs/protobom/15e41dd2-f961-4f4d-b8dc-f8f57ad70d57",
"packages": [
{
"SPDXID": "SPDXRef-Package",
@@ -182598,6 +182595,18 @@
"licenseConcluded": "NOASSERTION",
"licenseDeclared": "NOASSERTION"
}
+ ],
+ "relationships": [
+ {
+ "relationshipType": "DEPENDS_ON",
+ "spdxElementId": "SPDXRef-Repository",
+ "relatedSpdxElement": "SPDXRef-Package"
+ },
+ {
+ "relationshipType": "DESCRIBES",
+ "spdxElementId": "SPDXRef-DOCUMENT",
+ "relatedSpdxElement": "SPDXRef-Repository"
+ }
]
}
},
@@ -182623,6 +182632,13 @@
"SPDX-2.3"
]
},
+ "comment": {
+ "type": "string",
+ "description": "An optional comment about the SPDX document.",
+ "examples": [
+ "Exact versions could not be resolved for some packages. For more information: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/"
+ ]
+ },
"creationInfo": {
"type": "object",
"properties": {
@@ -182663,21 +182679,11 @@
"CC0-1.0"
]
},
- "documentDescribes": {
- "type": "array",
- "items": {
- "type": "string",
- "examples": [
- "github/github"
- ]
- },
- "description": "The name of the repository that the SPDX document describes."
- },
"documentNamespace": {
"type": "string",
"description": "The namespace for the SPDX document.",
"examples": [
- "https://github.com/example/dependency_graph/sbom-123"
+ "https://spdx.org/spdxdocs/protobom/15e41dd2-f961-4f4d-b8dc-f8f57ad70d57"
]
},
"packages": {
@@ -182696,7 +182702,7 @@
"type": "string",
"description": "The name of the package.",
"examples": [
- "rubygems:github/github"
+ "github/github"
]
},
"versionInfo": {
@@ -182789,8 +182795,35 @@
"name",
"versionInfo",
"downloadLocation",
- "filesAnalyzed",
- "supplier"
+ "filesAnalyzed"
+ ]
+ },
+ "relationships": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "relationshipType": {
+ "type": "string",
+ "description": "The type of relationship between the two SPDX elements.",
+ "examples": [
+ "DEPENDS_ON"
+ ]
+ },
+ "spdxElementId": {
+ "type": "string",
+ "description": "The SPDX identifier of the package that is the source of the relationship."
+ },
+ "relatedSpdxElement": {
+ "type": "string",
+ "description": "The SPDX identifier of the package that is the target of the relationship."
+ }
+ }
+ },
+ "required": [
+ "relationshipType",
+ "spdxElementId",
+ "relatedSpdxElement"
]
}
},
@@ -182800,7 +182833,6 @@
"creationInfo",
"name",
"dataLicense",
- "documentDescribes",
"documentNamespace",
"packages"
]
@@ -214173,6 +214205,11 @@
},
"size": {
"type": "integer"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -214688,7 +214725,8 @@
"raw_url": "https://gist.githubusercontent.com/monalisa/2decf6c462d9b4418f2/raw/ac3e6daf176fafe73609fd000cd188e4472010fb/README.md",
"size": 23,
"truncated": false,
- "content": "Hello world from GitHub"
+ "content": "Hello world from GitHub",
+ "encoding": "utf-8"
}
},
"public": true,
@@ -215756,6 +215794,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -216149,6 +216192,11 @@
},
"size": {
"type": "integer"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -216737,6 +216785,11 @@
},
"size": {
"type": "integer"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -217221,7 +217274,8 @@
"raw_url": "https://gist.githubusercontent.com/monalisa/2decf6c462d9b4418f2/raw/ac3e6daf176fafe73609fd000cd188e4472010fb/README.md",
"size": 23,
"truncated": false,
- "content": "Hello world from GitHub"
+ "content": "Hello world from GitHub",
+ "encoding": "utf-8"
}
},
"public": true,
@@ -218289,6 +218343,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -218618,7 +218677,8 @@
"raw_url": "https://gist.githubusercontent.com/monalisa/2decf6c462d9b4418f2/raw/ac3e6daf176fafe73609fd000cd188e4472010fb/README.md",
"size": 23,
"truncated": false,
- "content": "Hello world from GitHub"
+ "content": "Hello world from GitHub",
+ "encoding": "utf-8"
}
},
"public": true,
@@ -219686,6 +219746,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -220986,6 +221051,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -222298,6 +222368,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -224039,6 +224114,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -224412,6 +224492,11 @@
},
"size": {
"type": "integer"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -225104,7 +225189,8 @@
"raw_url": "https://gist.githubusercontent.com/monalisa/2decf6c462d9b4418f2/raw/ac3e6daf176fafe73609fd000cd188e4472010fb/README.md",
"size": 23,
"truncated": false,
- "content": "Hello world from GitHub"
+ "content": "Hello world from GitHub",
+ "encoding": "utf-8"
}
},
"public": true,
@@ -226172,6 +226258,11 @@
},
"content": {
"type": "string"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
@@ -226573,6 +226664,11 @@
},
"size": {
"type": "integer"
+ },
+ "encoding": {
+ "type": "string",
+ "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.",
+ "default": "utf-8"
}
}
}
diff --git a/src/rest/lib/config.json b/src/rest/lib/config.json
index c513bbd01c..47b2d63ab2 100644
--- a/src/rest/lib/config.json
+++ b/src/rest/lib/config.json
@@ -47,5 +47,5 @@
]
}
},
- "sha": "8f64fcb5cee86e8cf793e6129b230f8fbedaf96c"
+ "sha": "f9de54ab72eff1bc9855fd0940816350912ae5b7"
}
\ No newline at end of file
diff --git a/src/webhooks/lib/config.json b/src/webhooks/lib/config.json
index 39826e8355..545246156d 100644
--- a/src/webhooks/lib/config.json
+++ b/src/webhooks/lib/config.json
@@ -1,3 +1,3 @@
{
- "sha": "8f64fcb5cee86e8cf793e6129b230f8fbedaf96c"
+ "sha": "f9de54ab72eff1bc9855fd0940816350912ae5b7"
}
\ No newline at end of file