cask "burp-suite-professional@early-adopter" do arch arm: "MacOsArm64", intel: "MacOsx" version "2026.3.1" sha256 arm: "24ff82512a59200fec046fe22b67bceae69be70572b1ec982c53e77f377ad572", intel: "f9dcbf00f66cb84ea084184f9e3455713690cbcb89296acb55166f091d22a5d3" 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?("Early Adopter") && item["categories"]&.include?("Professional") && item["builds"]&.any? do |build| build["BuildCategoryId"] == "pro" && build["BuildCategoryPlatform"] == arch.to_s end end end end conflicts_with cask: "burp-suite-professional" depends_on :macos app "Burp Suite Professional.app" zap trash: "~/.BurpSuite" end