SSH proxy + governance: ShellClass, ceremony, breach, delegation (Rust)
Find a file
Tyler J King 47a5484614 feat(bascule-agent): replace soft-mode attestation with ConfigMap posture reader
Replace hardcoded posture return in AttestationHandler (Shellstream
namespace 0x0005) with PostureReader that reads the posture-current
ConfigMap written by the substrate-operator's posture evaluator.

Data pipeline is now end-to-end:
  Keylime verifier -> posture evaluator -> ConfigMap -> bascule-agent

Behavior:
- posture_source='config': reads posture-current ConfigMap, maps
  level to PostureLevel, caches with configurable TTL (default 30s)
- posture_source='static' or dev_mode: returns configured static
  level and wire value (replaces hardcoded string for clarity)
- Graceful fallback: missing ConfigMap -> PostureLevel::Lockdown
  (fail-closed) + warning log

New dependencies: kube, k8s-openapi, governance-types (via path).
Does NOT add keylime-client — reads ConfigMap JSON directly.

Signed-off-by: Tyler King <tking@guildhouse.dev>
Signed-off-by: Tyler J King <tking727@gmail.com>
2026-04-15 10:17:00 -04:00
bascule-agent feat(bascule-agent): replace soft-mode attestation with ConfigMap posture reader 2026-04-15 10:17:00 -04:00
bascule-core initial: bascule v0.1.0 2026-03-18 16:40:48 -04:00
bascule-filter-core initial: bascule v0.1.0 2026-03-18 16:40:48 -04:00
bascule-gateway initial: bascule v0.1.0 2026-03-18 16:40:48 -04:00
bascule-node-agent initial: bascule v0.1.0 2026-03-18 16:40:48 -04:00
bascule-proto initial: bascule v0.1.0 2026-03-18 16:40:48 -04:00
bascule-shell initial: bascule v0.1.0 2026-03-18 16:40:48 -04:00
bascule-tail initial: bascule v0.1.0 2026-03-18 16:40:48 -04:00
ceremony-engine refactor(ceremony-engine): use GovernanceEnvelope for merkle leaves 2026-04-12 12:13:53 -04:00
proto/bascule/v1 initial: bascule v0.1.0 2026-03-18 16:40:48 -04:00
.gitignore initial: bascule v0.1.0 2026-03-18 16:40:48 -04:00
Cargo.lock feat(bascule-agent): replace soft-mode attestation with ConfigMap posture reader 2026-04-15 10:17:00 -04:00
Cargo.toml initial: bascule v0.1.0 2026-03-18 16:40:48 -04:00