From b997304bf6eec22d174f66561ec7fe0400c5ec63 Mon Sep 17 00:00:00 2001 From: Aaron Klotz Date: Mon, 15 Aug 2022 16:05:28 -0600 Subject: [PATCH] tailcfg: add CapabilityDataPlaneAuditLogs. We're going to want to enable audit logging on a per-Tailnet basis. When this happens, we want control to inform the Tailnet's clients of this capability. Signed-off-by: Aaron Klotz --- tailcfg/tailcfg.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tailcfg/tailcfg.go b/tailcfg/tailcfg.go index c4fbdedd6..6f4019ad0 100644 --- a/tailcfg/tailcfg.go +++ b/tailcfg/tailcfg.go @@ -1526,10 +1526,11 @@ type Oauth2Token struct { // These are the capabilities that the self node has as listed in // MapResponse.Node.Capabilities. - CapabilityFileSharing = "https://tailscale.com/cap/file-sharing" - CapabilityAdmin = "https://tailscale.com/cap/is-admin" - CapabilitySSH = "https://tailscale.com/cap/ssh" // feature enabled/available - CapabilitySSHRuleIn = "https://tailscale.com/cap/ssh-rule-in" // some SSH rule reach this node + CapabilityFileSharing = "https://tailscale.com/cap/file-sharing" + CapabilityAdmin = "https://tailscale.com/cap/is-admin" + CapabilitySSH = "https://tailscale.com/cap/ssh" // feature enabled/available + CapabilitySSHRuleIn = "https://tailscale.com/cap/ssh-rule-in" // some SSH rule reach this node + CapabilityDataPlaneAuditLogs = "https://tailscale.com/cap/data-plane-audit-logs" // feature enabled // These are the capabilities that the peer nodes have as listed in // MapResponse.Peers[].Capabilities.