26 lines
661 B
Ruby
26 lines
661 B
Ruby
cask "osquery" do
|
|
version "5.12.1"
|
|
sha256 "77ad2953c8edbef4616cc30467848afbcf92ad128dbc2a242230f0c94272392e"
|
|
|
|
url "https://github.com/osquery/osquery/releases/download/#{version}/osquery-#{version}.pkg",
|
|
verified: "github.com/osquery/osquery/"
|
|
name "osquery"
|
|
desc "SQL powered operating system instrumentation and analytics"
|
|
homepage "https://osquery.io/"
|
|
|
|
livecheck do
|
|
url :url
|
|
strategy :github_latest
|
|
end
|
|
|
|
pkg "osquery-#{version}.pkg"
|
|
|
|
uninstall launchctl: "com.facebook.osqueryd",
|
|
pkgutil: [
|
|
"com.facebook.osquery",
|
|
"io.osquery.agent",
|
|
]
|
|
|
|
# No zap stanza required
|
|
end
|