Skip to content

Commit 3a21721

Browse files
authored
Merge pull request #297 from redhatrises/fig_update
chore: update FIG chart to the latest released version 3.2.0
2 parents cc4b440 + 534a9a7 commit 3a21721

File tree

7 files changed

+499
-124
lines changed

7 files changed

+499
-124
lines changed

helm-charts/falcon-integration-gateway/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.3.0
18+
version: 0.4.0
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: 3.1.10
24+
appVersion: 3.2.0
2525

2626
keywords:
2727
- CrowdStrike

helm-charts/falcon-integration-gateway/templates/_helpers.tpl

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
{{- define "falcon-integration-gateway.backends" -}}
22
{{- $aws := ternary "AWS" "" .Values.push.aws_security_hub.enabled }}
3+
{{- $aws_sqs := ternary "AWS_SQS" "" .Values.push.aws_sqs.enabled }}
34
{{- $azure := ternary "AZURE" "" .Values.push.azure_log_analytics.enabled }}
45
{{- $chronicle := ternary "CHRONICLE" "" .Values.push.chronicle.enabled }}
56
{{- $cloudtrail_lake := ternary "CLOUDTRAIL_LAKE" "" .Values.push.cloudtrail_lake.enabled }}
67
{{- $gcp := ternary "GCP" "" .Values.push.gcp_security_command_center.enabled }}
78
{{- $workspaceone := ternary "WORKSPACEONE" "" .Values.push.vmware_workspace_one.enabled }}
8-
{{- $backends := list $aws $azure $chronicle $cloudtrail_lake $gcp $workspaceone | compact }}
9+
{{- $generic := ternary "GENERIC" "" .Values.push.generic.enabled }}
10+
{{- $backends := list $aws $aws_sqs $azure $chronicle $cloudtrail_lake $gcp $workspaceone $generic | compact }}
911
{{- $_ := first $backends | required "at least one push backend must be enabled" }}
1012
{{- join "," $backends }}
1113
{{- end }}

helm-charts/falcon-integration-gateway/templates/configmap.yaml

+183-6
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ data:
1010
# Falcon Integration Gateway
1111
1212
[main]
13+
# Uncomment to enable backends. Alternatively, use FIG_BACKENDS env variable.
1314
# Cloud backends that are enabled. The gateway will push events to the cloud providers specified below
15+
#backends = AWS,AWS_SQS,AZURE,GCP,WORKSPACEONE,CHRONICLE,CLOUDTRAIL_LAKE,GENERIC
1416
backends={{- include "falcon-integration-gateway.backends" . }}
1517
1618
# Uncomment to configure number of threads that process Falcon Events
@@ -20,38 +22,213 @@ data:
2022
{{- end }}
2123
2224
[events]
23-
# Uncomment to filter out events based on severity (allowed values 1-5, default 2)
25+
# Uncomment to filter out events based on severity (allowed values 1-5, default 2).
2426
#severity_threshold = 3
2527
{{- if .Values.falcon.integration_gateway.severity_threshold }}
2628
severity_threshold = {{ .Values.falcon.integration_gateway.severity_threshold }}
2729
{{- end }}
28-
# Uncomment to filter out events based on number of days past the event (default 365)
29-
#older_than_days_threshold = 90
30+
31+
# Uncomment to filter out events based on number of days past the event (default 21).
32+
#older_than_days_threshold = 14
3033
{{- if .Values.falcon.integration_gateway.older_than_days_threshold }}
3134
older_than_days_threshold = {{ .Values.falcon.integration_gateway.older_than_days_threshold }}
3235
{{- end }}
36+
3337
# Exclude events originating from certain cloud environments (AWS, Azure, GCP, or unrecognized)
3438
# detections_exclude_clouds =
3539
{{- if .Values.falcon.integration_gateway.detections_exclude_clouds }}
3640
detections_exclude_clouds = {{ .Values.falcon.integration_gateway.detections_exclude_clouds }}
3741
{{- end }}
3842
43+
# Pass in the offset to start the stream from. This is useful to prevent duplicate events.
44+
#offset = 0
45+
{{- if .Values.falcon.integration_gateway.offset }}
46+
offset = {{ .Values.falcon.integration_gateway.offset }}
47+
{{- end }}
48+
3949
[logging]
40-
# Uncomment to request logging level (ERROR, WARN, INFO, DEBUG)
41-
# level = DEBUG
50+
# Uncomment to request logging level (ERROR, WARN, INFO, DEBUG).
51+
#level = DEBUG
4252
{{- if .Values.falcon.integration_gateway.level }}
4353
level = {{ .Values.falcon.integration_gateway.level }}
4454
{{- end }}
4555
4656
[falcon]
47-
# Uncomment to provide Falcon Cloud alternatively use FALCON_CLOUD_REGION to override
57+
# Uncomment to provide Falcon Cloud. Alternatively, use FALCON_CLOUD_REGION env variable to override.
4858
#cloud_region = us-1
4959
{{- if .Values.falcon.cloud_region }}
5060
cloud_region = {{ .Values.falcon.cloud_region }}
5161
{{- end }}
5262
63+
# Uncomment to provide OAuth Client ID.
64+
# Alternatively, use FALCON_CLIENT_ID env variable or a credentials store (see [credentials_store] section).
65+
#client_id = ABCD
66+
67+
# Uncomment to provide OAuth Secret.
68+
# Alternatively, use FALCON_CLIENT_SECRET env variable or a credentials store (see [credentials_store] section).
69+
#client_secret = ABCD
70+
5371
# Uncomment to provide application id. Needs to be different per each fig instance.
5472
#application_id = my-acme-gcp-1
5573
{{- if .Values.falcon.integration_gateway.application_id }}
5674
application_id = {{ .Values.falcon.integration_gateway.application_id }}
5775
{{- end }}
76+
77+
[credentials_store]
78+
# Uncomment to provide credentials store. Alternatively, use CREDENTIALS_STORE env variable.
79+
# Supported values: ssm, secrets_manager
80+
#store = ssm
81+
{{- if .Values.credentials_store.store }}
82+
store = {{ .Values.credentials_store.store }}
83+
{{- end }}
84+
85+
[ssm]
86+
# Uncomment to provide aws region for SSM. Alternatively, use SSM_REGION env variable.
87+
#region = us-west-2
88+
{{- if .Values.credentials_store.ssm.region }}
89+
region = {{ .Values.credentials_store.ssm.region }}
90+
{{- end }}
91+
92+
# Uncomment to provide SSM parameter name or path for client id. Alternatively, use SSM_CLIENT_ID env variable.
93+
#ssm_client_id = /falcon/fig/client_id
94+
{{- if .Values.credentials_store.ssm.client_id }}
95+
ssm_client_id = {{ .Values.credentials_store.ssm.client_id }}
96+
{{- end }}
97+
98+
# Uncomment to provide SSM parameter name or path for client secret. Alternatively, use SSM_CLIENT_SECRET env variable.
99+
#ssm_client_secret = /falcon/fig/client_secret
100+
{{- if .Values.credentials_store.ssm.client_secret }}
101+
ssm_client_secret = {{ .Values.credentials_store.ssm.client_secret }}
102+
{{- end }}
103+
104+
[secrets_manager]
105+
# Uncomment to provide aws region for Secrets Manager. Alternatively, use SECRETS_MANAGER_REGION env variable.
106+
#region = us-west-2
107+
{{- if .Values.credentials_store.secrets_manager.region }}
108+
region = {{ .Values.credentials_store.secrets_manager.region }}
109+
{{- end }}
110+
111+
# Uncomment to provide Secrets Manager secret name. Alternatively, use SECRETS_MANAGER_SECRET_NAME env variable.
112+
#secrets_manager_secret_name = falcon/fig/credentials
113+
{{- if .Values.credentials_store.secrets_manager.secret_name }}
114+
secrets_manager_secret_name = {{ .Values.credentials_store.secrets_manager.secret_name }}
115+
{{- end }}
116+
117+
# Uncomment to provide Secrets Manager client id key. Alternatively, use SECRETS_MANAGER_CLIENT_ID_KEY env variable.
118+
#secrets_manager_client_id_key = client_id
119+
{{- if .Values.credentials_store.secrets_manager.client_id_key }}
120+
secrets_manager_client_id_key = {{ .Values.credentials_store.secrets_manager.client_id_key }}
121+
{{- end }}
122+
123+
# Uncomment to provide Secrets Manager client secret key. Alternatively, use SECRETS_MANAGER_CLIENT_SECRET_KEY env variable.
124+
#secrets_manager_client_secret_key = client_secret
125+
{{- if .Values.credentials_store.secrets_manager.client_secret_key }}
126+
secrets_manager_client_secret_key = {{ .Values.credentials_store.secrets_manager.client_secret_key }}
127+
{{- end }}
128+
129+
[generic]
130+
# Generic section is applicable only when GENERIC backend is enabled in the [main] section.
131+
# Generic backend can be used for outputting events to STDOUT
132+
133+
[gcp]
134+
# GCP section is applicable only when GCP backend is enabled in the [main] section.
135+
136+
# Use GOOGLE_APPLICATION_CREDENTIALS env variable to configure GCP Backend. GOOGLE_APPLICATION_CREDENTIALS
137+
# is an environment variable used to configure GCP Service accounts, it should point out to the credentials
138+
# file for given service account.
139+
140+
[azure]
141+
# Azure section is applicable only when AZURE backend is enabled in the [main] section.
142+
143+
# Uncomment to provide Azure Workspace ID. Alternatively, use WORKSPACE_ID env variable.
144+
#workspace_id =
145+
# Uncomment to provide Azure Primary Key. Alternatively, use PRIMARY_KEY env variable.
146+
#primary_key =
147+
148+
# Uncomment to enable RTR based auto discovery of Azure Arc Systems. Alternatively,
149+
# use ARC_AUTODISCOVERY env variable.
150+
#arc_autodiscovery = true
151+
{{- if .Values.push.azure_log_analytics.arc_autodiscovery }}
152+
arc_autodiscovery = {{ .Values.push.azure_log_analytics.arc_autodiscovery }}
153+
{{- end }}
154+
155+
[aws]
156+
# AWS section is applicable only when AWS backend is enabled in the [main] section.
157+
158+
# Uncomment to provide aws region. Alternatively, use AWS_REGION env variable
159+
#region = eu-west-1
160+
{{- if .Values.push.aws_security_hub.region }}
161+
region = {{ .Values.push.aws_security_hub.region }}
162+
{{- end }}
163+
164+
# Uncomment to manage whether or not to confirm instance in AWS account supported region.
165+
# Alternatively, use AWS_CONFIRM_INSTANCE env variable.
166+
#confirm_instance = true
167+
{{- if .Values.push.aws_security_hub.confirm_instance }}
168+
confirm_instance = {{ .Values.push.aws_security_hub.confirm_instance }}
169+
{{- end }}
170+
171+
[cloudtrail_lake]
172+
# AWS CloudTrail Lake section is applicable only when CLOUDTRAIL_LAKE backend is enabled in the [main] section.
173+
174+
# Uncomment to provide the Channel ARN. Alternatively, use CLOUDTRAIL_LAKE_CHANNEL_ARN env variable.
175+
#channel_arn =
176+
177+
# Uncomment to provide the AWS region. Should match the same region as the Channel.
178+
# Alternatively, use CLOUDTRAIL_LAKE_REGION env variable.
179+
#region =
180+
{{- if .Values.push.cloudtrail_lake.region }}
181+
region = {{ .Values.push.cloudtrail_lake.region }}
182+
{{- end }}
183+
184+
[aws_sqs]
185+
# AWS SQS section is applicable only when AWS backend is enabled in the [main] section.
186+
# AWS SQS Backend publishes raw events to SQS queue
187+
188+
# Uncomment to provide AWS region. Alternatively, use AWS_REGION env variable
189+
#region = eu-west-1
190+
{{- if .Values.push.aws_sqs.region }}
191+
region = {{ .Values.push.aws_sqs.region }}
192+
{{- end }}
193+
194+
# Uncomment to provide name of AWS SQS. Alternatively, use AWS_SQS env variable
195+
#sqs_queue_name = my-sqs-queue-for-falcon
196+
{{- if .Values.push.aws_sqs.sqs_queue_name }}
197+
sqs_queue_name = {{ .Values.push.aws_sqs.sqs_queue_name }}
198+
{{- end }}
199+
200+
[workspaceone]
201+
# Workspace One section is applicable only when Workspace One backend is enabled in the [main] section.
202+
203+
# Uncomment to provide Workspace One token. Alternatively, use WORKSPACEONE_TOKEN env variable
204+
#token =
205+
206+
# Uncomment to provide syslog host. Alternatively, use SYSLOG_HOST env variable
207+
#syslog_host =
208+
{{- if .Values.push.vmware_workspace_one.syslog_host }}
209+
syslog_host = {{ .Values.push.vmware_workspace_one.syslog_host }}
210+
{{- end }}
211+
212+
# Uncomment to provide syslog port. Alternatively, use SYSLOG_PORT env variable
213+
#syslog_port =
214+
{{- if .Values.push.vmware_workspace_one.syslog_port }}
215+
syslog_port = {{ .Values.push.vmware_workspace_one.syslog_port }}
216+
{{- end }}
217+
218+
[chronicle]
219+
# Chronicle section is applicable only when Chronicle backend is enabled in the [main] section
220+
221+
# Uncomment to provide Google Service Account filepath. Alternatively, use GOOGLE_SERVICE_ACCOUNT_FILE variable
222+
#service_account = apikeys-demo.json
223+
{{- if .Values.push.chronicle.service_account }}
224+
service_account = {{ .Values.push.chronicle.service_account }}
225+
{{- end }}
226+
227+
# Uncomment to provide Chronicle Customer ID. Alternatively, use GOOGLE_CUSTOMER_ID variable
228+
#customer_id = XXX
229+
230+
# Uncomment to provide Chronicle region (us, europe, asia-southeast1). Alternatively, use CHRONICLE_REGION variable
231+
#region =
232+
{{- if .Values.push.chronicle.region }}
233+
region = {{ .Values.push.chronicle.region}}
234+
{{- end }}

helm-charts/falcon-integration-gateway/templates/deployment.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,11 @@ spec:
4242
subPath: config.ini
4343
envFrom:
4444
- secretRef:
45+
{{- if .Values.falcon.existingSecret }}
46+
name: {{ .Values.falcon.existingSecret }}
47+
{{- else }}
4548
name: {{ include "falcon-integration-gateway.fullname" . }}-creds
49+
{{- end }}
4650
resources:
4751
{{- toYaml .Values.resources | nindent 12 }}
4852
command:
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{{- if not .Values.falcon.existingSecret -}}
12
apiVersion: v1
23
kind: Secret
34
type: Opaque
@@ -10,24 +11,17 @@ data:
1011
FALCON_CLIENT_ID: {{ .Values.falcon.client_id | b64enc }}
1112
FALCON_CLIENT_SECRET: {{ .Values.falcon.client_secret | b64enc }}
1213
FALCON_CLOUD_REGION: {{ .Values.falcon.cloud_region | b64enc }}
13-
{{- if .Values.push.aws_security_hub.enabled }}
14-
AWS_REGION: {{ .Values.push.aws_security_hub.region | b64enc }}
15-
{{- end }}
1614
{{- if .Values.push.azure_log_analytics.enabled }}
1715
WORKSPACE_ID: {{ .Values.push.azure_log_analytics.workspace_id | b64enc }}
1816
PRIMARY_KEY: {{ .Values.push.azure_log_analytics.primary_key | b64enc }}
19-
ARC_AUTODISCOVERY: {{ .Values.push.azure_log_analytics.arc_autodiscovery | toString | b64enc }}
2017
{{- end }}
2118
{{- if .Values.push.chronicle.enabled }}
22-
CHRONICLE_REGION: {{ .Values.push.chronicle.region | b64enc }}
23-
GOOGLE_SECURITY_KEY: {{ .Values.push.chronicle.security_key | b64enc }}
19+
CUSTOMER_ID: {{ .Values.push.chronicle.customer_id | b64enc }}
2420
{{- end }}
2521
{{- if .Values.push.cloudtrail_lake.enabled }}
2622
CLOUDTRAIL_LAKE_CHANNEL_ARN: {{ .Values.push.cloudtrail_lake.channel_arn | b64enc }}
27-
CLOUDTRAIL_LAKE_REGION: {{ .Values.push.cloudtrail_lake.region | b64enc }}
2823
{{- end }}
2924
{{- if .Values.push.vmware_workspace_one.enabled }}
30-
SYSLOG_HOST: {{ .Values.push.vmware_workspace_one.syslog_host | b64enc }}
31-
SYSLOG_PORT: {{ .Values.push.vmware_workspace_one.syslog_port | b64enc }}
3225
WORKSPACEONE_TOKEN: {{ .Values.push.vmware_workspace_one.token | b64enc }}
3326
{{- end }}
27+
{{- end }}

0 commit comments

Comments
 (0)