Skip to content

v1.20.4-6

Choose a tag to compare

@tchellomello tchellomello released this 25 Nov 14:02
· 10 commits to main since this release
fd0b027

Highlights

Security hardening (#35, #36, #37, #38, #39):

  • UI server. Non-probe JSON POST bodies are size-bounded (MaxBytesReader, #35). Cross-site requests (Sec-Fetch-Site: cross-site/same-site) are refused, frame and nosniff headers are set, and the server has read-header and idle timeouts (#38).
  • Markdown output. Verdict markdown cells render as inert code spans, so flow data can't inject markup (#36).
  • Connectivity tests. Hex/octal host spellings are refused, and Service references require the cluster domain (#39).
  • Supply chain (#37). GitHub Actions are pinned to commit SHAs, CI runs with a least-privilege token, and release tarballs carry signed build-provenance attestations: gh attestation verify <tarball> --repo tchellomello/guardbee.

Verdict gate (#40):

  • Policies wrapped in a List document are now judged (expanded the way kubectl does), so they can't slip past --fail-on-dropped unjudged. Skipped documents, such as a Kubernetes NetworkPolicy, are named under "Not judged" in table, markdown and JSON (skippedDocuments).

Docs: walkthrough videos now live on the docs-media release instead of the repo.

Engine: Cilium v1.20.4 (unchanged).

What's Changed

  • ui: bound non-probe JSON POST bodies (#35)
  • verdict: render markdown cells as inert code spans (#36)
  • ci: pin actions to SHAs, least-privilege token, provenance attestation (#37)
  • ui: refuse cross-site requests, add frame/nosniff headers and server timeouts (#38)
  • probes: refuse hex/octal host spellings; require cluster domain for Service refs (#39)
  • verdict: judge policies inside List documents; report skipped documents (#40)
  • ci: bump mise-action, checkout, kind-action, install-nix-action, upload-artifact, action-gh-release (#41–#46)

Full Changelog: v1.20.4-5...v1.20.4-6