Mondoo Docs

A Tailscale device (sometimes referred to as node or machine)

tailscale.device MQL resource for querying Tailscale infrastructure with cnquery and cnspec.

Tailscale

A Tailscale device (sometimes referred to as node or machine)

Use MQL in cnspec shell or policy:

tailscale.device
Min version: 9.0.0Defaults: id hostname os

Relationships

Mini Map
Tailscale
2 resources · 2 relationshipsClick to select, expand fields to see properties.

Fields (20)

FieldTypeDescription
addressesrequired
[]stringList of Tailscale IP addresses for the device, including both IPv4 and IPv6 addresses
authorizedrequired
intWhether the device is authorized to join the tailnet
blocksIncomingConnectionsrequired
intWhether the device is blocked from accepting connections over Tailscale, including pings
clientVersionrequired
stringVersion of the Tailscale client software (empty for external devices)
createdAtrequired
timeDate when the device was added to the tailnet (empty for external devices)
expiresAtrequired
timeExpiration date of the device's auth key
hostnamerequired
stringPreferred identifier for a device (not supported yet)
idrequired
stringLegacy identifier for a device
isExternalrequired
intWhether a device is shared into the tailnet (rather than a member of the tailnet)
keyExpiryDisabledrequired
intWhether key expiration is disabled for the device
lastSeenAtrequired
timeWhen device was last active on the tailnet
machineKeyrequired
stringMachine key used by Tailscale (empty for external devices)
namerequired
stringMagicDNS name of the device
nodeKeyrequired
stringNode key primarily used by Tailscale and required for select operations, such as adding a node to a locked tailnet
osrequired
stringOperating system that the device is running
tagsrequired
[]stringAn identity for the device that is separate from human users (used as part of an ACL to restrict access)
tailnetLockErrorrequired
stringIssue with the tailnet lock node-key signature on this device (only populated when tailnet lock is enabled)
tailnetLockKeyrequired
stringNode's tailnet lock key
updateAvailablerequired
intWhether a Tailscale client version upgrade is available (empty for external devices)
userrequired
stringUser who registered the node (For untagged nodes, this user is the device owner.)

Field Details

hostnamestring

nodeId string Machine name in the admin console