Repository navigation
chore: cut 0.4.0 release - #11
Merged
Merged
Conversation
Bump meson.build, debian/changelog, and pamsignal.spec to 0.4.0 in lockstep with the version-consistency CI gate, rename CHANGELOG "## Unreleased" → "## 0.4.0 — 2026-05-08", and update every operator-facing document to reflect the new custom-webhook authentication surface (Bearer header from #7, mTLS from #8): - docs/configuration.md: full "Custom webhook authentication" reference covering both auth modes with combined-pattern examples and the validation rules enforced at config load. - docs/alerts.md: already updated in #7/#8; no change here. - docs/architecture.md: new "Curl invocation (memfd-backed config)" subsection documenting that URL, optional auth header, and optional TLS paths all flow through one memfd config — argv byte-identical regardless of channel or auth mode. - docs/deployment.md: cert/key file placement guidance with the install commands for the canonical 0640 root:pamsignal layout. - docs/threat-model.md: attack #3 (alert credentials exposure via process metadata) extended to cover auth header + TLS paths; NS8 rewritten — Bearer + mTLS now ship, HMAC-signed payloads remain out of scope; trust-boundary table gains a "Config → curl -K parser" row; operator guidance adds key-file mode guidance and cert-rotation notes. - pamsignal.8.in: SECURITY section gains an mTLS bullet, FILES section documents validation rules for the cert/key/CA paths. No source-code changes — the runtime behavior is identical to post-#8. CMocka suite count and CI gate (ASAN + UBSAN, systemd-analyze ≤ 30, version consistency) unchanged from #8. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Cuts the 0.4.0 release. Bumps version in
meson.build,debian/changelog, andpamsignal.specin lockstep with the version-consistency CI gate, renames CHANGELOG## Unreleased→## 0.4.0 — 2026-05-08, and updates every operator-facing document to reflect the new custom-webhook authentication surface that landed in #7 and #8.Linked issues
Releases #7 (Bearer auth header) and #8 (mTLS client cert). No new feature work — this PR is documentation + version bump only.
What changed in this release
webhook_auth_headerconfig key for the custom webhook channel. Single-header form so any auth scheme works (Bearer, X-API-Key, Splunk HEC, Datadog DD-API-KEY, HMAC). Memfd-backed dispatch keeps the secret out ofargv. Mergedc96508c.webhook_client_cert/webhook_client_key/webhook_ca_bundleconfig keys for client-cert authentication to the receiver. Combines additively with the Bearer header. Cert/key/CA paths route through the same memfd config soargvis byte-identical regardless of which auth modes are configured. Merged19e09ce.Both features are additive and default-empty — existing v0.3.x configs continue to work unchanged.
Doc updates in this PR
docs/configuration.md— new "Custom webhook authentication" section covering both auth modes with combined-pattern examples and the config-load validation rules.docs/architecture.md— new "Curl invocation (memfd-backed config)" subsection under "Alert isolation model" documenting that URL + optional auth header + optional TLS paths all flow through one memfd, withargvbyte-identical regardless of channel or auth mode.docs/deployment.md— cert/key file placement guidance with the install commands for the canonical0640 root:pamsignallayout.docs/threat-model.md— attack # PULL REQUESTS: Build file requets #3 (alert credentials exposure via process metadata) extended; NS8 rewritten: Bearer + mTLS now ship, HMAC-signed payloads remain out of scope (different threat model — third-party webhook delivery vs operator → operator's own SIEM); trust-boundary table gains a "Config → curl-Kparser" row; operator guidance adds key-file mode guidance and cert-rotation notes.pamsignal.8.in— SECURITY section gains an mTLS bullet, FILES section documents the validation rules for the cert/key/CA paths.CHANGELOG.md—## 0.4.0 — 2026-05-08headline added with a release summary; previously-## Unreleasedcontent moved under it; new empty## Unreleasedheading added at the top for future entries.debian/changelogandpamsignal.spec— new0.4.0-1stanzas matching the GitHub release prose.Test plan
meson compile -C buildzero warnings,meson test -C build4/4 OK, version-consistency check acrossmeson.build(0.4.0),debian/changelog(0.4.0-1), andpamsignal.spec(0.4.0).test_config, 27 intest_journal_watch, plustest_utilsandtest_notify) is unchanged from Optional mTLS client auth for custom webhook (cert/key/CA) #8.release-packages.ymlworkflow'sverify-versionsjob will run when the tag is created and confirm all three sources matchv0.4.0.Threat-model alignment
Strengthens attack #3 (alert credentials exposure via process metadata). The doc updates make explicit what was already true after #7+#8 merged: every per-channel sender funnels through one memfd-backed curl
-Kconfig, so the curl child'sargvis byte-identical across all alert dispatches regardless of which auth mode is configured. Trust-boundary table now lists the validators per field.Updates NS8 (HMAC-signed alert payloads → still out of scope; Bearer + mTLS ship). The previous NS8 wording predated #7/#8 and read as "no authenticated alert delivery at all" — outdated. The new wording is precise about what now ships (transport-layer auth, both shared-secret and PKI), what doesn't (payload-level HMAC), and why the line is drawn there (different threat model).
Pre-commit checklist
clang-format/clang-tidy/ build / unit tests are unaffected from Optional mTLS client auth for custom webhook (cert/key/CA) #8's already-green state.meson compile -C buildproduces zero warnings (verified).meson test -C build— all 4 suites pass (verified).CHANGELOG.mdhas the## 0.4.0 — 2026-05-08heading with a release summary and a fresh## Unreleasedheading at the top.debian/changelogandpamsignal.spechave matching0.4.0-1stanzas.chore:, imperative, ≤72 chars).Release procedure (after merge)
v0.4.0on the merge commit.release-packages.ymlruns automatically onrelease: published— produces signed.deb(Ubuntu 24.04) and.rpm(Fedora, EL9) artifacts and attaches them to the release.🤖 Generated with Claude Code