-
Notifications
You must be signed in to change notification settings - Fork 297
Allow access to SCOPE rules in Sync servers #279
Comments
There aren't really SCOPE rules, just a number of hardcoded checks (see fileIsScopeWhitelisted: and fileIsScopeBlacklisted:. The two regexes can be configured using a sync server. What specifically were you hoping to block/allow? |
I got the idea about SCOPE rules from a snippet in the Upvote docs: https://github.com/google/upvote/blob/master/docs/santa_sync.md
Basically I'm looking for an easier way for our analysts to manage path-based whitelist, as they don't have access to our configuration management server which manages the plist used by Santa, but they do have access to our Santa sync server. |
Gotcha. So, yes, if the sync server fully implements the preflight request the path-based whitelists can be delivered there; Upvote implements this as a per-host setting. |
I didn't realize the preflight request had support for delivering path-based whitelists. How does this interact with the paths defined in the plist? |
Config pulled from a sync server has higher precedence than local configuration. |
Hey @zbuc! Upvote dev here. Given the dubious security proposition of path-based whitelisting, we haven't put much effort into surfacing that feature. Notably, the Upvote documentation is definitely wrong in its description of Santa's sync process. Santa has the notion of a wrt Upvote-based configuration of these fields, I've filed an issue against Upvote to track the change. Thanks for reaching out! |
Marking this as closed. Since it's been two years and we support the requested feature via the sync protocol. |
I notice that only binary and certificate rules can be synced from servers:
santa/Source/santactl/Commands/sync/SNTCommandSyncRuleDownload.m
Line 146 in b70442e
Would it be possible to allow SCOPE rules to be served by Sync servers? Managing them in the properties for the app is additional complexity and difficult because not all rules can be managed in a single location.
The text was updated successfully, but these errors were encountered: