6 Commits

Author SHA1 Message Date
Claire Wang
41f2195899
util/syspolicy: add auto exit node related keys ()
Updates 

Signed-off-by: Claire Wang <claire@tailscale.com>
2024-05-06 12:14:10 -04:00
Andrea Gottardo
1d3e77f373
util/syspolicy: add ReadStringArray interface ()
Fixes 

This PR adds the ability for users of the syspolicy handler to read string arrays from the MDM solution configured on the system.

Signed-off-by: Andrea Gottardo <andrea@gottardo.me>
2024-04-23 22:23:48 -07:00
Claire Wang
8af503b0c5
syspolicy: add exit node related policies ()
Adds policy keys ExitNodeID and ExitNodeIP.
Uses the policy keys to determine the exit node in preferences.
Fixes 

Signed-off-by: Claire Wang <claire@tailscale.com>
2023-11-29 16:48:25 -05:00
Claire Wang
b8a2aedccd
util/syspolicy: add caching handler ()
Fixes 
Co-authored-by: Adrian Dewhurst <adrian@tailscale.com>
Signed-off-by: Claire Wang <claire@tailscale.com>
2023-11-17 12:31:51 -05:00
Claire Wang
a56e58c244
util/syspolicy: add read boolean setting () 2023-09-29 21:27:04 -04:00
Claire Wang
32c0156311
util: add syspolicy package ()
Add a more generalized package for getting policies.
Updates 

Signed-off-by: Claire Wang <claire@tailscale.com>
Co-authored-by: Adrian Dewhurst <adrian@tailscale.com>
2023-09-29 13:40:35 -04:00