Announcing the CloudQuery Tailscale Source Plugin
Introduction
The Tailscale source integration for CloudQuery is now officially maintained by Tailscale — big thanks to the Tailscale team!
With the new Tailscale integration you can now easily query Tailscale config and bring config data to your infrastructure/operational lake.
This way you can have all your infrastructure data in one place and correlate between different services.
As part of its initial release, the Tailscale integration supports pulling data for the following APIs:
tailscale_aclstabletailscale_devicestabletailscale_device_routestabletailscale_dns_nameserverstabletailscale_dns_searchpathstabletailscale_keystable
Let's look at a few useful queries.
Configuration
First, let's quickly look at the source configuration for the integration. The example below syncs the tailscale_devices table to PostgreSQL, making use of the new OAuth client to authenticate.
Example Queries
Let's look at a few useful queries we can do just with the Tailscale tables.
Unseen devices
Find all devices that weren't seen for more than 30 days:
Key expiry disabled
Find all devices with key expiry disabled
Distribution of devices
Learn about how Tailscale client are distributed in your org across devices
Find all devices of disabled Okta users
Other cool things once you have Tailscale configuration in your database/datalake is that you can join and query it with data from other CloudQuery source integrations.
For example, the following will show all devices of users that were deactivated on Okta:
Summary
Using data from the new Tailscale source integration you can slice and dice your Tailscale data in many ways, but the examples in this post should give you a good starting point.
Want to see CloudQuery in action? Schedule a demo with our team or check out the platform documentation to learn more.
Want help getting started? Join the CloudQuery community to connect with other users and experts, or message our team directly here if you have any questions.
Try CloudQuery yourself
Self-hosted, open source, and free to start. Or schedule a demo to see the managed version.


