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/setting
Nick Khyl aeb15dea30 util/syspolicy/source: add package for reading policy settings from external stores
We add package defining interfaces for policy stores, enabling creation of policy sources
and reading settings from them. It includes a Windows-specific PlatformPolicyStore for GP and MDM
policies stored in the Registry, and an in-memory TestStore for testing purposes.

We also include an internal package that tracks and reports policy usage metrics when a policy setting
is read from a store. Initially, it will be used only on Windows and Android, as macOS, iOS, and tvOS
report their own metrics. However, we plan to use it across all platforms eventually.

Updates #12687

Signed-off-by: Nick Khyl <nickk@tailscale.com>
2 months ago
..
errors.go util/syspolicy/source: add package for reading policy settings from external stores 2 months ago
key.go util/syspolicy/setting: add package that contains types for the next syspolicy PRs 2 months ago
origin.go util/syspolicy/setting: add package that contains types for the next syspolicy PRs 2 months ago
policy_scope.go util/syspolicy/setting: add package that contains types for the next syspolicy PRs 2 months ago
policy_scope_test.go util/syspolicy/setting: add package that contains types for the next syspolicy PRs 2 months ago
raw_item.go util/syspolicy/setting: add package that contains types for the next syspolicy PRs 2 months ago
setting.go util/syspolicy/setting: add package that contains types for the next syspolicy PRs 2 months ago
setting_test.go util/syspolicy/setting: add package that contains types for the next syspolicy PRs 2 months ago
snapshot.go util/syspolicy/setting: add package that contains types for the next syspolicy PRs 2 months ago
snapshot_test.go util/syspolicy/setting: add package that contains types for the next syspolicy PRs 2 months ago
summary.go util/syspolicy/setting: add package that contains types for the next syspolicy PRs 2 months ago
types.go util/syspolicy/setting: add package that contains types for the next syspolicy PRs 2 months ago