Skip to content

fix(chart): always guard the audit syslog bridge with a token - #1099

Merged
ValgulNecron merged 2 commits into
masterfrom
fix/component-security-followups
Nov 24, 2026
Merged

ValgulNecron merged 2 commits into
masterfrom
fix/component-security-followups

Conversation

@ValgulNecron

Copy link
Copy Markdown
Collaborator

Summary

Follow-up to the 2026-11-24 component security review (#1095). With api.audit.webhook.syslogBridge.enabled=true and no authSecretRef, the bridge accepted unauthenticated POSTs from any pod.

Severity Finding Fix
Low Syslog bridge reachable without auth when authSecretRef is unset The chart generates a kept Secret gameplane-audit-syslog-bridge-token (looked up, so stable across upgrades) and wires it to both the API's GAMEPLANE_AUDIT_WEBHOOK_AUTH and the bridge's AUTH_HEADER. An explicit authSecretRef still wins.

Rendered locally with helm 3.16.3: bridge enabled shows the Secret and both env vars; default render has none; custom authSecretRef uses that Secret; explicit webhook.url renders no bridge.

Still to come in this PR

  • audit-syslog-bridge pointer bump after GameplanePanel/audit-syslog-bridge (fail closed without AUTH_HEADER) merges.
  • tunnel pointer bump after GameplanePanel/tunnel (per-peer forwarding cap) merges.
  • Changelog entry.

Generated by Claude Code

When api.audit.webhook.authSecretRef is unset, generate a kept Secret
gameplane-audit-syslog-bridge-token and wire it to both the API's webhook
Authorization header and the bridge's AUTH_HEADER, so the bridge never
accepts unauthenticated POSTs from other workloads.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
@ValgulNecron ValgulNecron added area: chart Helm chart and deployment area: optional-components sentinel, capture-sidecar, mcp-server, tunnel, audit-syslog-bridge, telemetry-receiver type: security Security hardening or vulnerability fix labels Nov 24, 2026 — with Claude
@ValgulNecron ValgulNecron self-assigned this Nov 24, 2026
@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 37 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 85578c1 and d62a17f.

Files selected for processing: 6

  • changelog/unreleased/1099-syslog-bridge-token.md
  • charts/gameplane/templates/_helpers.tpl
  • charts/gameplane/templates/api.yaml
  • charts/gameplane/templates/audit-syslog-bridge.yaml
  • charts/gameplane/values.yaml
  • docs/install.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

CI Report - d62a17f

run 45388342642 - attempt 2

0 failed - 19 passed - 14 skipped - 53m0s elapsed

Test selection: partial - per-suite table

Coverage

no coverage/* commit statuses found on d62a17f

Changed

Area Files +/-
charts/ 4 +48/-13
changelog/ 1 +11/-0
docs/ 1 +3/-0

Slowest jobs

Job Duration
e2e telemetry / amd64 (kind) 22m46s
e2e postgres / amd64 (kind) 20m1s
e2e restricted-workloads / amd64 (kind) 14m58s
e2e operator / amd64 (kind) 14m56s
e2e restricted-workloads / arm64 (kind) 14m30s

e2e buckets run

api-agent, api-auth, api-mods, api-rbac, api-roles, backup-preparation, bot-fast, management-placement, monitoring, multicluster, network-isolation, operator, optional-components, postgres-availability, postgres-ha, postgres-pitr, ratelimit, recovery, restricted-workloads, sftp, standalone, telemetry, upgrade, wake-hostport

@ValgulNecron
ValgulNecron merged commit a838699 into master Nov 24, 2026
141 of 142 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: chart Helm chart and deployment area: optional-components sentinel, capture-sidecar, mcp-server, tunnel, audit-syslog-bridge, telemetry-receiver type: security Security hardening or vulnerability fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants