GitHub Expands OIDC Claims for Dependabot and Code Scanning to Improve Granular Access Control

GitHub announced updates to GitHub Actions OIDC tokens that provide more granular control over authentication between CI/CD workflows and cloud providers. The update introduces detailed repository environment attributes within OIDC claims, allowing security teams to define more restrictive access policies based on the specific context of the workflow execution. This expansion is particularly relevant for managing automated security tools like Dependabot and code scanning services.
Related tools
Recommended tools for this topic
These picks prioritize high-intent tools relevant to this topic. Some links may include partner or affiliate tracking.
Strong fit for AI, backend, and frontend readers looking for an AI-first coding workflow.
View CursorHigh-value hosting and deployment path for frontend and cloud readers.
View VercelA high-relevance security pick for identity, secret management, and team access control.
View 1PasswordComparison
| Aspect | Before / Alternative | After / This |
|---|---|---|
| Claim Granularity | Broad repository-level identity for automated tools | Specific environment and sub-attribute claims |
| IAM Policy Scope | Wide permissions often required for scanning tasks | Least-privilege access restricted by environment |
| Trust Relationship | Limited validation of automated workflow context | Enhanced validation using detailed metadata |
| Security Posture | Risk of credential misuse across environments | Isolated access per specific security task |
Action Checklist
- Identify existing OIDC trust relationships in your cloud provider Look for IAM roles used by Dependabot or code scanning workflows
- Update IAM policy conditions to include the new OIDC claims Reference the updated GitHub documentation for specific claim names
- Test the new authorization logic in a non-production repository Verify that workflows still have necessary permissions after narrowing the scope
- Monitor GitHub Actions logs for OIDC token verification errors Check for failed authentication attempts during the transition period
Source: GitHub Changelog
This page summarizes the original source. Check the source for full details.


