Skip to content

v0.1.2

Latest

Choose a tag to compare

@github-actions github-actions released this 08 Oct 21:59
· 5 commits to main since this release
v0.1.2
1874402

Token and HMAC secrets now have a minimum length, and hookgate gains a Docker Compose install.

Important

Token and HMAC secrets must be at least 16 bytes. A shorter secret, optional or not, takes its source offline exactly like a missing one: the source answers 503 and forwards nothing, hookgate_source_ready is 0, and hookgate validate exits 1 with an error naming the reference (env:NAME or file:PATH), never the value. Run hookgate validate against your configuration before upgrading, and replace short secrets with random ones such as openssl rand -hex 32. set_headers values are not affected.

  • Docker Compose install: examples/compose runs the pinned image with a health check, a restart policy, a read-only filesystem, and the webhook and admin ports on loopback behind your reverse proxy.
  • OpenTelemetry Collector example: its ClickHouse variant now uses ClickHouse 26.9.11.2.
  • Quick start: uses a secret that meets the new minimum.

Container image: ghcr.io/mrrobertkent/hookgate:0.1.2

Digest: sha256:42a83e40387977d24a1f8e1ca8908cc9fec1a7fcf04fad2ace9ddf30185c976e

What's Changed

  • examples: OpenTelemetry Collector with durable per-source queues by @mrrobertkent in #3
  • README: light and dark header banner by @mrrobertkent in #4
  • build(deps): bump clickhouse/clickhouse-server from 26.8.20.9 to 26.9.10.4 in /examples/otel-collector by @dependabot[bot] in #5
  • Social preview: render for upload, stop committing the PNG by @mrrobertkent in #6
  • README: drop the typed tagline under the banner by @mrrobertkent in #7
  • examples: Docker Compose install by @mrrobertkent in #8
  • ci: golangci-lint by @mrrobertkent in #12
  • Scorecard workflow: least-privilege permissions by @mrrobertkent in #10
  • Reject token and HMAC secrets shorter than 16 bytes by @mrrobertkent in #11
  • SonarQube Cloud: CI-based analysis with Go coverage by @mrrobertkent in #13
  • CodeRabbit: repository review configuration by @mrrobertkent in #9
  • Socket: repository configuration by @mrrobertkent in #15
  • build(deps): bump clickhouse/clickhouse-server from 26.9.10.4 to 26.9.11.2 in /examples/otel-collector by @dependabot[bot] in #14

Full Changelog: v0.1.1...v0.1.2