Skip to content
This repository was archived by the owner on Nov 10, 2026. It is now read-only.

chore(plumber): extend the default policy, keep only the deliberate overrides - #68

Merged
thomasboni merged 2 commits into
mainfrom
chore/plumber-policy-extends-default
Nov 10, 2026
Merged

thomasboni merged 2 commits into
mainfrom
chore/plumber-policy-extends-default

Conversation

@thomasboni

Copy link
Copy Markdown
Contributor

Why

The org attestation (score.getplumber.io/github.com/getplumber) lists this repository as Custom, 11 off. .plumber.yaml was the same 379-line copy of the v0.4.13 CLI template as plumber-platform's (identical sha256), so the 11 controls added to the CLI since read as disabled; none was disabled on purpose.

What changes

.plumber.yaml now extends plumber:default and keeps only what was tailored on purpose:

  • workflowMustIncludeRequiredActions: required: actions/checkout AND azure/setup-helm AND actions/setup-python (kept as is)
  • githubActionMustComeFromAuthorizedSources.trustedGithubActions: [d3adb5/helm-unittest-action, dorny/test-reporter]: a new, explicit trust decision for the two chart-CI actions the re-enabled source control flags (HIGH, ISSUE-713); both are pinned through actions.lock. The entry merges with the default allowlist.

Dropped as stale copies of the v0.4.13 defaults: trustedOwners (gains dependabot) and securityJobPatterns (gains the semgrep, trivy, snyk and secret-detection patterns).

Workflows, so the re-enabled checkout control passes (3 LOW findings, ISSUE-307):

  • persist-credentials: false on the two ci.yml checkouts and the release.yml one.
  • The Add CNAME to gh-pages release step pushes with the checkout's token today; it now gets GH_TOKEN and runs gh auth setup-git first. helm/chart-releaser-action authenticates with its own CR_TOKEN and is unaffected. Worth watching on the next chart release.

Effect

  • Resolved policy: 14 -> 25 controls enabled, 0 disabled.
  • plumber analyze on this branch: 100 / 100 (74 with the new policy before the workflow fixes; the gate is 90). actionlint: only two pre-existing SC2086 notes in an untouched run: block.

Note: the attestation currently shows this repository as rejected (not_default_branch); that is the signed push's identity check, unrelated to the policy, and this PR does not change it.

Same change for getplumber/plumber-platform.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LrKoq78WJL2zhtmpEBErwx

thomasboni and others added 2 commits November 10, 2026 01:15
…verrides

The policy file was the same 379-line copy of the v0.4.13 CLI template as
plumber-platform's: the 11 controls added since read as disabled, and two
lists were stale copies of that era's defaults. The file now extends
plumber:default and keeps only what was tailored on purpose: the required
toolchain actions, plus the two chart-CI actions (d3adb5/helm-unittest-action,
dorny/test-reporter, both pinned through the actions lockfile) authorized
explicitly, which the re-enabled source control requires. The re-enabled
checkout control needs every checkout to stop persisting the token: the
three checkouts now set persist-credentials: false, and the release step that
pushes the CNAME to gh-pages wires gh as git's credential helper. Resolved
policy: 14 -> 25 controls enabled; Plumber Score 74 -> 100 under the new
policy.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LrKoq78WJL2zhtmpEBErwx
Bumps the getplumber/plumber action from v0.7.18 to v0.7.23 (latest,
2026-11-07) and the matching actions.lock entry (ref + resolved commit
ec8cb3a7). Still 100 / 100 under v0.7.23 with the extends-default policy
from this PR.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LrKoq78WJL2zhtmpEBErwx
@thomasboni

Copy link
Copy Markdown
Contributor Author

Added a second commit bumping the pinned Plumber CLI from v0.7.18 to v0.7.23 (latest), action ref + actions.lock (resolved commit ec8cb3a7). Re-scored with the v0.7.23 binary against this PR's extends-default policy: still 100 / 100.

@thomasboni
thomasboni merged commit 19ba055 into main Nov 10, 2026
5 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant