|
|
@ -71,6 +71,17 @@ type Device struct {
|
|
|
|
AdvertisedRoutes []string `json:"advertisedRoutes"` // Empty for external devices.
|
|
|
|
AdvertisedRoutes []string `json:"advertisedRoutes"` // Empty for external devices.
|
|
|
|
|
|
|
|
|
|
|
|
ClientConnectivity *ClientConnectivity `json:"clientConnectivity"`
|
|
|
|
ClientConnectivity *ClientConnectivity `json:"clientConnectivity"`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// PostureIdentity contains extra identifiers collected from the device when
|
|
|
|
|
|
|
|
// the tailnet has the device posture identification features enabled. If
|
|
|
|
|
|
|
|
// Tailscale have attempted to collect this from the device but it has not
|
|
|
|
|
|
|
|
// opted in, PostureIdentity will have Disabled=true.
|
|
|
|
|
|
|
|
PostureIdentity *DevicePostureIdentity `json:"postureIdentity"`
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type DevicePostureIdentity struct {
|
|
|
|
|
|
|
|
Disabled bool `json:"disabled,omitempty"`
|
|
|
|
|
|
|
|
SerialNumbers []string `json:"serialNumbers,omitempty"`
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// DeviceFieldsOpts determines which fields should be returned in the response.
|
|
|
|
// DeviceFieldsOpts determines which fields should be returned in the response.
|
|
|
|