Repository navigation
Releases
v1.20.4-7
Highlights
Works with Cilium in kube-system out of the box (#54, #56):
--hubble-namespace(defaultkube-system, Cilium's own Helm andcilium installdefault) sets wherehubble-relayis found andcilium-configis read, on every command that reaches relay. Previously this was hard-coded tocilium-system, so on most clustersflows,blameandverdictcouldn't find relay, and HTTP requests were never judged.--hubble-addron every relay command (#56).policies,uiandversionnow take it too, alongsideflows,blameandverdict. Dialing relay's Service directly (e.g.--hubble-addr hubble-relay.kube-system.svc:80) now really lets you drop thepodsget/list +pods/portforwardrules fromkubernetes/rbac.yaml.- Shell completions cover
--hubble-addrplus flags that were missing:--to-fqdn,--http-*, verdict's CI gate flags, and--templates-dir.
Upgrade note: if Cilium is installed in
cilium-system, pass--hubble-namespace cilium-system. The default is nowkube-system. The relay Role inkubernetes/rbac.yamlalso moved tokube-system; re-apply it, or edit the namespace to match your install.
Docs (#47, #49, #50, #52, #53, #55): the README is now a landing page; the docs site has a three-column layout with light/dark theme; there are new Quickstart, CI and FAQ guides and a how-it-works diagram; the Lab is split into the core story and Lab extras; and accuracy fixes came out of a docs audit.
Engine: Cilium v1.20.4 (unchanged).
What's Changed
- feat:
--hubble-namespace, defaulting to Cilium's ownkube-system(#54) - fix:
--hubble-addron every command that reaches hubble-relay (#56) - docs: trim README into a landing page (#47)
- docs: readable three-column layout and light/dark theme (#49)
- docs: landing page shows the product first, then tells the story (#50)
- docs: accuracy fixes found in the docs audit (#52)
- docs: quickstart, CI and FAQ guides; how-it-works diagram; regrouped nav (#53)
- docs: split the Lab into the core story and Lab extras (#55)
Full Changelog: v1.20.4-6...v1.20.4-7
v1.20.4-6
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 andnosniffheaders 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
Listdocument are now judged (expanded the way kubectl does), so they can't slip past--fail-on-droppedunjudged. Skipped documents, such as a KubernetesNetworkPolicy, 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
Documentation Media Assets
Walkthrough video assets referenced by the GuardBee documentation (kept outside git to keep clones and Nix flake fetches lean).
v1.20.4-5
Highlights
L7-aware verdicts — HTTP, DNS, and L7_CHANGED (#26, #29):
- Rules compared (
L7_CHANGED). Traffic that stays allowed at L4 while its L7 proxy rules change is reported asL7_CHANGEDwith before/after rules (--fail-on-l7, exit code5). - Per-request DNS & HTTP judging. For traffic already behind Cilium's DNS proxy or Envoy, GuardBee judges every recorded DNS query (using Cilium's
matchpatternsemantics) and HTTP request (against Envoy's translated rules, labelledmatched by GuardBee, not Envoy), flagging regressions asNEWLY_DROPPEDwith the exact query or request named. Readscilium-configonce to disable HTTP judging when URL-query redaction is enabled (kubernetes/rbac.yamladdsgetoncilium-config). - L7 flow filters. Shared across CLI and UI:
--http-method,--http-path,--http-status,--to-fqdn, plus an L7 requests quick filter. - Policy Editor safety. Policies using L7 HTTP/DNS, SNI/TLS, Envoy listeners, or
toFQDNsare kept verbatim instead of being lossily rewritten by the L4 visual model.
toFQDNs candidate simulation (#31, #32):
- New or modified
toFQDNsselectors (not yet present in any live policy) are matched against Hubble'sdestination_namesusing Cilium's own regex and label derivation; flows without DNS history that a candidate would drop are markedNOT_SIMULATEDrather than guessed. - World/CIDR rows now display their DNS names directly (e.g.
reserved:world (api.github.com)in CLI/markdown/UI,destinationNamesin JSON), and warn when atoFQDNspolicy has norules.dns.
Connectivity tests & UI workflow polish (#24, #25, #27, #30, #33):
- Per-run connectivity tests & Service picker. Each Verdict run card owns its own
Connectivity testspanel bound to that run's frozen candidate/scope (including stopped live--followruns), with cluster Service autocomplete that auto-fills ports (kubernetes/rbac.yamladdslistonservices). - Stricter probe & UI safety. External non-Service hostnames are refused with
422before injection; DNS-rebinding guard (rebindingGuard) now protects every UI endpoint, andlocalhostredirects to the numeric loopback address when--enable-probesis active. - Verdict → Policy Editor & unified console design. Added
Edit in Policy Editordirectly from Verdict candidates and aligned headings, grids, and colors across all four tabs.
Docs & self-paced Lab (#29, #31, #34):
- Added Lab Steps 6 (L7 HTTP & DNS) and 7 (
toFQDNs), validated inlab-validate, and refreshed the landing-page demo walkthrough video using the live Lab scenario.
Engine: Cilium v1.20.4 (unchanged).
What's Changed
- Refuse external hostnames in connectivity tests; redirect localhost (#24)
- UI: one design language across all four tabs (#25)
- verdict: L7-aware verdicts (
L7_CHANGED, DNS and HTTP request verdicts, L7 filters) (#26) - UI: Edit in Policy Editor, Service picker, connectivity tests per run (#27)
- lab: validate per-request L7 verdicts; Lab guide step for L7 policies (#29)
- UI: a stopped live run can run connectivity tests (#30)
- verdict: judge
toFQDNscandidates against Hubble'sdestination_names(#31) - verdict: name a world/CIDR destination's DNS names on its row (#32)
- ui: DNS-rebinding guard on every endpoint; audit cleanups (#33)
- Update demo class video (#34)
Full Changelog: v1.20.4-4...v1.20.4-5
v1.20.4-4
Highlights
Connectivity tests in Verdict (#23): send real TCP or UDP traffic from a workload Pod and see whether the candidate policy would allow it, next to what Hubble actually observed. Opt-in only: guardbee ui --enable-probes.
- Vetted image catalog. Probe images come from a server-side catalog: the built-in, digest-pinned
probes/images.yaml(netshoot for TCP+UDP, busybox for TCP), a replacement via--probe-images-file, or a single--probe-image. The browser picks an entry by id and can never supply an image reference. - Graphical results. A live stepper (authorize → capture → inject → run → collect → simulate) streams progress, and a path diagram shows source → policy gate → destination, with blocked links stopping at a ✕. Notes are short coded titles that expand on click; the evidence (observed flows, candidate simulation) is collapsed by default.
- Fewer false INCONCLUSIVE results. Flows are correlated through Kubernetes Services (ClusterIP → EndpointSlice backends, socket-LB aware), and the FQDN/L7 and node-availability gates are scoped to the namespaces and nodes on the probe's path instead of the whole cluster.
- Restricted by design. The ephemeral container runs as UID 65532 with a read-only root filesystem and all capabilities dropped. Workload labels are never changed, the candidate is never applied, and Pods are never deleted or restarted. See
docs/guide/tcp-probes.mdandkubernetes/probes-rbac.yaml. - Better
--debug. Logs each flow's correlation reason, the probe container's output, and a Hubble flow summary. - One graph style across tabs. The Verdict and Flows graphs use the connectivity test's path look. Only links whose verdict changed, or that touch the selected node, are animated, and reduced-motion users see static dashes.
Verdict CI additions (#22, refs #10): --fail-on-allowed (exit 4), --per-policy judging, several candidate files or - for stdin, non-policy documents skipped with a warning, and --hubble-addr host:port to dial hubble-relay directly with no port-forward.
Also: hubble-relay port-forwarding now prefers a Ready replica, docs screenshots are regenerated in the light theme (mise run docs-screenshots), and the self-paced Lab adds a connectivity-test step that lab-validate checks in CI.
Engine: Cilium v1.20.4 (unchanged).
What's Changed
- verdict: --fail-on-allowed, per-policy judging, multi-file/stdin input, --hubble-addr (#10) by @tchellomello in #22
- Add policy-aware TCP/UDP connectivity tests to Verdict by @tchellomello in #23
Full Changelog: v1.20.4-3...v1.20.4-4
v1.20.4-3
Highlights
guardbee blame: which live policy allowed or denied real traffic (#18). For a pod or namespace, each Hubble policy-verdict event shows its direction and the policy Cilium's own agent attributed it to: allowed by CNP:ns/name, denied by CCNP:name, or default deny: no policy rule allows it. Nothing is simulated, and nothing is guessed when Hubble attached no policy.
$ guardbee blame postgres/postgres-
… INGRESS webapp/webapp-… -> postgres/postgres-0 TCP:5432 allowed by CNP:postgres/postgres-allow-webapp
… INGRESS reserved:world -> postgres/postgres-0 TCP:5432 denied by CCNP:lockdown--format table|json|markdown,-fto follow live.- New hubble-compatible filters on
flows,blameandverdict:--pod(source or destination) and--type(e.g.policy-verdict). - UI Flows tab: Direction and Decided by columns;
✎ CNP/✎ CCNPbadges open the live policy in the Policy Editor; Policy verdicts quick filter, Either side → Pod and Event type fields.
Engine: Cilium v1.20.4 (unchanged).
What's Changed
- Add
guardbee blame: which live policy allowed or denied a flow (#18) by @tchellomello in #20
Full Changelog: v1.20.4-2...v1.20.4-3
v1.20.4-2
What's Changed
- Nix flake: install GuardBee on NixOS / Home Manager / nix profile by @tchellomello in #15
- Release tarballs ship shell completions; README versioning update by @tchellomello in #16
- UI: fix lost typing, save pasted policies, cap graph size, show version by @tchellomello in #17
- Flow filters for flows and verdict (CLI + UI), live Flows tab, Verdict layout by @tchellomello in #19
- End-to-end UI tests in CI, coverage ratchet (+2 UI fixes they found) by @tchellomello in #21
Full Changelog: v1.20.4-1...v1.20.4-2
v1.20.4-1
Built against and validated with Cilium v1.20.4's own pkg/policy engine. This is the first release under the Cilium-tracking version scheme (v<cilium-version>-<n>); earlier releases were v0.0.x.
What's Changed
Engine
- Embedded Cilium engine bumped v1.20.2 → v1.20.4.
compat-scanfound no removed fields and no new deprecations. Its only findings (fromRequires/toRequires) are already rejected by the existing compat gate. Brings in Cilium's own dependency updates (k8s.io 0.36.5, grpc, otel). (#14)
New
guardbee versionalso shows the Cilium version running on your cluster (via hubble-relay), naming the kube context it asked:It flags major/minor skew from the engine, lists every version during a rolling upgrade, and saysguardbee v1.20.4-1 cilium engine 1.20.4 (pinned) cilium cluster 1.20.4 (context: my-cluster)unknownwhen hubble-relay can't be reached. The cluster call is capped at 5s.--clientskips it. (#14)
For maintainers
mise run bump-cilium vX.Y.Z [--lab]performs the mechanical part of a Cilium bump: it runs compat-scan, moves all version pins and runscheck. A new test fails ifgo.mod, the engine constant and the lab's Cilium version ever disagree. (#14)mise run lab-validate, and a new CIlabjob on every PR, run the built binary against a real Cilium in a disposable kind cluster and assert the lab guide's verdicts. (#14)
Full Changelog: v0.0.7...v1.20.4-1
v0.0.7
What's Changed
- verdict: CI mode (exit codes, --min-flows, --format json|markdown, --replace-existing) by @tchellomello in #11
- verdict: show how long a run took, in the CLI and the UI by @tchellomello in #12
- verdict: show which kubeconfig context a run judged, in the CLI and the UI by @tchellomello in #13
Full Changelog: v0.0.6...v0.0.7
v0.0.6
What's Changed
- Verdict: Allow/Deny exceptions, saved-policy workspace, destination filter by @tchellomello in #8
- Fix --last returning N per node, and the stream's candidate rule count by @tchellomello in #9
Full Changelog: v0.0.5...v0.0.6