HIGH
Source
CloudSploit
ID
log-storage-encryption

Log Storage Encryption

Ensures BYOK encryption is properly configured in the Activity Log Storage Account

Storage accounts can be configured to encrypt data-at-rest. By default Azure will create a set of keys to encrypt the storage account, but the recommended approach is to create your own keys using Azure Key Vault.

Follow the appropriate remediation steps below to resolve the issue.

  1. Log in to the Microsoft Azure Management Console.

  2. Select the “Search resources, services, and docs” option at the top and search for “Monitor”. Step

  3. On the left navigation panel, click on “Diagnostics Settigns” under “Settings”.Step

  4. On the “Diagnostics settings” page, select the resource from the list with value “Enabled” in the “Diagnostic status” column by clicking on its name. Step

  5. On the resource configuration page, copy the “Storage account” name for the “Activity Log”.Step

  6. Now select the “Search resources, services, and docs” option at the top and search for “Storage accounts”.Step

  7. Paste the “Storage account” name on the “Filter” option at the top, copied in Step 5 and select the corresponding “Storage account.”Step

  8. Scroll down the “Storage account” navigation panel and select “Encryption” under “Security + networking.”Step

  9. On the “Encryption page” scroll down and check the “Encryption type”. If “Microsoft-managed keys” is selected, then “BYOK encryption” is not configured in the Activity log storage account.Step

  10. To enable “BYOK encryption” select “Encryption type” as “Customer-managed keys”. In the “Encryption key” select option “Select from key vault”. Step

  11. In the “Key Vault and key” click on the blue hughlighted text “Select a key vault and key”. Step

  12. On the “Select a key” page, select “Key store type” as “Key vault”. In the “Key vault” and “key” options select the key vault and key from the dropdown or you can create your own key vault and key. Click “Select” button at the end to save the selected options.Step

  13. Click on the “Save” button at the end to make the changes.Step

  14. Repeat step number 4 - 13 to ensure the Storage Account used by Activity Logs is configured with a BYOK key for all resources with Diagnostic Status “Enabled”.