Module: Falconz

Defined in:
lib/falconz.rb,
lib/falconz/client.rb,
lib/falconz/version.rb,
lib/falconz/apis/key.rb,
lib/falconz/rest/get.rb,
lib/falconz/apis/feed.rb,
lib/falconz/rest/post.rb,
lib/falconz/apis/report.rb,
lib/falconz/apis/search.rb,
lib/falconz/apis/system.rb,
lib/falconz/apis/submission.rb

Overview

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.

Defined Under Namespace

Modules: APIs, REST Classes: Client

Constant Summary collapse

VERSION =
"1.1.1"

Class Method Summary collapse

Class Method Details

.clientObject



11
12
13
# File 'lib/falconz.rb', line 11

def self.client
  Client
end

.response_is_ok?(resp) ⇒ Boolean

Returns:

  • (Boolean)


15
16
17
18
19
20
# File 'lib/falconz.rb', line 15

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