feature/posture: log method and full URL for posture identity requests
Updates tailscale/corp#34676 Signed-off-by: Anton Tolchanov <anton@tailscale.com>
This commit is contained in:
committed by
Anton Tolchanov
parent
f36eb81e61
commit
34dff57137
@@ -52,7 +52,7 @@ func handleC2NPostureIdentityGet(b *ipnlocal.LocalBackend, w http.ResponseWriter
|
|||||||
http.Error(w, "posture extension not available", http.StatusInternalServerError)
|
http.Error(w, "posture extension not available", http.StatusInternalServerError)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
e.logf("c2n: GET /posture/identity received")
|
e.logf("c2n: %s %s received", r.Method, r.URL.String())
|
||||||
|
|
||||||
res := tailcfg.C2NPostureIdentityResponse{}
|
res := tailcfg.C2NPostureIdentityResponse{}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user