We're adding two log IDs to facilitate data-plane audit logging: a node-specific
log ID, and a domain-specific log ID.
Updated util/deephash/deephash_test.go with revised expectations for tailcfg.Node.
Updates https://github.com/tailscale/corp/issues/6991
Signed-off-by: Aaron Klotz <aaron@tailscale.com>
ComputedNamestring`json:",omitempty"`// MagicDNS base name (for normal non-shared-in nodes), FQDN (without trailing dot, for shared-in nodes), or Hostname (if no MagicDNS)
ComputedNamestring`json:",omitempty"`// MagicDNS base name (for normal non-shared-in nodes), FQDN (without trailing dot, for shared-in nodes), or Hostname (if no MagicDNS)
computedHostIfDifferentstring// hostname, if different than ComputedName, otherwise empty
computedHostIfDifferentstring// hostname, if different than ComputedName, otherwise empty
ComputedNameWithHoststring`json:",omitempty"`// either "ComputedName" or "ComputedName (computedHostIfDifferent)", if computedHostIfDifferent is set
ComputedNameWithHoststring`json:",omitempty"`// either "ComputedName" or "ComputedName (computedHostIfDifferent)", if computedHostIfDifferent is set
// DataPlaneAuditLogID is the per-node logtail ID used for data plane audit logging.
DataPlaneAuditLogIDstring`json:",omitempty"`
}
}
// DisplayName returns the user-facing name for a node which should
// DisplayName returns the user-facing name for a node which should
@ -1373,6 +1376,10 @@ type MapResponse struct {
// indicates no change from the value sent earlier.
// indicates no change from the value sent earlier.
TKAInfo*TKAInfo`json:",omitempty"`
TKAInfo*TKAInfo`json:",omitempty"`
// DomainDataPlaneAuditLogID, if non-empty, is the per-tailnet log ID to be