Skip to content

Commit

Permalink
Merge pull request #70 from isimluk/chronicle-region-fixes
Browse files Browse the repository at this point in the history
Chronicle region fixes
  • Loading branch information
redhatrises authored Jun 21, 2021
2 parents 88e4644 + aa66a1a commit f1541bc
Show file tree
Hide file tree
Showing 9 changed files with 37 additions and 8 deletions.
8 changes: 4 additions & 4 deletions config/config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -58,19 +58,19 @@
[workspaceone]
# Workspace One section is applicable only when Workspace One backend is enabled in the [main] section.

# Uncomment to provide Workspace One token. Alternatively, use WORKSPACEONE_TOKEN variable
# Uncomment to provide Workspace One token. Alternatively, use WORKSPACEONE_TOKEN env variable
#token =

# Uncomment to provide syslog host. Alternatively, use SYSLOG_HOST variable
# Uncomment to provide syslog host. Alternatively, use SYSLOG_HOST env variable
#syslog_host =

# Uncomment to provide syslog port. Alternatively, use SYSLOG_PORT variable
# Uncomment to provide syslog port. Alternatively, use SYSLOG_PORT env variable
#syslog_port =

[chronicle]
# Chronicle section is applicable only when Chronicle backend is enabled in the [main] section

# Uncomment to provide Google security key. Alternatively, use GOOGLE_SECURITY_KEY variable
# Uncomment to provide Google security key. Alternatively, use GOOGLE_SECURITY_KEY env variable
#security_key =

# Uncomment to provide Chronicle region (us, europe, asia-southeast1). Alternatively, use CHRONICLE_REGION variable
Expand Down
1 change: 1 addition & 0 deletions config/defaults.ini
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ syslog_port = 6514

[chronicle]
security_key =
region =
7 changes: 7 additions & 0 deletions docs/chronicle/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ echo -n $FALCON_CLIENT_SECRET | base64
echo -n $GOOGLE_SECURITY_KEY | base64
```

Set the region of your Chronicle cloud.

```
# Uncomment to provide Chronicle region (us, europe, asia-southeast1). Alternatively, use CHRONICLE_REGION variable
region = us
```

### Step 5: Deploy to kubernetes

Ensure your kubectl command is configured to use kubernetes
Expand Down
5 changes: 4 additions & 1 deletion docs/chronicle/falcon-integration-gateway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,12 @@ data:
[chronicle]
# Chronicle section is applicable only when Chronicle backend is enabled in the [main] section
# Uncomment to provide Google security key. Alternatively, use GOOGLE_SECURITY_KEY variable
# Uncomment to provide Google security key. Alternatively, use GOOGLE_SECURITY_KEY env variable
#security_key =
# Uncomment to provide Chronicle region (us, europe, asia-southeast1). Alternatively, use CHRONICLE_REGION variable
#region =
---
apiVersion: apps/v1
kind: Deployment
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,14 @@ data:
{{- if .Values.falcon.integration_gateway.application_id }}
application_id = {{ .Values.falcon.integration_gateway.application_id }}
{{- end }}
[chronicle]
# Chronicle section is applicable only when Chronicle backend is enabled in the [main] section
# Uncomment to provide Google security key. Alternatively, use GOOGLE_SECURITY_KEY env variable
#security_key =
# Uncomment to provide Chronicle region (us, europe, asia-southeast1). Alternatively, use CHRONICLE_REGION variable
{{- if .Values.chronicle.region }}
region = {{ .Values.chronicle.region }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
chronicle:
enabled: true
google_security_key:
region:

falcon:
client_id:
Expand Down
6 changes: 6 additions & 0 deletions docs/listings/gke-chronicle/deployer/schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ properties:
type: string
x-google-marketplace:
type: MASKED_FIELD
chronicle.region:
type: string
x-google-marketplace:
type: STRING
default: us
chronicle.google_security_key:
type: string
x-google-marketplace:
Expand All @@ -59,6 +64,7 @@ required:
- falcon.client_secret
- falcon.cloud_region
- chronicle.google_security_key
- chronicle.region

form:
- widget: help
Expand Down
2 changes: 1 addition & 1 deletion fig/backends/chronicle/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ backends=CHRONICLE
[chronicle]
# Chronicle section is applicable only when Chronicle backend is enabled in the [main] section
# Uncomment to provide Google security key. Alternatively, use GOOGLE_SECURITY_KEY variable
# Uncomment to provide Google security key. Alternatively, use GOOGLE_SECURITY_KEY env variable
#security_key =
# Uncomment to provide Chronicle region (us, europe, asia-southeast1). Alternatively, use CHRONICLE_REGION variable
Expand Down
4 changes: 2 additions & 2 deletions fig/backends/workspaceone/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ backends=WORKSPACEONE
[workspaceone]
# Workspace One section is applicable only when Workspace One backend is enabled in the [main] section.
# Uncomment to provide Workspace One token. Alternatively, use WORKSPACEONE_TOKEN variable
# Uncomment to provide Workspace One token. Alternatively, use WORKSPACEONE_TOKEN env variable
#token=
# Uncomment to provide syslog host. Alternatively, use SYSLOG_HOST variable
# Uncomment to provide syslog host. Alternatively, use SYSLOG_HOST env variable
#syslog_host =
```
Expand Down

0 comments on commit f1541bc

Please sign in to comment.