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.
Installation
Section titled “Installation”gem install crimson-falconOr add to your Gemfile:
gem 'crimson-falcon', '~> 1.2.0'Quick Start
Section titled “Quick Start”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.newresult = api.get_sensor_installers_ccidby_queryputs result