homebrew-cask/Casks/s/santa.rb

36 lines
1.0 KiB
Ruby

cask "santa" do
version "2023.7"
sha256 "a3b195d2b9e4fac03bf106d865e6bd54226c452e718c55ed1e8132230e1cdb59"
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