-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathschema.json
More file actions
867 lines (867 loc) · 29.2 KB
/
schema.json
File metadata and controls
867 lines (867 loc) · 29.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
{
"schema": {
"name": "SOGitHub",
"display_name": "GitHub Extension (by SpecterOps)",
"version": "v1.3.0",
"namespace": "GH"
},
"node_kinds": [
{
"name": "GH_Enterprise",
"display_name": "GitHub Enterprise",
"description": "A GitHub Enterprise account that contains member organizations and enterprise-wide settings",
"is_display_kind": true,
"icon": "globe",
"color": "#4A90D9"
},
{
"name": "GH_Organization",
"display_name": "GitHub Organization",
"description": "A GitHub Organization—top-level container for repositories, teams, and settings",
"is_display_kind": true,
"icon": "building-flag",
"color": "#5FED83"
},
{
"name": "GH_User",
"display_name": "GitHub User",
"description": "An individual GitHub user account",
"is_display_kind": true,
"icon": "user",
"color": "#FF8E40"
},
{
"name": "GH_EnterpriseTeam",
"display_name": "GitHub Enterprise Team",
"description": "An enterprise-level team that can be assigned into one or more organizations and projected as organization teams",
"is_display_kind": true,
"icon": "users-between-lines",
"color": "#7C3AED"
},
{
"name": "GH_Team",
"display_name": "GitHub Team",
"description": "A team within an organization, grouping users for shared access and collaboration",
"is_display_kind": true,
"icon": "user-group",
"color": "#C06EFF"
},
{
"name": "GH_Repository",
"display_name": "GitHub Repository",
"description": "A code repository in an organization, containing files, issues, and other resources",
"is_display_kind": true,
"icon": "book",
"color": "#9EECFF"
},
{
"name": "GH_RunnerGroup",
"display_name": "GitHub Runner Group",
"description": "An organization-level self-hosted runner group that controls which repositories may use a set of runners",
"is_display_kind": true,
"icon": "users-rectangle",
"color": "#B4F8C8"
},
{
"name": "GH_Runner",
"display_name": "GitHub Self-Hosted Runner",
"description": "A generic self-hosted runner kind shared by organization-scoped and repository-scoped runner nodes",
"is_display_kind": false,
"icon": "server",
"color": "#FFD580"
},
{
"name": "GH_OrgRunner",
"display_name": "GitHub Org Self-Hosted Runner",
"description": "A self-hosted runner registered at the organization scope for GitHub Actions jobs",
"is_display_kind": true,
"icon": "server",
"color": "#FFD580"
},
{
"name": "GH_RepoRunner",
"display_name": "GitHub Repo Self-Hosted Runner",
"description": "A self-hosted runner registered directly to a repository for GitHub Actions jobs",
"is_display_kind": true,
"icon": "server",
"color": "#FFD580"
},
{
"name": "GH_Branch",
"display_name": "GitHub Branch",
"description": "A named reference in a repository representing a line of development",
"is_display_kind": true,
"icon": "code-branch",
"color": "#FF80D2"
},
{
"name": "GH_BranchProtectionRule",
"display_name": "GitHub Branch Protection Rule",
"description": "A branch protection rule that applies to one or more branches via pattern matching",
"is_display_kind": true,
"icon": "shield",
"color": "#FFB347"
},
{
"name": "GH_OrgRole",
"display_name": "GitHub Org Role",
"description": "The role a user has at the organization level (e.g., admin, member)",
"is_display_kind": true,
"icon": "user-tie",
"color": "#BFFFD1"
},
{
"name": "GH_TeamRole",
"display_name": "GitHub Team Role",
"description": "The role a user has within a team (e.g., maintainer, member)",
"is_display_kind": true,
"icon": "user-tie",
"color": "#D0B0FF"
},
{
"name": "GH_RepoRole",
"display_name": "GitHub Repo Role",
"description": "The permission granted to a user or team on a repository (e.g., admin, write, read)",
"is_display_kind": true,
"icon": "user-tie",
"color": "#DEFEFA"
},
{
"name": "GH_Workflow",
"display_name": "GitHub Workflow",
"description": "A GitHub Actions workflow defined in a repository",
"is_display_kind": true,
"icon": "gears",
"color": "#FFE4A1"
},
{
"name": "GH_WorkflowJob",
"display_name": "GitHub Workflow Job",
"description": "A job within a GitHub Actions workflow, with a runner, permissions, and an ordered list of steps",
"is_display_kind": true,
"icon": "layer-group",
"color": "#6EE7B7"
},
{
"name": "GH_WorkflowStep",
"display_name": "GitHub Workflow Step",
"description": "A single step within a GitHub Actions job — either a uses: action reference or a run: shell command",
"is_display_kind": true,
"icon": "circle-dot",
"color": "#C7D2FE"
},
{
"name": "GH_Environment",
"display_name": "GitHub Environment",
"description": "A GitHub Actions deployment environment with protection rules and deployment branch policies",
"is_display_kind": true,
"icon": "leaf",
"color": "#D5F2C2"
},
{
"name": "GH_OrgSecret",
"display_name": "GitHub Org Secret",
"description": "An organization-level GitHub Actions secret that can be scoped to all, private, or selected repositories",
"is_display_kind": true,
"icon": "lock",
"color": "#1FB65A"
},
{
"name": "GH_RepoSecret",
"display_name": "GitHub Repo Secret",
"description": "A repository-level GitHub Actions secret accessible only to workflows in that repository",
"is_display_kind": true,
"icon": "lock",
"color": "#32BEE6"
},
{
"name": "GH_EnvironmentSecret",
"display_name": "GitHub Environment Secret",
"description": "An environment-level GitHub Actions secret scoped to a specific deployment environment",
"is_display_kind": true,
"icon": "lock",
"color": "#6FB94A"
},
{
"name": "GH_OrgVariable",
"display_name": "GitHub Org Variable",
"description": "An organization-level GitHub Actions variable that can be scoped to all, private, or selected repositories. Unlike secrets, variable values are readable.",
"is_display_kind": true,
"icon": "lock-open",
"color": "#E8B84D"
},
{
"name": "GH_RepoVariable",
"display_name": "GitHub Repo Variable",
"description": "A repository-level GitHub Actions variable accessible only to workflows in that repository. Unlike secrets, variable values are readable.",
"is_display_kind": true,
"icon": "lock-open",
"color": "#E89B5C"
},
{
"name": "GH_EnvironmentVariable",
"display_name": "GitHub Environment Variable",
"description": "An environment-level GitHub Actions variable scoped to a specific deployment environment. Unlike secrets, variable values are readable.",
"is_display_kind": true,
"icon": "lock-open",
"color": "#D4A84B"
},
{
"name": "GH_SecretScanningAlert",
"display_name": "GitHub Secret Scanning Alert",
"description": "A GitHub Advanced Security alert indicating a secret was accidentally committed to a repository",
"is_display_kind": true,
"icon": "key",
"color": "#3C7A6E"
},
{
"name": "GH_SamlIdentityProvider",
"display_name": "GitHub SAML Identity Provider",
"description": "A SAML identity provider configured for the organization, enabling SSO",
"is_display_kind": true,
"icon": "id-badge",
"color": "#5A6C8F"
},
{
"name": "GH_ExternalIdentity",
"display_name": "GitHub External Identity",
"description": "An external identity from a SAML/SCIM provider linked to a GitHub user for SSO authentication",
"is_display_kind": true,
"icon": "arrows-left-right",
"color": "#8A8F98"
},
{
"name": "GH_App",
"display_name": "GitHub App",
"description": "A GitHub App definition representing the registered application. The app owner controls the private key used to generate installation tokens.",
"is_display_kind": true,
"icon": "cube",
"color": "#7EC8E3"
},
{
"name": "GH_AppInstallation",
"display_name": "GitHub App Installation",
"description": "A GitHub App installed on the organization with specific permissions and repository access",
"is_display_kind": true,
"icon": "plug",
"color": "#A8D8EA"
},
{
"name": "GH_PersonalAccessToken",
"display_name": "GitHub Personal Access Token",
"description": "A fine-grained personal access token granted access to organization resources",
"is_display_kind": true,
"icon": "key",
"color": "#F5A623"
},
{
"name": "GH_PersonalAccessTokenRequest",
"display_name": "GitHub Personal Access Token Request",
"description": "A pending request from an organization member to access organization resources with a fine-grained personal access token",
"is_display_kind": true,
"icon": "key",
"color": "#D4A017"
}
],
"relationship_kinds": [
{
"name": "GH_Contains",
"description": "Container relationship for organizational hierarchy (org contains secrets/variables, repo contains secrets/variables, environment contains secrets/variables)",
"is_traversable": false
},
{
"name": "GH_AssignedTo",
"description": "Structural assignment relationship showing that an enterprise team is assigned to an organization",
"is_traversable": false
},
{
"name": "GH_Owns",
"description": "Organization owns a repository",
"is_traversable": true
},
{
"name": "GH_HasRole",
"description": "User or team has a role assignment (org role, team role, or repo role)",
"is_traversable": true
},
{
"name": "GH_MemberOf",
"description": "Team role is a member of a team, or team is a nested member of a parent team",
"is_traversable": true
},
{
"name": "GH_AddMember",
"description": "Team role can add members to the team (maintainer privilege)",
"is_traversable": true
},
{
"name": "GH_HasBaseRole",
"description": "Role inherits permissions from another role",
"is_traversable": true
},
{
"name": "GH_ReadRepoContents",
"description": "[Repository] Repo role can read repository contents",
"is_traversable": false
},
{
"name": "GH_WriteRepoContents",
"description": "[Repository] Repo role can write repository contents",
"is_traversable": false
},
{
"name": "GH_WriteRepoPullRequests",
"description": "[Repository] Repo role can create and merge pull requests",
"is_traversable": false
},
{
"name": "GH_AdminTo",
"description": "[Repository] Repo role has admin access to the repository.",
"is_traversable": false
},
{
"name": "GH_BypassBranchProtection",
"description": "[Repository] Repo role can bypass merge-gate branch protections (PR reviews, lock branch). Suppressed by enforce_admins.",
"is_traversable": false
},
{
"name": "GH_PushProtectedBranch",
"description": "[Repository] Repo role can push to branches with push restrictions. Not affected by enforce_admins.",
"is_traversable": false
},
{
"name": "GH_ManageWebhooks",
"description": "[Repository] Repo role can manage repository webhooks",
"is_traversable": false
},
{
"name": "GH_ManageDeployKeys",
"description": "[Repository] Repo role can manage deploy keys",
"is_traversable": false
},
{
"name": "GH_DeleteAlertsCodeScanning",
"description": "[Repository] Repo role can delete code scanning alerts",
"is_traversable": false
},
{
"name": "GH_ViewSecretScanningAlerts",
"description": "[Repository] Role can view secret scanning alerts",
"is_traversable": false
},
{
"name": "GH_RunOrgMigration",
"description": "[Repository] Repo role can run organization migrations",
"is_traversable": false
},
{
"name": "GH_ManageSecurityProducts",
"description": "Repo role can manage security products",
"is_traversable": false
},
{
"name": "GH_ManageRepoSecurityProducts",
"description": "Repo role can manage repo-level security products",
"is_traversable": false
},
{
"name": "GH_EditRepoProtections",
"description": "Repo role can edit branch protection rules",
"is_traversable": false
},
{
"name": "GH_JumpMergeQueue",
"description": "Repo role can jump the merge queue",
"is_traversable": false
},
{
"name": "GH_CreateSoloMergeQueueEntry",
"description": "Repo role can create solo merge queue entries",
"is_traversable": false
},
{
"name": "GH_EditRepoCustomPropertiesValues",
"description": "[Repository] Repo role can edit custom property values on the repository",
"is_traversable": false
},
{
"name": "GH_AddLabel",
"description": "[Repository] Repo role can add labels to issues and pull requests",
"is_traversable": false
},
{
"name": "GH_RemoveLabel",
"description": "[Repository] Repo role can remove labels from issues and pull requests",
"is_traversable": false
},
{
"name": "GH_CloseIssue",
"description": "[Repository] Repo role can close issues",
"is_traversable": false
},
{
"name": "GH_ReopenIssue",
"description": "[Repository] Repo role can reopen closed issues",
"is_traversable": false
},
{
"name": "GH_ClosePullRequest",
"description": "[Repository] Repo role can close pull requests",
"is_traversable": false
},
{
"name": "GH_ReopenPullRequest",
"description": "[Repository] Repo role can reopen closed pull requests",
"is_traversable": false
},
{
"name": "GH_AddAssignee",
"description": "[Repository] Repo role can assign users to issues and pull requests",
"is_traversable": false
},
{
"name": "GH_DeleteIssue",
"description": "[Repository] Repo role can delete issues",
"is_traversable": false
},
{
"name": "GH_RemoveAssignee",
"description": "[Repository] Repo role can remove assignees from issues and pull requests",
"is_traversable": false
},
{
"name": "GH_RequestPrReview",
"description": "[Repository] Repo role can request pull request reviews",
"is_traversable": false
},
{
"name": "GH_MarkAsDuplicate",
"description": "[Repository] Repo role can mark issues or pull requests as duplicates",
"is_traversable": false
},
{
"name": "GH_SetMilestone",
"description": "[Repository] Repo role can set milestones on issues and pull requests",
"is_traversable": false
},
{
"name": "GH_SetIssueType",
"description": "[Repository] Repo role can set issue types",
"is_traversable": false
},
{
"name": "GH_ManageTopics",
"description": "[Repository] Repo role can manage repository topics",
"is_traversable": false
},
{
"name": "GH_ManageSettingsWiki",
"description": "[Repository] Repo role can manage wiki settings",
"is_traversable": false
},
{
"name": "GH_ManageSettingsProjects",
"description": "[Repository] Repo role can manage project settings",
"is_traversable": false
},
{
"name": "GH_ManageSettingsMergeTypes",
"description": "[Repository] Repo role can manage allowed merge types",
"is_traversable": false
},
{
"name": "GH_ManageSettingsPages",
"description": "[Repository] Repo role can manage GitHub Pages settings",
"is_traversable": false
},
{
"name": "GH_EditRepoMetadata",
"description": "[Repository] Repo role can edit repository metadata",
"is_traversable": false
},
{
"name": "GH_SetInteractionLimits",
"description": "[Repository] Repo role can set interaction limits on the repository",
"is_traversable": false
},
{
"name": "GH_SetSocialPreview",
"description": "[Repository] Repo role can set the repository social preview image",
"is_traversable": false
},
{
"name": "GH_EditRepoAnnouncementBanners",
"description": "[Repository] Repo role can edit repository announcement banners",
"is_traversable": false
},
{
"name": "GH_ReadCodeScanning",
"description": "[Repository] Repo role can read code scanning results",
"is_traversable": false
},
{
"name": "GH_WriteCodeScanning",
"description": "[Repository] Repo role can upload code scanning results",
"is_traversable": false
},
{
"name": "GH_ViewDependabotAlerts",
"description": "[Repository] Repo role can view Dependabot alerts",
"is_traversable": false
},
{
"name": "GH_ResolveDependabotAlerts",
"description": "[Repository] Repo role can resolve Dependabot alerts",
"is_traversable": false
},
{
"name": "GH_DeleteDiscussion",
"description": "[Repository] Repo role can delete discussions",
"is_traversable": false
},
{
"name": "GH_ToggleDiscussionAnswer",
"description": "[Repository] Repo role can toggle discussion answers",
"is_traversable": false
},
{
"name": "GH_ToggleDiscussionCommentMinimize",
"description": "[Repository] Repo role can minimize discussion comments",
"is_traversable": false
},
{
"name": "GH_EditDiscussionCategory",
"description": "[Repository] Repo role can edit discussion categories",
"is_traversable": false
},
{
"name": "GH_CreateDiscussionCategory",
"description": "[Repository] Repo role can create discussion categories",
"is_traversable": false
},
{
"name": "GH_ConvertIssuesToDiscussions",
"description": "[Repository] Repo role can convert issues to discussions",
"is_traversable": false
},
{
"name": "GH_CloseDiscussion",
"description": "[Repository] Repo role can close discussions",
"is_traversable": false
},
{
"name": "GH_ReopenDiscussion",
"description": "[Repository] Repo role can reopen discussions",
"is_traversable": false
},
{
"name": "GH_EditCategoryOnDiscussion",
"description": "[Repository] Repo role can change the category of a discussion",
"is_traversable": false
},
{
"name": "GH_ManageDiscussionBadges",
"description": "[Repository] Repo role can manage discussion badges",
"is_traversable": false
},
{
"name": "GH_EditDiscussionComment",
"description": "[Repository] Repo role can edit discussion comments",
"is_traversable": false
},
{
"name": "GH_DeleteDiscussionComment",
"description": "[Repository] Repo role can delete discussion comments",
"is_traversable": false
},
{
"name": "GH_CreateTag",
"description": "[Repository] Repo role can create tags and releases",
"is_traversable": false
},
{
"name": "GH_DeleteTag",
"description": "[Repository] Repo role can delete tags and releases",
"is_traversable": false
},
{
"name": "GH_CreateRepository",
"description": "[Organization] Org role can create repositories in the organization",
"is_traversable": false
},
{
"name": "GH_InviteMember",
"description": "[Organization] Org role can invite members to the organization",
"is_traversable": false
},
{
"name": "GH_AddCollaborator",
"description": "[Organization] Org role can add outside collaborators",
"is_traversable": false
},
{
"name": "GH_CreateTeam",
"description": "[Organization] Org role can create teams in the organization",
"is_traversable": false
},
{
"name": "GH_TransferRepository",
"description": "[Organization] Org role can transfer repositories",
"is_traversable": false
},
{
"name": "GH_ManageOrganizationWebhooks",
"description": "[Organization] Org role can manage organization webhooks",
"is_traversable": false
},
{
"name": "GH_OrgBypassCodeScanningDismissalRequests",
"description": "[Organization] Org role can bypass code scanning dismissal requests",
"is_traversable": false
},
{
"name": "GH_OrgBypassSecretScanningClosureRequests",
"description": "[Organization] Org role can bypass secret scanning closure requests",
"is_traversable": false
},
{
"name": "GH_OrgReviewAndManageSecretScanningBypassRequests",
"description": "[Organization] Org role can review and manage secret scanning bypass requests",
"is_traversable": false
},
{
"name": "GH_OrgReviewAndManageSecretScanningClosureRequests",
"description": "[Organization] Org role can review and manage secret scanning closure requests",
"is_traversable": false
},
{
"name": "GH_ReadOrganizationActionsUsageMetrics",
"description": "[Organization] Org role can read Actions usage metrics",
"is_traversable": false
},
{
"name": "GH_ReadOrganizationCustomOrgRole",
"description": "[Organization] Org role can read custom org role definitions",
"is_traversable": false
},
{
"name": "GH_ReadOrganizationCustomRepoRole",
"description": "[Organization] Org role can read custom repo role definitions",
"is_traversable": false
},
{
"name": "GH_ResolveSecretScanningAlerts",
"description": "[Organization] Org role can resolve secret scanning alerts",
"is_traversable": false
},
{
"name": "GH_WriteOrganizationActionsSecrets",
"description": "[Organization] Org role can write Actions secrets",
"is_traversable": false
},
{
"name": "GH_WriteOrganizationActionsVariables",
"description": "[Organization] Org role can write Actions variables",
"is_traversable": false
},
{
"name": "GH_WriteOrganizationActionsSettings",
"description": "[Organization] Org role can write Actions settings",
"is_traversable": false
},
{
"name": "GH_WriteOrganizationCustomOrgRole",
"description": "[Organization] Org role can write custom org role definitions",
"is_traversable": true
},
{
"name": "GH_WriteOrganizationCustomRepoRole",
"description": "[Organization] Org role can write custom repo role definitions",
"is_traversable": false
},
{
"name": "GH_WriteOrganizationNetworkConfigurations",
"description": "[Organization] Org role can write network configurations",
"is_traversable": false
},
{
"name": "GH_BypassPullRequestAllowances",
"description": "User or team can bypass pull request requirements on a branch protection rule",
"is_traversable": false
},
{
"name": "GH_RestrictionsCanPush",
"description": "User or team is allowed to push to branches protected by this rule",
"is_traversable": false
},
{
"name": "GH_HasBranch",
"description": "Repository has this branch",
"is_traversable": false
},
{
"name": "GH_CanEditProtection",
"description": "[Repository - Computed] Repo role can modify or remove the branch protection rules governing this branch (computed from GH_EditRepoProtections + GH_ProtectedBy)",
"is_traversable": true
},
{
"name": "GH_CanReadSecretScanningAlert",
"description": "[Computed] Role can read secret scanning alerts (computed from GH_ViewSecretScanningAlerts permission + GH_Contains)",
"is_traversable": true
},
{
"name": "GH_ProtectedBy",
"description": "Branch protection rule protects this branch",
"is_traversable": false
},
{
"name": "GH_HasWorkflow",
"description": "Repository has this workflow",
"is_traversable": false
},
{
"name": "GH_HasEnvironment",
"description": "Repository or branch has/can deploy to this environment",
"is_traversable": false
},
{
"name": "GH_HasSecret",
"description": "Repository or environment has access to this secret",
"is_traversable": true
},
{
"name": "GH_HasVariable",
"description": "Repository has access to this variable (org-level or repo-level)",
"is_traversable": true
},
{
"name": "GH_ValidToken",
"description": "Secret scanning alert contains a valid, active token belonging to this user",
"is_traversable": true
},
{
"name": "GH_HasSamlIdentityProvider",
"description": "Organization has this SAML identity provider configured",
"is_traversable": false
},
{
"name": "GH_HasExternalIdentity",
"description": "SAML identity provider has this external identity",
"is_traversable": false
},
{
"name": "GH_MapsToUser",
"description": "External identity maps to a GitHub user or identity provider user",
"is_traversable": false
},
{
"name": "GH_HasPersonalAccessToken",
"description": "User owns this personal access token that has been granted access to the organization",
"is_traversable": false
},
{
"name": "GH_HasPersonalAccessTokenRequest",
"description": "User has a pending personal access token request for the organization",
"is_traversable": false
},
{
"name": "GH_InstalledAs",
"description": "GitHub App is installed as this app installation on an organization",
"is_traversable": true
},
{
"name": "GH_CanAccess",
"description": "Personal access token or app installation can access this repository or organization",
"is_traversable": false
},
{
"name": "GH_CanWriteBranch",
"description": "[Repository - Computed] Role can push to this branch after evaluating branch protection rules, push restrictions, and bypass allowances",
"is_traversable": true
},
{
"name": "GH_CanCreateBranch",
"description": "[Repository - Computed] Role can create new branches in this repository (unprotected branches that bypass the merge gate)",
"is_traversable": true
},
{
"name": "GH_CanAssumeIdentity",
"description": "Repository can assume this cloud identity via OIDC federation (Azure workload identity or AWS IAM role)",
"is_traversable": true
},
{
"name": "GH_CanUseRunner",
"description": "[Actions] Repository can dispatch jobs to this self-hosted runner",
"is_traversable": false
},
{
"name": "GH_CanDispatchTo",
"description": "[Workflow] Job can dispatch to this self-hosted runner based on runs-on label matching and repository runner access",
"is_traversable": false
},
{
"name": "GH_SyncedTo",
"description": "External identity (Azure, Okta, PingOne) is synced to this GitHub user via SSO/SCIM",
"is_traversable": true
},
{
"name": "GH_CallsWorkflow",
"description": "[Workflow] Job calls a reusable workflow — GH_WorkflowJob → GH_Workflow",
"is_traversable": false
},
{
"name": "GH_CanPwnRequest",
"description": "[Computed] Repo role can exploit a pwn-requestable workflow to execute arbitrary code with the target's secrets and permissions — GH_RepoRole → GH_Repository / GH_Branch",
"is_traversable": true
},
{
"name": "GH_DependsOn",
"description": "[Workflow] Job must run after another job (needs: dependency) — ordering only, not an access path",
"is_traversable": false
},
{
"name": "GH_DeploysTo",
"description": "[Workflow] Job deploys to a GitHub Environment — GH_WorkflowJob → GH_Environment",
"is_traversable": false
},
{
"name": "GH_HasJob",
"description": "[Workflow] Workflow contains this job — GH_Workflow → GH_WorkflowJob",
"is_traversable": false
},
{
"name": "GH_HasMember",
"description": "Enterprise or organization has this user as a member",
"is_traversable": false
},
{
"name": "GH_HasStep",
"description": "[Workflow] Job contains this step — GH_WorkflowJob → GH_WorkflowStep",
"is_traversable": false
},
{
"name": "GH_UsesSecret",
"description": "[Workflow] Step references a secret by name — GH_WorkflowStep → GH_RepoSecret / GH_OrgSecret (name match)",
"is_traversable": false
},
{
"name": "GH_UsesVariable",
"description": "[Workflow] Step references a variable by name — GH_WorkflowStep → GH_RepoVariable / GH_OrgVariable (name match)",
"is_traversable": false
}
],
"environments": [
{
"environment_kind": "GH_Organization",
"source_kind": "GitHub",
"principal_kinds": [
"GH_User",
"GH_Team",
"GH_Repository",
"GH_Branch",
"GH_Environment"
]
}
],
"relationship_findings": []
}