Add inspect: false TLS passthrough for egress routes #463

Merged
didericis merged 4 commits from dlp-false-passthrough into main 2026-07-23 17:35:45 -04:00
Showing only changes of commit a8043be394 - Show all commits
+3 -1
View File
@@ -37,7 +37,9 @@ def _inspect_shape(d: dict[str, object]) -> dict[str, object]:
controls = ("matches", "auth_scheme", "token_env", "git", "preserve_auth")
moved = {key: out.pop(key) for key in controls if key in out}
if moved:
inspected = dict(out.get("inspect", {})) # type: ignore[arg-type]
inspected: dict[str, object] = dict(
out.get("inspect", {}) # type: ignore[arg-type]
)
inspected.update(moved)
out["inspect"] = inspected
return out