This guide provides a way to deploy the Falcon Integration Gateway from a container.
:memo: This guide has been tested with Docker and Podman
:warning: The aws account needs to have the IAM Managed Policy permissions assigned to it
export FALCON_CLIENT_ID=<your api falcon client id>
export FALCON_CLIENT_SECRET=<your api falcon client secret>
export FALCON_CLOUD_REGION=<your api falcon client region>
export CLOUDTRAIL_LAKE_CHANNEL_ARN=<your cloudtrail lake channel arn>
export CLOUDTRAIL_LAKE_REGION=<your aws region aligning with channel>
export FALCON_APPLICATION_ID=<your unique application stream identifier>
export FIG_BACKENDS="CLOUDTRAIL_LAKE"
Using Docker in these examples, you can deploy the FIG as such:
Refer to the config.ini for more configuration options along with their respective ENV variable
In the example below, we are passing in our ~/.aws directory as our AWS credentials
docker run -d --rm -e FALCON_CLIENT_ID="$FALCON_CLIENT_ID" \ -e FALCON_CLIENT_SECRET="$FALCON_CLIENT_SECRET" \ -e FALCON_CLOUD_REGION="$FALCON_CLOUD_REGION" \ -e FALCON_APPLICATION_ID="$FALCON_APPLICATION_ID" \ -e FIG_BACKENDS="$FIG_BACKENDS" \ -e CLOUDTRAIL_LAKE_CHANNEL_ARN="$CLOUDTRAIL_LAKE_CHANNEL_ARN" \ -e CLOUDTRAIL_LAKE_REGION="$CLOUDTRAIL_LAKE_REGION" \ -v ~/.aws:/fig/.aws quay.io/crowdstrike/falcon-integration-gateway:latest
Export the following variables:
export AWS_ACCESS_KEY_ID=<The access key for your AWS account>
export AWS_SECRET_ACCESS_KEY=<The secret key for your AWS account>
Then pass in those variables to Docker:
docker run -d --rm
-e FALCON_CLIENT_ID="$FALCON_CLIENT_ID" \
-e FALCON_CLIENT_SECRET="$FALCON_CLIENT_SECRET" \
-e FALCON_CLOUD_REGION="$FALCON_CLOUD_REGION" \
-e FALCON_APPLICATION_ID="$FALCON_APPLICATION_ID" \
-e FIG_BACKENDS="$FIG_BACKENDS" \
-e CLOUDTRAIL_LAKE_CHANNEL_ARN="$CLOUDTRAIL_LAKE_CHANNEL_ARN" \
-e CLOUDTRAIL_LAKE_REGION="$CLOUDTRAIL_LAKE_REGION" \
-e AWS_ACCESS_KEY_ID="$AWS_ACCESS_KEY_ID" \
-e AWS_SECRET_ACCESS_KEY="$AWS_SECRET_ACCESS_KEY" \
quay.io/crowdstrike/falcon-integration-gateway:latest
To verify deployment, check the log of the container:
docker logs <container>
Example output:
2022-09-16 21:14:40 fig MainThread INFO AWS CloudTrail Lake Backend is enabled.
2022-09-16 21:14:42 fig cs_stream INFO Opening Streaming Connection
To upgrade the container, stop any existing running FIG containers and run the following:
docker pull quay.io/crowdstrike/falcon-integration-gateway