Repository navigation
IST-5460 Bump vault-action-wrapper to 3.8.0 - #449
julien-carsique-sonarsource merged 1 commit into
Conversation
3.8.0 adds a third Vault login with the base role when both logins with the protected role failed on a branch-* or tag ref, instead of failing at login. The release workflows and the repository's own workflows call the wrapper with a pinned SHA, so they only get it with this bump. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Code Review ✅ Approved 🔴 High riskUpdating Vault pins adds base-role fallback on branch/tag refs, potentially making base-role-readable secrets available when protected-role access is denied. Bumps all 14 Verification Rules 4/4 met PRs 1 inspectedFunctional validation No results Rules 4 passed 1 not applicable
Broader impact PRs 1 inspectedCross-PR 1 PR inspected 0 open impacts
Auto-approval Not enabledFor more verification details, comment OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar |
|



IST-5460 Bump vault-action-wrapper to 3.8.0
Summary
All 14 pins of
SonarSource/vault-action-wrapperin 11 workflows move to3.8.0 (
996f98a8), from 3.5.0 and 3.6.1: thereusable workflows consumed by the release callers (
main.yaml,cratesio.yaml,javadoc-publication.yaml,npmjs.yaml,pypi.yaml) and the repository's own workflows.3.8.0 adds a third Vault login with
github-{org}-{repo}when both logins withgithub-{org}-{repo}-protectedfailed ona
branch-*or tag ref, so a repository whose protected role binds fewer refs than the default keeps the secrets its baserole can read instead of failing at login. It only returns secrets the base role can read: a request that includes a
protected-only path still fails, with a diagnosis for the base role.
main,master, pull requests and an explicitroleare unchanged.
Why now: the protected Vault role of the repositories holding protected content stops binding tags
(re-terraform-aws-vault#9994, ticket
IST-5460); the release callers get the fallback only once a release of this
action carries the new pin.
The
renovate/github-actionsbranch has no pull request yet and moves the same pins to 3.7.0; it is stale with this change.Test plan
branch-*ref whose protected role is denied: speed-automations run 44753148473shows the protected role denied twice, then the base role succeeding and returning a token, and a path the repository cannot
read still failing with a diagnosis on the base role.
Test reusable workflow / Release(the reusable workflow with the new pin),
Test action, the download-build IT tests,Test Javadoc ScriptandBuild.