Skip to content

ci(security-scan): grant id-token: write for ci-reader Workload Identity Federation (SEC-2311) - #160

Open
gperreymond wants to merge 1 commit into
mainfrom
security/sec-2311-security-scan-id-token
Open

gperreymond wants to merge 1 commit into
mainfrom
security/sec-2311-security-scan-id-token

Conversation

@gperreymond

Copy link
Copy Markdown

Why

SEC-2311 (kestra-io/security-controller-tower#76) replaces the long-lived GCP service account key with Workload Identity Federation.

With kestra-io/actions#396, security-scan.yml reads Artifact Registry as the read-only ci-reader service account for the Gradle SBOM build. A reusable workflow can only lower its caller's permissions, so this caller has to grant id-token: write itself.

What

id-token: write is added to the permissions of .github/workflows/security-scan.yml. Nothing else changes.

@github-project-automation github-project-automation Bot moved this to To review in Pull Requests Nov 16, 2026
@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
🔎 OpenGrep ✅ (0 findings)

Found 0 finding(s).

🐷 TruffleHog ✅ (0 secrets)

No secret found.

🧪 Java Unit Tests ✅ (0 failed, 2 passed, 0 skipped)
TestsPassed ✅SkippedFailedTime ⏱
Java Tests Report2 ran2 ✅0 ⚠️0 ❌1s 575ms
📊 Coverage — plugin ✅ (42.86%, no changes)

42.86% line coverage (▬ 0.00pp)
6/14 lines covered

Coverage by module

Module Lines Coverage
root 6/14 42.86% (▬ 0.00pp)
🔁 Unreleased Commits ✅ (0 commits)

✅ No unreleased commits found.

@github-actions

Copy link
Copy Markdown

Tests report quick summary:

success ✅ > tests: 2, success: 2, skipped: 0, failed: 0

unfold for details
Project Status Success Skipped Failed
plugin-template success ✅ 2 0 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: To review

Development

Successfully merging this pull request may close these issues.

2 participants