22845
22845
"multi_repo": {
22846
22846
"type": ["boolean", "null"],
22847
22847
"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"
22848
22852
}
22849
22853
}
22850
22854
},
25849
25853
"most_recent_instance": {
25850
25854
"$ref": "#/components/schemas/code-scanning-alert-instance"
25851
25855
},
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
+ }
25853
25863
},
25854
25864
"required": [
25855
25865
"number",
26208
26218
},
26209
26219
"required": ["key_id", "key"]
26210
26220
},
26211
- "copilot-seat-breakdown": {
26212
- "title": "Copilot Business Seat Breakdown",
26221
+ "copilot-organization- seat-breakdown": {
26222
+ "title": "Copilot Seat Breakdown",
26213
26223
"description": "The breakdown of Copilot Business seats for the organization.",
26214
26224
"type": "object",
26215
26225
"properties": {
26227
26237
},
26228
26238
"pending_invitation": {
26229
26239
"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."
26231
26241
},
26232
26242
"active_this_cycle": {
26233
26243
"type": "integer",
@@ -26245,26 +26255,26 @@
26245
26255
"type": "object",
26246
26256
"properties": {
26247
26257
"seat_breakdown": {
26248
- "$ref": "#/components/schemas/copilot-seat-breakdown"
26258
+ "$ref": "#/components/schemas/copilot-organization- seat-breakdown"
26249
26259
},
26250
26260
"public_code_suggestions": {
26251
26261
"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"]
26254
26264
},
26255
26265
"ide_chat": {
26256
26266
"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 .",
26258
26268
"enum": ["enabled", "disabled", "unconfigured"]
26259
26269
},
26260
26270
"platform_chat": {
26261
26271
"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.",
26263
26273
"enum": ["enabled", "disabled", "unconfigured"]
26264
26274
},
26265
26275
"cli": {
26266
26276
"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.",
26268
26278
"enum": ["enabled", "disabled", "unconfigured"]
26269
26279
},
26270
26280
"seat_management_setting": {
26280
26290
"plan_type": {
26281
26291
"type": "string",
26282
26292
"description": "The Copilot plan of the organization, or the parent enterprise, when applicable.",
26283
- "enum": ["business", "enterprise", "unknown" ]
26293
+ "enum": ["business", "enterprise"]
26284
26294
}
26285
26295
},
26286
26296
"required": [
29811
29821
}
29812
29822
}
29813
29823
},
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
+ },
29814
29860
"repository-advisory-vulnerability": {
29815
29861
"description": "A product affected by the vulnerability detailed in a repository security advisory.",
29816
29862
"type": "object",
31652
31698
"created_at": { "type": ["string", "null"], "format": "date-time" },
31653
31699
"expires_at": { "type": ["string", "null"], "format": "date-time" },
31654
31700
"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
+ },
31655
31708
"workflow_run": {
31656
31709
"type": ["object", "null"],
31657
31710
"properties": {
34158
34211
},
34159
34212
"most_recent_instance": {
34160
34213
"$ref": "#/components/schemas/code-scanning-alert-instance"
34214
+ },
34215
+ "dismissal_approved_by": {
34216
+ "anyOf": [
34217
+ { "type": "null" },
34218
+ { "$ref": "#/components/schemas/simple-user" }
34219
+ ]
34161
34220
}
34162
34221
},
34163
34222
"required": [
34251
34310
},
34252
34311
"most_recent_instance": {
34253
34312
"$ref": "#/components/schemas/code-scanning-alert-instance"
34313
+ },
34314
+ "dismissal_approved_by": {
34315
+ "anyOf": [
34316
+ { "type": "null" },
34317
+ { "$ref": "#/components/schemas/simple-user" }
34318
+ ]
34254
34319
}
34255
34320
},
34256
34321
"required": [
40429
40494
"multi_repo": {
40430
40495
"type": ["boolean", "null"],
40431
40496
"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"
40432
40501
}
40433
40502
}
40434
40503
},
52062
52131
},
52063
52132
"required": ["name", "version"]
52064
52133
},
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
+ }
52066
52170
},
52067
52171
"required": [
52068
52172
"number",
52238
52342
"required": ["name", "version"]
52239
52343
},
52240
52344
"updated_at": { "type": ["string", "null"] },
52241
- "url": { "type": "string", "format": "uri" }
52345
+ "url": { "type": "string", "format": "uri" },
52346
+ "dismissal_approved_by": { "type": ["null"] }
52242
52347
},
52243
52348
"required": [
52244
52349
"number",
@@ -135166,6 +135271,69 @@
135166
135271
]
135167
135272
}
135168
135273
},
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
+ },
135169
135337
"list-repository-advisories": {
135170
135338
"value": [
135171
135339
{
@@ -137005,6 +137173,7 @@
137005
137173
"created_at": "2020-01-10T14:59:22Z",
137006
137174
"expires_at": "2020-03-21T14:59:22Z",
137007
137175
"updated_at": "2020-02-21T14:59:22Z",
137176
+ "digest": "sha256:cfc3236bdad15b5898bca8408945c9e19e1917da8704adc20eaa618444290a8c",
137008
137177
"workflow_run": {
137009
137178
"id": 2332938,
137010
137179
"repository_id": 1296269,
@@ -137024,6 +137193,7 @@
137024
137193
"created_at": "2020-01-10T14:59:22Z",
137025
137194
"expires_at": "2020-03-21T14:59:22Z",
137026
137195
"updated_at": "2020-02-21T14:59:22Z",
137196
+ "digest": "sha256:cfc3236bdad15b5898bca8408945c9e19e1917da8704adc20eaa618444290a8c",
137027
137197
"workflow_run": {
137028
137198
"id": 2332942,
137029
137199
"repository_id": 1296269,
@@ -137047,6 +137217,7 @@
137047
137217
"created_at": "2020-01-10T14:59:22Z",
137048
137218
"expires_at": "2020-01-21T14:59:22Z",
137049
137219
"updated_at": "2020-01-21T14:59:22Z",
137220
+ "digest": "sha256:cfc3236bdad15b5898bca8408945c9e19e1917da8704adc20eaa618444290a8c",
137050
137221
"workflow_run": {
137051
137222
"id": 2332938,
137052
137223
"repository_id": 1296269,
@@ -148575,6 +148746,42 @@
148575
148746
"updated_at": "2023-08-23T16:29:47Z"
148576
148747
}
148577
148748
},
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
+ },
148578
148785
"secret-scanning-alert-list": {
148579
148786
"value": [
148580
148787
{
0 commit comments