mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 04:55:31 +00:00
client/tailscale: add Via to UserRuleMatch
This adds the Via field for the https://tailscale.com/kb/1378/via feature to the ACLPreview response. Updates tailscale/corp#22239 Signed-off-by: Maisem Ali <maisem@tailscale.com>
This commit is contained in:
parent
2a88428f24
commit
ce4413a0bc
@ -286,6 +286,9 @@ type UserRuleMatch struct {
|
|||||||
Users []string `json:"users"`
|
Users []string `json:"users"`
|
||||||
Ports []string `json:"ports"`
|
Ports []string `json:"ports"`
|
||||||
LineNumber int `json:"lineNumber"`
|
LineNumber int `json:"lineNumber"`
|
||||||
|
// Via is the list of targets through which Users can access Ports.
|
||||||
|
// See https://tailscale.com/kb/1378/via for more information.
|
||||||
|
Via []string `json:"via,omitempty"`
|
||||||
|
|
||||||
// Postures is a list of posture policies that are
|
// Postures is a list of posture policies that are
|
||||||
// associated with this match. The rules can be looked
|
// associated with this match. The rules can be looked
|
||||||
|
Loading…
Reference in New Issue
Block a user