Skip to content

Support enterprise GitHub Actions OIDC issuers#4509

Open
bmendonca3 wants to merge 1 commit into
slsa-framework:mainfrom
bmendonca3:fix-enterprise-oidc-issuer
Open

Support enterprise GitHub Actions OIDC issuers#4509
bmendonca3 wants to merge 1 commit into
slsa-framework:mainfrom
bmendonca3:fix-enterprise-oidc-issuer

Conversation

@bmendonca3
Copy link
Copy Markdown

Summary

  • validate GitHub Actions OIDC token issuers against the expected provider host while allowing one enterprise slug path segment
  • build the OIDC verifier from the validated token issuer so enterprise-scoped discovery endpoints are used
  • add coverage for enterprise issuers and rejected spoofing/URL-component cases

Fixes #4501

Tests

  • PATH=/tmp/go1.23.1/bin:$PATH go test ./github -count=1
  • PATH=/tmp/go1.23.1/bin:$PATH go test ./... -count=1

Signed-off-by: bmendonca3 <208517100+bmendonca3@users.noreply.github.com>
@bmendonca3 bmendonca3 requested a review from a team as a code owner May 29, 2026 01:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] generator_generic_slsa3 fails on GitHub Enterprise with custom OIDC issuer policy (include_enterprise_slug)

1 participant