The purpose of this role is to download, install and configure CrowdStrike Falcon sensor it on our EC2 instances. The sensor must be downloaded from Crowdstrike Cloud using MFA.
In the first step, we will connect to the mentionced cloud environment to obtain a Bearer token
which will be used to download the pkg
. The distribution used is compatible with Ubuntu 16/18 and 20.
After downloading and installing the pkg
- the falcon-sensor
must be configured. According to the official documentation both the Customer ID (CID) and provisioning-token
must be provided.
Supported variables:
falcon_cloud
- CrowdStrike API URL for downloading the Falcon sensor.falcon_install_tmp_dir
- Where should the sensor file be downloaded to on Linux
Supported secrets:
This information can be found on under Falcon UI and won't be changed in the near future:
falcon_client_id
- CrowdStrike OAUTH Client IDfalcon_client_secret
- CrowdStrike OAUTH Client Secretfalcon_customer_id
- CrowdStrike Customer IDfalcon_provisioning_token
- Falcon Installation Token
No dependencies
Include the role in requirements.yml
as follows to test the changes depending on the branch (master of the one to be tested)
- src: https://github.com/StuartApp/ansible-falcon.git
name: stuart.falcon
version: < branch name >
After adding the role to the requirements and installing we can proceed to call it from a playbook:
- name: myplaybook
hosts: servers
roles:
- {role: stuart.falcon, tags: role-falcon}
This role was created while working for Stuart Delivery.