Improve GCP workload identity federation evidence#1560
Open
wowsofine wants to merge 1 commit into
Open
Conversation
Author
|
Bounty claim note: requesting consideration for the moderate improver bounty (USD 100). This PR adds Workload Identity Federation and external OIDC boundary evidence checks to the GCP review skill, including attribute conditions, principalSet scope, WorkloadIdentityUser bindings, external TokenCreator grants, and CI claim binding. Local validation is listed in the PR description. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Checklist
injection-hardened: trueset in frontmatterallowed-toolsscoped to minimum necessary permissionsindex.yamlupdate not required because this improves an existing skillWhat This PR Does
This improves the
gcp-reviewskill by adding Workload Identity Federation and external OIDC boundary evidence checks.The current skill already covers user-managed service account keys and service account impersonation roles. This PR adds the modern keyless identity path: workload identity pools/providers,
attribute_mapping,attribute_condition, broadprincipalSetpatterns,roles/iam.workloadIdentityUser, externalroles/iam.serviceAccountTokenCreatorgrants, and GitHub Actions OIDC claim binding.It also adds an Identity Federation Evidence matrix to the main report template and updates common pitfalls so reviewers do not treat WIF as automatically safe simply because it removes long-lived keys.
Framework References
Testing
git diff --check -- skills/cloud/gcp-review/SKILL.md skills/cloud/gcp-review/benchmark-checklist.mdattribute_condition,principalSet,roles/iam.workloadIdentityUser, androles/iam.serviceAccountTokenCreatorBounty Tier
Bounty Info