Sha256: dd4925d0d6f4a9081c407689a7152b92e20184e4c866b540f5814d148bace1e2
Contents?: true
Size: 561 Bytes
Versions: 4
Compression:
Stored size: 561 Bytes
Contents
require "httparty" require "falconz/client" require "falconz/version" # Falcon Sandbox has a powerful and simple API # that can be used to submit files/URLs for analysis, # pull report data, but also perform advanced search # queries. The API is open and free to the entire # IT-security community. module Falconz def self.client Client end def self.response_is_ok?(resp) return false unless resp.respond_to?(:has_key?) return false unless resp.has_key? "status" return true if resp["status"].match?("ok") return false end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
falconz-1.1.1 | lib/falconz.rb |
falconz-1.1.0 | lib/falconz.rb |
falconz-1.0.2 | lib/falconz.rb |
falconz-1.0.1 | lib/falconz.rb |