Skip to content

Model Tailscale Grants relationships (who can access what) #1762

@jychp

Description

@jychp

Summary

The Tailscale module currently fetches data from the API, but does not parse or model Grants. This prevents Cartography from answering access questions such as "who can access what" for Tailscale-managed resources.

This feature aims to parse and model Tailscale Grants to surface effective access relationships, similar to what is already implemented for AWS IAM.

Motivation

Understanding identity-to-resource access relationships is a key capability for security teams using Cartography. By modeling Tailscale Grants, users will be able to:

  • Query effective access paths across overlay networks.
  • Detect overly permissive or misconfigured Grants.
  • Build least-privilege analysis, compliance checks, or dynamic policy audits.

Proposed Solution

Note: Tailscale ACLs are now deprecated in favor of Tailscale Grants.

  • Parse Tailscale Grants and resolve them into effective identity-to-resource relationships.
  • Model relationships using MatchLinks to connect TailscaleUser nodes to the corresponding TailscaleNode or TailscaleService.
  • Use directionality and tenant scoping consistent with AWS.
  • Follow Cartography’s standard sync pattern (get → transform → load → cleanup), and document the schema.

Additional Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    analysisRegarding ways to better understand and present data in the graphmodule:TailscaleRelated to Tailscale module

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions