Repository navigation
feat(finops-hub): add Azure Data Explorer encryption options #2338
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
base: dev
Are you sure you want to change the base?
Changes from all commits
0b22f9e
62fc5b7
f12bf19
96bb058
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -28,6 +28,12 @@ param core CoreMetadata | |
| @maxLength(22) | ||
| param clusterName string = '' | ||
|
|
||
| @description('Optional. Enable disk encryption on the Azure Data Explorer cluster. Default: false.') | ||
| param enableDataExplorerDiskEncryption bool = false | ||
|
|
||
| @description('Optional. Enable double encryption on the Azure Data Explorer cluster. Can only be enabled during cluster creation. Default: false.') | ||
| param enableDataExplorerDoubleEncryption bool = false | ||
|
|
||
| // https://learn.microsoft.com/azure/templates/microsoft.kusto/clusters?pivots=deployment-language-bicep#azuresku | ||
| @description('Optional. Name of the Azure Data Explorer SKU. Default: "Dev(No SLA)_Standard_E2a_v4".') | ||
| @allowed([ | ||
|
|
@@ -142,6 +148,13 @@ var ftkReleaseUri = indexOf(finOpsToolkitVersion, '-dev') != -1 | |
| var useFabric = !empty(fabricQueryUri) | ||
| var useAzure = !useFabric && !empty(clusterName) | ||
|
|
||
| var diskEncryptionProperties = !enableDataExplorerDiskEncryption ? {} : { | ||
| enableDiskEncryption: true | ||
| } | ||
| var doubleEncryptionProperties = !enableDataExplorerDoubleEncryption ? {} : { | ||
| enableDoubleEncryption: true | ||
| } | ||
|
|
||
| // cSpell:ignore ftkver, privatelink | ||
| var dataExplorerDnsSuffixLookup = { | ||
| AzureCloud: 'kusto.windows.net' | ||
|
|
@@ -306,6 +319,8 @@ resource cluster 'Microsoft.Kusto/clusters@2023-08-15' = if (useAzure) { | |
| } | ||
| properties: { | ||
| enableStreamingIngest: true | ||
| ...diskEncryptionProperties | ||
| ...doubleEncryptionProperties | ||
| enableAutoStop: false | ||
|
Comment on lines
321
to
324
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Updated in f12bf19. The encryption properties are now conditionally added only when the corresponding option is enabled, so the default false values do not emit enableDiskEncryption or enableDoubleEncryption during redeployment. This follows the existing conditional property pattern used for storage infrastructure encryption. |
||
| publicNetworkAccess: app.hub.options.privateRouting ? 'Disabled' : 'Enabled' | ||
| // TODO: Figure out why this is breaking upgrades | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated in f12bf19. Changed ms.date to 10/07/2026 to match the current changelog update.