Skip to content

Ruby

Crimson Falcon is the CrowdStrike Falcon SDK for Ruby. It provides a clean, idiomatic Ruby interface to the full Falcon API, with automatic OAuth2 token management and support for all API service collections. Install it as a gem and configure it with a familiar block syntax.

View on GitHub
Terminal window
gem install crimson-falcon

Or add to your Gemfile:

gem 'crimson-falcon', '~> 1.2.0'
require 'crimson-falcon'
Falcon.configure do |config|
config.client_id = ENV["FALCON_CLIENT_ID"]
config.client_secret = ENV["FALCON_CLIENT_SECRET"]
config.cloud = ENV["FALCON_CLOUD"]
end
api = Falcon::SensorDownload.new
result = api.get_sensor_installers_ccidby_query
puts result