feat(egress): log block reason to stderr on blocked requests
lint / lint (push) Successful in 1m24s
test / unit (pull_request) Successful in 31s
test / integration (pull_request) Successful in 41s

This commit is contained in:
2026-06-06 16:56:26 +00:00
parent ac9b6d593f
commit c89a0d334a
+1
View File
@@ -135,6 +135,7 @@ class EgressAddon:
)
if decision.action == "block":
sys.stderr.write(f"{decision.reason}\n")
flow.response = http.Response.make(
403,
decision.reason.encode("utf-8"),