SV-276236r1150044_rule
V-276236
SRG-APP-000416-DB-000380
MSQL-00-003200
CAT I
10
Create a compliant key/certificate and enable encryption on the database.
Refer to: https://learn.microsoft.com/en-us/azure/azure-sql/database/transparent-data-encryption-byok-configure?view=azuresql&tabs=azure-powershell
Then execute the following command:
ALTER DATABASE [Database Name Between Brackets] SET ENCRYPTION ON;
Use the TSQL query below to determine database encryption state:
SELECT DB_NAME(database_id) AS DatabaseName, encryption_state_desc AS EncryptionState, key_algorithm+CAST(key_length AS nvarchar(128)) AS EncryptionAlgorithm, encryptor_type FROM sys.dm_database_encryption_keys
Validate that for each database the [EncryptionState] is "ENCRYPTED" and the [EncryptionAlgorithm] returns one of the following values: [AES128], [AES192], or [AES256].
If any other value is returned for either the "EncryptionState" or "EncryptionAlgorithm", this is a finding.
V-276236
False
MSQL-00-003200
Use the TSQL query below to determine database encryption state:
SELECT DB_NAME(database_id) AS DatabaseName, encryption_state_desc AS EncryptionState, key_algorithm+CAST(key_length AS nvarchar(128)) AS EncryptionAlgorithm, encryptor_type FROM sys.dm_database_encryption_keys
Validate that for each database the [EncryptionState] is "ENCRYPTED" and the [EncryptionAlgorithm] returns one of the following values: [AES128], [AES192], or [AES256].
If any other value is returned for either the "EncryptionState" or "EncryptionAlgorithm", this is a finding.
M
5711