34 lines
1.0 KiB
Ruby
34 lines
1.0 KiB
Ruby
cask "santa" do
|
|
version "2023.2"
|
|
sha256 "aa8ec240901d612fd48c64e0c111046b83cd1b00c84a4a62ad30e1eef5921c81"
|
|
|
|
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"
|
|
|
|
caveats "For #{token} to use EndpointSecurity, it must be granted Full Disk Access under " \
|
|
"System Preferences → Security & Privacy → Privacy"
|
|
end
|