You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/util/syspolicy
Nick Khyl 11d205f6c4 control/controlclient,posture,util/syspolicy: use predefined syspolicy keys instead of string literals
With the upcoming syspolicy changes, it's imperative that all syspolicy keys are defined in the syspolicy package
for proper registration. Otherwise, the corresponding policy settings will not be read.

This updates a couple of places where we still use string literals rather than syspolicy consts.

Updates #12687

Signed-off-by: Nick Khyl <nickk@tailscale.com>
3 months ago
..
internal util/syspolicy/source: add package for reading policy settings from external stores 3 months ago
setting util/syspolicy/source: add package for reading policy settings from external stores 3 months ago
source util/syspolicy/source: add package for reading policy settings from external stores 3 months ago
caching_handler.go util/syspolicy: add ReadStringArray interface (#11857) 7 months ago
caching_handler_test.go util/syspolicy: add caching handler (#10288) 1 year ago
handler.go all: do not depend on the testing package 6 months ago
handler_test.go util: add syspolicy package (#9550) 1 year ago
handler_windows.go util/syspolicy: add ReadStringArray interface (#11857) 7 months ago
policy_keys.go control/controlclient,posture,util/syspolicy: use predefined syspolicy keys instead of string literals 3 months ago
policy_keys_windows.go util/syspolicy: add 'ResetToDefaults' (#11194) 9 months ago
syspolicy.go util/syspolicy/setting: add package that contains types for the next syspolicy PRs 3 months ago
syspolicy_test.go util/syspolicy/setting: add package that contains types for the next syspolicy PRs 3 months ago