Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SEB-2166 Updates Falcon Sensor Process #143

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .ebextensions/falcon_crowdstrike.config
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ files:
. /opt/elasticbeanstalk/support/envvars
cd /home/ec2-user
yum -q list installed falcon-sensor &> /dev/null && isInstalled="yes" || isInstalled="no"
if [ $isInstalled == "no" ]; then
wget https://s3.amazonaws.com/nypl-rpms/falcon-sensor-6.33.0-13003.el6.x86_64.rpm
yum -y install /home/ec2-user/falcon-sensor-6.33.0-13003.el6.x86_64.rpm
/opt/CrowdStrike/falconctl -s --cid=2F323D2F1EF049D0BCE9A15DDC55D946-19
if [ $isInstalled == "yes" ]; then
sudo service falcon-sensor stop
sudo yum -y remove falcon-sensor
fi
wget https://s3.amazonaws.com/nypl-rpms/falcon-sensor-latest.amzn1.x86_64.rpm
yum -y install /home/ec2-user/falcon-sensor-latest.amzn1.x86_64.rpm
/opt/CrowdStrike/falconctl -s --cid=2F323D2F1EF049D0BCE9A15DDC55D946-19
sudo service falcon-sensor start
encoding: plain
encoding: plain