|
98 | 98 | 'Fine-grained', |
99 | 99 | 'Repository' |
100 | 100 | ), |
| 101 | + [GitHubPermission]::new( |
| 102 | + 'artifact_metadata', |
| 103 | + 'Artifact metadata', |
| 104 | + 'View and manage artifact metadata.', |
| 105 | + 'https://docs.github.com/rest/overview/permissions-required-for-github-apps' + |
| 106 | + '#repository-permissions-for-artifact-metadata', |
| 107 | + @( |
| 108 | + 'read', |
| 109 | + 'write' |
| 110 | + ), |
| 111 | + 'Fine-grained', |
| 112 | + 'Repository' |
| 113 | + ), |
101 | 114 | [GitHubPermission]::new( |
102 | 115 | 'checks', |
103 | 116 | 'Checks', |
|
569 | 582 | 'Fine-grained', |
570 | 583 | 'Organization' |
571 | 584 | ), |
| 585 | + [GitHubPermission]::new( |
| 586 | + 'custom_properties_for_organizations', |
| 587 | + 'Custom properties for organizations', |
| 588 | + 'View and manage custom properties for organizations.', |
| 589 | + 'https://docs.github.com/rest/overview/permissions-required-for-github-apps', |
| 590 | + @( |
| 591 | + 'read', |
| 592 | + 'write' |
| 593 | + ), |
| 594 | + 'Fine-grained', |
| 595 | + 'Organization' |
| 596 | + ), |
572 | 597 | [GitHubPermission]::new( |
573 | 598 | 'organization_custom_roles', |
574 | 599 | 'Custom repository roles', |
|
607 | 632 | 'Fine-grained', |
608 | 633 | 'Organization' |
609 | 634 | ), |
| 635 | + [GitHubPermission]::new( |
| 636 | + 'organization_copilot_metrics', |
| 637 | + 'Organization Copilot metrics', |
| 638 | + 'View Copilot metrics for an organization.', |
| 639 | + 'https://docs.github.com/rest/overview/permissions-required-for-github-apps' + |
| 640 | + '#organization-permissions-for-organization-copilot-metrics', |
| 641 | + @( |
| 642 | + 'read' |
| 643 | + ), |
| 644 | + 'Fine-grained', |
| 645 | + 'Organization' |
| 646 | + ), |
| 647 | + [GitHubPermission]::new( |
| 648 | + 'organization_credentials', |
| 649 | + 'Organization credentials', |
| 650 | + 'View and manage organization credentials.', |
| 651 | + 'https://docs.github.com/rest/overview/permissions-required-for-github-apps', |
| 652 | + @( |
| 653 | + 'read', |
| 654 | + 'write' |
| 655 | + ), |
| 656 | + 'Fine-grained', |
| 657 | + 'Organization' |
| 658 | + ), |
610 | 659 | [GitHubPermission]::new( |
611 | 660 | 'issue_fields', |
612 | 661 | 'Issue Fields', |
|
762 | 811 | 'Fine-grained', |
763 | 812 | 'Organization' |
764 | 813 | ), |
| 814 | + [GitHubPermission]::new( |
| 815 | + 'organization_dependabot_dismissal_requests', |
| 816 | + 'Organization Dependabot dismissal requests', |
| 817 | + 'Review and manage Dependabot dismissal requests for an organization.', |
| 818 | + 'https://docs.github.com/rest/overview/permissions-required-for-github-apps', |
| 819 | + @( |
| 820 | + 'read', |
| 821 | + 'write' |
| 822 | + ), |
| 823 | + 'Fine-grained', |
| 824 | + 'Organization' |
| 825 | + ), |
765 | 826 | [GitHubPermission]::new( |
766 | 827 | 'organization_code_scanning_dismissal_requests', |
767 | 828 | 'Organization dismissal requests for code scanning', |
|
788 | 849 | 'Fine-grained', |
789 | 850 | 'Organization' |
790 | 851 | ), |
| 852 | + [GitHubPermission]::new( |
| 853 | + 'organization_runner_custom_images', |
| 854 | + 'Hosted runner custom images', |
| 855 | + 'View and manage hosted runner custom images for an organization.', |
| 856 | + 'https://docs.github.com/rest/overview/permissions-required-for-github-apps' + |
| 857 | + '#organization-permissions-for-hosted-runner-custom-images', |
| 858 | + @( |
| 859 | + 'read', |
| 860 | + 'write' |
| 861 | + ), |
| 862 | + 'Fine-grained', |
| 863 | + 'Organization' |
| 864 | + ), |
791 | 865 | [GitHubPermission]::new( |
792 | 866 | 'organization_personal_access_token_requests', |
793 | 867 | 'Personal access token requests', |
|
1157 | 1231 | # ------------------------------ |
1158 | 1232 | # Enterprise Fine-Grained Permission Definitions |
1159 | 1233 | # ------------------------------ |
| 1234 | + [GitHubPermission]::new( |
| 1235 | + 'enterprise_ai_controls', |
| 1236 | + 'Enterprise AI controls', |
| 1237 | + 'View and manage AI controls for an enterprise.', |
| 1238 | + 'https://docs.github.com/enterprise-cloud@latest/rest/overview/permissions-required-for-github-apps', |
| 1239 | + @( |
| 1240 | + 'read', |
| 1241 | + 'write' |
| 1242 | + ), |
| 1243 | + 'Fine-grained', |
| 1244 | + 'Enterprise' |
| 1245 | + ), |
1160 | 1246 | [GitHubPermission]::new( |
1161 | 1247 | 'enterprise_custom_properties', |
1162 | 1248 | 'Custom properties', |
|
1170 | 1256 | 'Fine-grained', |
1171 | 1257 | 'Enterprise' |
1172 | 1258 | ), |
| 1259 | + [GitHubPermission]::new( |
| 1260 | + 'enterprise_copilot_metrics', |
| 1261 | + 'Enterprise Copilot metrics', |
| 1262 | + 'View Copilot metrics for an enterprise.', |
| 1263 | + 'https://docs.github.com/enterprise-cloud@latest/rest/overview/permissions-required-for-github-apps' + |
| 1264 | + '#enterprise-permissions-for-enterprise-copilot-metrics', |
| 1265 | + @( |
| 1266 | + 'read' |
| 1267 | + ), |
| 1268 | + 'Fine-grained', |
| 1269 | + 'Enterprise' |
| 1270 | + ), |
| 1271 | + [GitHubPermission]::new( |
| 1272 | + 'enterprise_credentials', |
| 1273 | + 'Enterprise credentials', |
| 1274 | + 'View and manage enterprise credentials.', |
| 1275 | + 'https://docs.github.com/enterprise-cloud@latest/rest/overview/permissions-required-for-github-apps', |
| 1276 | + @( |
| 1277 | + 'read', |
| 1278 | + 'write' |
| 1279 | + ), |
| 1280 | + 'Fine-grained', |
| 1281 | + 'Enterprise' |
| 1282 | + ), |
1173 | 1283 | [GitHubPermission]::new( |
1174 | 1284 | 'enterprise_scim', |
1175 | 1285 | 'Enterprise SCIM', |
|
1196 | 1306 | 'Fine-grained', |
1197 | 1307 | 'Enterprise' |
1198 | 1308 | ), |
| 1309 | + [GitHubPermission]::new( |
| 1310 | + 'enterprise_custom_enterprise_roles', |
| 1311 | + 'Enterprise custom enterprise roles', |
| 1312 | + 'Create, edit, delete and list custom enterprise roles.', |
| 1313 | + 'https://docs.github.com/enterprise-cloud@latest/rest/overview/permissions-required-for-github-apps', |
| 1314 | + @( |
| 1315 | + 'read', |
| 1316 | + 'write' |
| 1317 | + ), |
| 1318 | + 'Fine-grained', |
| 1319 | + 'Enterprise' |
| 1320 | + ), |
| 1321 | + [GitHubPermission]::new( |
| 1322 | + 'enterprise_custom_properties_for_organizations', |
| 1323 | + 'Enterprise custom properties for organizations', |
| 1324 | + 'View and manage custom properties for organizations at the enterprise level.', |
| 1325 | + 'https://docs.github.com/enterprise-cloud@latest/rest/overview/permissions-required-for-github-apps', |
| 1326 | + @( |
| 1327 | + 'read', |
| 1328 | + 'write' |
| 1329 | + ), |
| 1330 | + 'Fine-grained', |
| 1331 | + 'Enterprise' |
| 1332 | + ), |
1199 | 1333 | [GitHubPermission]::new( |
1200 | 1334 | 'enterprise_organization_installation_repositories', |
1201 | 1335 | 'Enterprise organization installation repositories', |
|
1259 | 1393 | ), |
1260 | 1394 | 'Fine-grained', |
1261 | 1395 | 'Enterprise' |
| 1396 | + ), |
| 1397 | + [GitHubPermission]::new( |
| 1398 | + 'enterprise_teams', |
| 1399 | + 'Enterprise teams', |
| 1400 | + 'View and manage enterprise teams.', |
| 1401 | + 'https://docs.github.com/enterprise-cloud@latest/rest/overview/permissions-required-for-github-apps' + |
| 1402 | + '#enterprise-permissions-for-enterprise-teams', |
| 1403 | + @( |
| 1404 | + 'read', |
| 1405 | + 'write' |
| 1406 | + ), |
| 1407 | + 'Fine-grained', |
| 1408 | + 'Enterprise' |
1262 | 1409 | ) |
1263 | 1410 | ) |
1264 | 1411 | } |
|
0 commit comments