Files
homebrew-cask/Casks/s/santa.rb
2023-11-14 10:10:45 -07:00

36 lines
1.0 KiB
Ruby

cask "santa" do
version "2023.9"
sha256 "c70603e7ddab1144a0d75ceaf7aca00ddcd2badf6562e0c0fadd6e3a772be9fb"
url "https://github.com/google/santa/releases/download/#{version}/santa-#{version}.dmg"
name "Santa"
desc "Binary authorization system"
homepage "https://github.com/google/santa"
livecheck do
url :url
strategy :github_latest
end
pkg "santa-#{version}.pkg"
uninstall delete: [
"/Applications/Santa.app",
"/usr/local/bin/santactl",
],
kext: "com.google.santa-driver",
launchctl: [
"com.google.santa",
"com.google.santa.bundleservice",
"com.google.santa.metricservice",
"com.google.santa.syncservice",
"com.google.santad",
],
pkgutil: "com.google.santa"
# No zap stanza required
caveats "For #{token} to use EndpointSecurity, it must be granted Full Disk Access under " \
"System Preferences → Security & Privacy → Privacy"
end