cask "burp-suite-professional" do arch arm: "MacOsArm64", intel: "MacOsx" version "2024.9.5" sha256 arm: "36380fad1e5a8a6657942aed7fa5aa13b60e7e65a21cc42226484d6b06c66e72", intel: "acb3cc3052a39dedf16cbd5af1a591ad284af71ce6874d5424e831da6e4dbb25" url "https://portswigger-cdn.net/burp/releases/download?product=pro&version=#{version}&type=#{arch}", verified: "portswigger-cdn.net/burp/releases/" name "Burp Suite Professional" desc "Web security testing toolkit" homepage "https://portswigger.net/burp/pro" livecheck do url "https://portswigger.net/burp/releases/data" strategy :json do |json| all_versions = json.dig("ResultSet", "Results") next if all_versions.blank? all_versions.filter_map do |item| item["version"] if item["releaseChannels"]&.include?("Stable") && item["categories"]&.include?("Professional") && item["builds"]&.any? do |build| build["ProductPlatform"] == arch.to_s end end end end app "Burp Suite Professional.app" zap trash: "~/.BurpSuite" end