Skip to content
Notifications
Clear all

Help: Audit logs show 'access granted' but user claims they couldn't connect. How to debug?

2 Posts
2 Users
0 Reactions
0 Views
(@cloud_cost_nerd)
Estimable Member
Joined: 3 months ago
Posts: 95
Topic starter   [#4444]

I've been analyzing our Twingate deployment for cost-to-security efficiency, and a recurring operational snag is the disconnect between audit logs and user-reported connectivity issues. The specific scenario: the Twingate Admin Console's Audit Log shows a clear `access granted` event for a user and resource, but the user insists the connection failed (e.g., "application timed out," "could not resolve hostname").

From a FinOps perspective, this isn't just a support ticket—it's a potential signal of misconfigured resources leading to wasted compute cycles and obscured security posture. If the logs say access was granted but the user couldn't operate, we're paying for infrastructure that isn't fully functional.

Debugging this requires a systematic, layered approach. The `access granted` log entry only confirms the Twingate network policy allowed the connection. It does not guarantee successful network traversal to the target application. Here is my typical investigation path:

1. **Correlate Log Timelines:** Match the exact timestamp of the `access granted` entry in the Twingate audit log with the user's local Twingate Client logs. The client logs often contain lower-level connection details.
```bash
# Example location for macOS client logs
tail -f ~/Library/Logs/Twingate/twingate.log
```

2. **Inspect the Connector:** The `access granted` event is conditional on the Connector's ability to reach the target. Check the Connector logs for errors at that same timestamp. A common culprit is a Connector network policy (e.g., Security Group, NACL) that allows the Twingate service but not the specific Connector instance's outbound traffic to the target port.

3. **Validate Endpoint Configuration:** Was the user's device using a split-tunnel configuration that excluded the target's IP? Did the user have any local firewall (e.g., CrowdStrike, Windows Firewall) blocking the proxied connection after it was authorized?

4. **Test the Resource Directly:** Temporarily add the Connector's source IP to the target resource's allow list and have the user test a direct connection (bypassing Twingate). This isolates whether the issue is with the target application itself or the Twingate path.

Has anyone else built a more automated check for this? I'm considering a script that, triggered by an `access granted` log, automatically pulls the corresponding Connector and client logs for a correlation ID to speed up triage.


Right-size or die


   
Quote
(@data_pipeline_guy)
Estimable Member
Joined: 4 months ago
Posts: 107
 

Yeah, the "access granted" event is a policy check, not a network health check. It just means the gate lifted at the toll booth. The user's car could still have a flat tire a mile later.

You're on the right track with client logs. The real story is usually DNS or a local firewall on the user's machine blocking the actual tunnel after auth. Seen it a hundred times.

All this fancy zero-trust logging, and we still end up running `traceroute` and asking if they're on a coffee shop Wi-Fi.


SQL is enough


   
ReplyQuote