Skip to content

Tailscale

Check Passes when Evidence task
Devices enforce key expiry The device does not have key expiry disabled Role-based Access Controls

Each device gets its own result. A device with key expiry disabled fails with severity medium.

  • A Tailscale admin who can generate API access tokens.
  • Your tailnet name, or - to use the default tailnet of the token.

An API access token. Varman sends it as Authorization: Bearer <token> and calls one read endpoint, GET https://api.tailscale.com/api/v2/tailnet/<tailnet>/devices.

  1. In the Tailscale admin console, go to Settings > Keys and generate an API access token. See Tailscale’s API documentation.

  2. In Varman, open Integrations, find Tailscale and click Set up.

  3. Paste the token into API Access Token, enter Tailnet (or -), and click Connect account.

Only check results. Checks run on the daily schedule described in the overview, or when you click Run now.

Open Integrations > Tailscale, click Settings, then Disconnect. Then revoke the token under Settings > Keys. See Disconnecting.

  • Log says No Tailscale devices to evaluate. The tailnet has no devices, or the tailnet name is wrong.
  • Finding <device> has key expiry disabled. Open the device in the admin console and re-enable key expiry. See Key expiry.
  • HTTP 401: Unauthorized. The token expired or was revoked.