Skip to content

Bash script to install Falcon Sensor, through the Falcon APIs, on a Linux endpoint.

License

Notifications You must be signed in to change notification settings

redhatrises/falcon-scripts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Falcon Linux Bash Installation Script

Bash script to install Falcon Sensor through the Falcon APIs on a Linux endpoint.

Configuration

  1. Get sensor download API credentials from the cloud where your account has been configured:

Configure environment variables with your API credentials. Make sure that scope Sensor Download [read] is enabled.

Export the required environment variables:

export FALCON_CLIENT_ID="XXXXXXX"
export FALCON_CLIENT_SECRET="YYYYYYYYY"

Optional environment variables that can be exported:

FALCON_CID                        (default: auto)
FALCON_CLOUD                      (default: us-1)
FALCON_SENSOR_VERSION_DECREMENT   (default: 0 [latest])
FALCON_PROVISIONING_TOKEN         (default: unset)
FALCON_SENSOR_UPDATE_POLICY_NAME  (default: unset)

The FALCON_SENSOR_UPDATE_POLICY_NAME variable requires to have additional API access. Make sure that scope Sensor update policies [read] is enabled.

  1. Run the script:
curl -L https://raw.githubusercontent.com/crowdstrike/falcon-linux-install-bash/main/falcon-linux-deploy.sh | bash

Alternatively, you can run the script by cloning the repo:

git clone https://github.com/crowdstrike/falcon-linux-install-bash

Then, run the following command:

./falcon-linux-deploy.sh

or

bash falcon-linux-deploy.sh

About

Bash script to install Falcon Sensor, through the Falcon APIs, on a Linux endpoint.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%