Commit 4f87237
🐛 Fix 21 incorrect GCP IAM permissions in auto-generated manifest
The permission extraction heuristics produced several invalid GCP IAM
permission strings. This fixes the generator and regenerates the manifest.
**Service name prefix fixes (gcpServiceNameMap):**
- cloudresourcemanager.* → resourcemanager.* (9 permissions)
- sqladmin.* → cloudsql.* (2 permissions)
- security.* → privateca.* (3 permissions)
**Method-to-permission override table (new):**
- accessapproval.accessApprovalSettings.get → accessapproval.settings.get
- binaryauthorization.systemPolicy.get → binaryauthorization.policy.get
- cloudkms.cryptoKey.get → cloudkms.cryptoKeys.get
- cloudkms.iamPolicy.get → cloudkms.cryptoKeys.getIamPolicy
- secretmanager.iamPolicy.get → secretmanager.secrets.getIamPolicy
- secretmanager.secretVersions.list → secretmanager.versions.list
- artifactregistry.iamPolicy.get → artifactregistry.repositories.getIamPolicy
- serviceusage.service.get → serviceusage.services.get
**Non-API method filtering (new skip list):**
- monitoring.conditionAbsent.get, monitoring.conditionThreshold.get,
monitoring.conditionMatchedLog.get, monitoring.conditionMonitoringQueryLanguage.get
(protobuf getters, not real API calls)
**Other generator fixes:**
- Strip "Iter" suffix from gRPC iterator methods (iam.rolesIter.list → iam.roles.list)
- Map REST "Aggregated" verb to "list" (dataflow.jobs.aggregated → dataflow.jobs.list)
- Skip bare gRPC Get() calls with no resource qualifier (compute.compute.get)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent da25948 commit 4f87237
File tree
2 files changed
+186
-171
lines changed- providers-sdk/v1/util/permissions
- providers/gcp/resources
2 files changed
+186
-171
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
635 | 635 | | |
636 | 636 | | |
637 | 637 | | |
638 | | - | |
| 638 | + | |
639 | 639 | | |
640 | 640 | | |
641 | 641 | | |
642 | 642 | | |
643 | 643 | | |
644 | 644 | | |
645 | 645 | | |
646 | | - | |
| 646 | + | |
647 | 647 | | |
648 | 648 | | |
649 | 649 | | |
| |||
653 | 653 | | |
654 | 654 | | |
655 | 655 | | |
| 656 | + | |
656 | 657 | | |
657 | 658 | | |
658 | 659 | | |
| |||
892 | 893 | | |
893 | 894 | | |
894 | 895 | | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
895 | 930 | | |
896 | 931 | | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
| 943 | + | |
| 944 | + | |
| 945 | + | |
| 946 | + | |
897 | 947 | | |
898 | 948 | | |
899 | 949 | | |
| |||
911 | 961 | | |
912 | 962 | | |
913 | 963 | | |
914 | | - | |
| 964 | + | |
915 | 965 | | |
916 | 966 | | |
917 | 967 | | |
| |||
952 | 1002 | | |
953 | 1003 | | |
954 | 1004 | | |
955 | | - | |
| 1005 | + | |
956 | 1006 | | |
957 | 1007 | | |
958 | 1008 | | |
| |||
0 commit comments