Skip to content

Commit 7e34b6f

Browse files
octokitbotOctokit Bot
and
Octokit Bot
authoredFeb 24, 2025··
feat: new dismissal_approved_by key on code_scanning_alert.closed_by_user event, add GHES 3.16 (#113)
Co-authored-by: Octokit Bot <octokitbot@martynus.net>
1 parent 66bcea0 commit 7e34b6f

File tree

33 files changed

+326514
-104
lines changed

33 files changed

+326514
-104
lines changed
 

‎cache/api.github.com.json

+220-13
Original file line numberDiff line numberDiff line change
@@ -22845,6 +22845,10 @@
2284522845
"multi_repo": {
2284622846
"type": ["boolean", "null"],
2284722847
"description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise."
22848+
},
22849+
"is_base64_encoded": {
22850+
"type": ["boolean", "null"],
22851+
"description": "A boolean value representing whether or not alert is base64 encoded"
2284822852
}
2284922853
}
2285022854
},
@@ -25849,7 +25853,13 @@
2584925853
"most_recent_instance": {
2585025854
"$ref": "#/components/schemas/code-scanning-alert-instance"
2585125855
},
25852-
"repository": { "$ref": "#/components/schemas/simple-repository" }
25856+
"repository": { "$ref": "#/components/schemas/simple-repository" },
25857+
"dismissal_approved_by": {
25858+
"anyOf": [
25859+
{ "type": "null" },
25860+
{ "$ref": "#/components/schemas/simple-user" }
25861+
]
25862+
}
2585325863
},
2585425864
"required": [
2585525865
"number",
@@ -26208,8 +26218,8 @@
2620826218
},
2620926219
"required": ["key_id", "key"]
2621026220
},
26211-
"copilot-seat-breakdown": {
26212-
"title": "Copilot Business Seat Breakdown",
26221+
"copilot-organization-seat-breakdown": {
26222+
"title": "Copilot Seat Breakdown",
2621326223
"description": "The breakdown of Copilot Business seats for the organization.",
2621426224
"type": "object",
2621526225
"properties": {
@@ -26227,7 +26237,7 @@
2622726237
},
2622826238
"pending_invitation": {
2622926239
"type": "integer",
26230-
"description": "The number of seats that have been assigned to users that have not yet accepted an invitation to this organization."
26240+
"description": "The number of users who have been invited to receive a Copilot seat through this organization."
2623126241
},
2623226242
"active_this_cycle": {
2623326243
"type": "integer",
@@ -26245,26 +26255,26 @@
2624526255
"type": "object",
2624626256
"properties": {
2624726257
"seat_breakdown": {
26248-
"$ref": "#/components/schemas/copilot-seat-breakdown"
26258+
"$ref": "#/components/schemas/copilot-organization-seat-breakdown"
2624926259
},
2625026260
"public_code_suggestions": {
2625126261
"type": "string",
26252-
"description": "The organization policy for allowing or disallowing Copilot to make suggestions that match public code.",
26253-
"enum": ["allow", "block", "unconfigured", "unknown"]
26262+
"description": "The organization policy for allowing or blocking suggestions matching public code (duplication detection filter).",
26263+
"enum": ["allow", "block", "unconfigured"]
2625426264
},
2625526265
"ide_chat": {
2625626266
"type": "string",
26257-
"description": "The organization policy for allowing or disallowing organization members to use Copilot Chat within their editor.",
26267+
"description": "The organization policy for allowing or disallowing Copilot Chat in the IDE.",
2625826268
"enum": ["enabled", "disabled", "unconfigured"]
2625926269
},
2626026270
"platform_chat": {
2626126271
"type": "string",
26262-
"description": "The organization policy for allowing or disallowing organization members to use Copilot features within github.com.",
26272+
"description": "The organization policy for allowing or disallowing Copilot features on GitHub.com.",
2626326273
"enum": ["enabled", "disabled", "unconfigured"]
2626426274
},
2626526275
"cli": {
2626626276
"type": "string",
26267-
"description": "The organization policy for allowing or disallowing organization members to use Copilot within their CLI.",
26277+
"description": "The organization policy for allowing or disallowing Copilot in the CLI.",
2626826278
"enum": ["enabled", "disabled", "unconfigured"]
2626926279
},
2627026280
"seat_management_setting": {
@@ -26280,7 +26290,7 @@
2628026290
"plan_type": {
2628126291
"type": "string",
2628226292
"description": "The Copilot plan of the organization, or the parent enterprise, when applicable.",
26283-
"enum": ["business", "enterprise", "unknown"]
26293+
"enum": ["business", "enterprise"]
2628426294
}
2628526295
},
2628626296
"required": [
@@ -29811,6 +29821,42 @@
2981129821
}
2981229822
}
2981329823
},
29824+
"ruleset-version": {
29825+
"title": "Ruleset version",
29826+
"type": "object",
29827+
"description": "The historical version of a ruleset",
29828+
"required": ["version_id", "actor", "updated_at"],
29829+
"properties": {
29830+
"version_id": {
29831+
"type": "integer",
29832+
"description": "The ID of the previous version of the ruleset"
29833+
},
29834+
"actor": {
29835+
"type": "object",
29836+
"description": "The actor who updated the ruleset",
29837+
"properties": {
29838+
"id": { "type": "integer" },
29839+
"type": { "type": "string" }
29840+
}
29841+
},
29842+
"updated_at": { "type": "string", "format": "date-time" }
29843+
}
29844+
},
29845+
"ruleset-version-with-state": {
29846+
"allOf": [
29847+
{ "$ref": "#/components/schemas/ruleset-version" },
29848+
{
29849+
"type": "object",
29850+
"required": ["state"],
29851+
"properties": {
29852+
"state": {
29853+
"type": "object",
29854+
"description": "The state of the ruleset version"
29855+
}
29856+
}
29857+
}
29858+
]
29859+
},
2981429860
"repository-advisory-vulnerability": {
2981529861
"description": "A product affected by the vulnerability detailed in a repository security advisory.",
2981629862
"type": "object",
@@ -31652,6 +31698,13 @@
3165231698
"created_at": { "type": ["string", "null"], "format": "date-time" },
3165331699
"expires_at": { "type": ["string", "null"], "format": "date-time" },
3165431700
"updated_at": { "type": ["string", "null"], "format": "date-time" },
31701+
"digest": {
31702+
"type": ["string", "null"],
31703+
"description": "The SHA256 digest of the artifact. This field will only be populated on artifacts uploaded with upload-artifact v4 or newer. For older versions, this field will be null.",
31704+
"examples": [
31705+
"sha256:cfc3236bdad15b5898bca8408945c9e19e1917da8704adc20eaa618444290a8c"
31706+
]
31707+
},
3165531708
"workflow_run": {
3165631709
"type": ["object", "null"],
3165731710
"properties": {
@@ -34158,6 +34211,12 @@
3415834211
},
3415934212
"most_recent_instance": {
3416034213
"$ref": "#/components/schemas/code-scanning-alert-instance"
34214+
},
34215+
"dismissal_approved_by": {
34216+
"anyOf": [
34217+
{ "type": "null" },
34218+
{ "$ref": "#/components/schemas/simple-user" }
34219+
]
3416134220
}
3416234221
},
3416334222
"required": [
@@ -34251,6 +34310,12 @@
3425134310
},
3425234311
"most_recent_instance": {
3425334312
"$ref": "#/components/schemas/code-scanning-alert-instance"
34313+
},
34314+
"dismissal_approved_by": {
34315+
"anyOf": [
34316+
{ "type": "null" },
34317+
{ "$ref": "#/components/schemas/simple-user" }
34318+
]
3425434319
}
3425534320
},
3425634321
"required": [
@@ -40429,6 +40494,10 @@
4042940494
"multi_repo": {
4043040495
"type": ["boolean", "null"],
4043140496
"description": "Whether the detected secret was found in multiple repositories under the same organization or enterprise."
40497+
},
40498+
"is_base64_encoded": {
40499+
"type": ["boolean", "null"],
40500+
"description": "A boolean value representing whether or not alert is base64 encoded"
4043240501
}
4043340502
}
4043440503
},
@@ -52062,7 +52131,42 @@
5206252131
},
5206352132
"required": ["name", "version"]
5206452133
},
52065-
"url": { "type": "string", "format": "uri" }
52134+
"url": { "type": "string", "format": "uri" },
52135+
"dismissal_approved_by": {
52136+
"title": "User",
52137+
"type": ["object", "null"],
52138+
"properties": {
52139+
"avatar_url": { "type": "string", "format": "uri" },
52140+
"deleted": { "type": "boolean" },
52141+
"email": { "type": ["string", "null"] },
52142+
"events_url": { "type": "string", "format": "uri-template" },
52143+
"followers_url": { "type": "string", "format": "uri" },
52144+
"following_url": {
52145+
"type": "string",
52146+
"format": "uri-template"
52147+
},
52148+
"gists_url": { "type": "string", "format": "uri-template" },
52149+
"gravatar_id": { "type": "string" },
52150+
"html_url": { "type": "string", "format": "uri" },
52151+
"id": { "type": "integer" },
52152+
"login": { "type": "string" },
52153+
"name": { "type": "string" },
52154+
"node_id": { "type": "string" },
52155+
"organizations_url": { "type": "string", "format": "uri" },
52156+
"received_events_url": { "type": "string", "format": "uri" },
52157+
"repos_url": { "type": "string", "format": "uri" },
52158+
"site_admin": { "type": "boolean" },
52159+
"starred_url": { "type": "string", "format": "uri-template" },
52160+
"subscriptions_url": { "type": "string", "format": "uri" },
52161+
"type": {
52162+
"type": "string",
52163+
"enum": ["Bot", "User", "Organization"]
52164+
},
52165+
"url": { "type": "string", "format": "uri" },
52166+
"user_view_type": { "type": "string" }
52167+
},
52168+
"required": ["login", "id"]
52169+
}
5206652170
},
5206752171
"required": [
5206852172
"number",
@@ -52238,7 +52342,8 @@
5223852342
"required": ["name", "version"]
5223952343
},
5224052344
"updated_at": { "type": ["string", "null"] },
52241-
"url": { "type": "string", "format": "uri" }
52345+
"url": { "type": "string", "format": "uri" },
52346+
"dismissal_approved_by": { "type": ["null"] }
5224252347
},
5224352348
"required": [
5224452349
"number",
@@ -135166,6 +135271,69 @@
135166135271
]
135167135272
}
135168135273
},
135274+
"ruleset-history": {
135275+
"value": [
135276+
{
135277+
"version_id": 3,
135278+
"actor": { "id": 1, "type": "User" },
135279+
"updated_at": "2024-010-23T16:29:47Z"
135280+
},
135281+
{
135282+
"version_id": 2,
135283+
"actor": { "id": 2, "type": "User" },
135284+
"updated_at": "2024-09-23T16:29:47Z"
135285+
},
135286+
{
135287+
"version_id": 1,
135288+
"actor": { "id": 1, "type": "User" },
135289+
"updated_at": "2024-08-23T16:29:47Z"
135290+
}
135291+
]
135292+
},
135293+
"org-ruleset-version-with-state": {
135294+
"value": [
135295+
{
135296+
"version_id": 3,
135297+
"actor": { "id": 1, "type": "User" },
135298+
"updated_at": "2024-010-23T16:29:47Z",
135299+
"state": {
135300+
"id": 21,
135301+
"name": "super cool ruleset",
135302+
"target": "branch",
135303+
"source_type": "Organization",
135304+
"source": "my-org",
135305+
"enforcement": "active",
135306+
"bypass_actors": [
135307+
{
135308+
"actor_id": 234,
135309+
"actor_type": "Team",
135310+
"bypass_mode": "always"
135311+
}
135312+
],
135313+
"conditions": {
135314+
"ref_name": {
135315+
"include": ["refs/heads/main", "refs/heads/master"],
135316+
"exclude": ["refs/heads/dev*"]
135317+
},
135318+
"repository_name": {
135319+
"include": [
135320+
"important_repository",
135321+
"another_important_repository"
135322+
],
135323+
"exclude": ["unimportant_repository"],
135324+
"protected": true
135325+
}
135326+
},
135327+
"rules": [
135328+
{
135329+
"type": "commit_author_email_pattern",
135330+
"parameters": { "operator": "contains", "pattern": "github" }
135331+
}
135332+
]
135333+
}
135334+
}
135335+
]
135336+
},
135169135337
"list-repository-advisories": {
135170135338
"value": [
135171135339
{
@@ -137005,6 +137173,7 @@
137005137173
"created_at": "2020-01-10T14:59:22Z",
137006137174
"expires_at": "2020-03-21T14:59:22Z",
137007137175
"updated_at": "2020-02-21T14:59:22Z",
137176+
"digest": "sha256:cfc3236bdad15b5898bca8408945c9e19e1917da8704adc20eaa618444290a8c",
137008137177
"workflow_run": {
137009137178
"id": 2332938,
137010137179
"repository_id": 1296269,
@@ -137024,6 +137193,7 @@
137024137193
"created_at": "2020-01-10T14:59:22Z",
137025137194
"expires_at": "2020-03-21T14:59:22Z",
137026137195
"updated_at": "2020-02-21T14:59:22Z",
137196+
"digest": "sha256:cfc3236bdad15b5898bca8408945c9e19e1917da8704adc20eaa618444290a8c",
137027137197
"workflow_run": {
137028137198
"id": 2332942,
137029137199
"repository_id": 1296269,
@@ -137047,6 +137217,7 @@
137047137217
"created_at": "2020-01-10T14:59:22Z",
137048137218
"expires_at": "2020-01-21T14:59:22Z",
137049137219
"updated_at": "2020-01-21T14:59:22Z",
137220+
"digest": "sha256:cfc3236bdad15b5898bca8408945c9e19e1917da8704adc20eaa618444290a8c",
137050137221
"workflow_run": {
137051137222
"id": 2332938,
137052137223
"repository_id": 1296269,
@@ -148575,6 +148746,42 @@
148575148746
"updated_at": "2023-08-23T16:29:47Z"
148576148747
}
148577148748
},
148749+
"repository-ruleset-version-with-state": {
148750+
"value": [
148751+
{
148752+
"version_id": 3,
148753+
"actor": { "id": 1, "type": "User" },
148754+
"updated_at": "2024-010-23T16:29:47Z",
148755+
"state": {
148756+
"id": 42,
148757+
"name": "super cool ruleset",
148758+
"target": "branch",
148759+
"source_type": "Repository",
148760+
"source": "monalisa/my-repo",
148761+
"enforcement": "active",
148762+
"bypass_actors": [
148763+
{
148764+
"actor_id": 234,
148765+
"actor_type": "Team",
148766+
"bypass_mode": "always"
148767+
}
148768+
],
148769+
"conditions": {
148770+
"ref_name": {
148771+
"include": ["refs/heads/main", "refs/heads/master"],
148772+
"exclude": ["refs/heads/dev*"]
148773+
}
148774+
},
148775+
"rules": [
148776+
{
148777+
"type": "commit_author_email_pattern",
148778+
"parameters": { "operator": "contains", "pattern": "github" }
148779+
}
148780+
]
148781+
}
148782+
}
148783+
]
148784+
},
148578148785
"secret-scanning-alert-list": {
148579148786
"value": [
148580148787
{

0 commit comments

Comments
 (0)
Please sign in to comment.