From 3e5bdb0d7e5977d0c3c04d5d05f6bbb6f9938e1e Mon Sep 17 00:00:00 2001 From: mo khan Date: Tue, 8 Jul 2025 08:47:47 -0600 Subject: docs: add example logs for first demo --- share/man/README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'share') diff --git a/share/man/README.md b/share/man/README.md index e107801a..72c52028 100644 --- a/share/man/README.md +++ b/share/man/README.md @@ -447,10 +447,25 @@ when { ### Scenario 1: Unauthenticated Access ```bash -curl http://localhost:10000/dashboard +curl http://localhost:10000/sparkles # → 302 Redirect to GitLab login ``` +Sparkle Logs + +``` +{"app":"authzd","authzd":{"state":"IDLE","target":"dns:///0.0.0.0:20000"},"host":"localhost:10000","method":"GET","path":"/sparkles","protocol":"HTTP/1.1","scheme":"http","authorized":true} +{"app":"sparkled","host":"","method":"GET","path":"/sparkles"} +{"app":"envoy","authority":"localhost:10000","method":"GET","path":"/sparkles","protocol":"HTTP/1.1","response_code":200} +``` + +Authzd Logs + +``` +{"fields":{"method":"GET","host":"localhost:10000","path":"/sparkles","decision":"Deny","diagnostics":"Diagnostics { reason: {}, errors: [] }"},"target":"authzd::authorization::cedar_authorizer"} +{"method":"POST","path":"/envoy.service.auth.v3.Authorization/Check","protocol":"HTTP/2","response_code":200,"user_agent":"grpc-go/1.73.0"} +``` + ### Scenario 2: Static Asset (No Auth Required) ```bash -- cgit v1.2.3