Skip to content

feat(query): implements "Beta - SQL Database Without Data Encryption"#7858

Merged
cx-artur-ribeiro merged 7 commits into
masterfrom
AST-120692_78_ensure_that_data_encryption_is_set_to_on_sql_database
Dec 15, 2025
Merged

feat(query): implements "Beta - SQL Database Without Data Encryption"#7858
cx-artur-ribeiro merged 7 commits into
masterfrom
AST-120692_78_ensure_that_data_encryption_is_set_to_on_sql_database

Conversation

@cx-andre-pereira

@cx-andre-pereira cx-andre-pereira commented Nov 17, 2025

Copy link
Copy Markdown
Contributor

Reason for Proposed Changes

  • Currently there is no query to ensure that resources of type "azurerm_mssql_database" have data encryption enabled.

  • Quoting CIS_Microsoft_Azure_Database_Services_Benchmark_v1.0.0 page 93: "Azure SQL Database transparent data encryption helps protect against the threat of malicious activity by performing real-time encryption and decryption of the database, associated backups, and transaction log files at rest without requiring changes to the application.".

Proposed Changes

I submit this contribution under the Apache-2.0 license.

@github-actions github-actions Bot added feature New feature query New query feature terraform Terraform query azure PR related with Azure Cloud labels Nov 17, 2025
@github-actions

github-actions Bot commented Nov 17, 2025

Copy link
Copy Markdown
Contributor

kics-logo

KICS version: v2.1.17

Category Results
CRITICAL CRITICAL 0
HIGH HIGH 0
MEDIUM MEDIUM 0
LOW LOW 0
INFO INFO 0
TRACE TRACE 0
TOTAL TOTAL 0
Metric Values
Files scanned placeholder 1
Files parsed placeholder 1
Files failed to scan placeholder 0
Total executed queries placeholder 47
Queries failed to execute placeholder 0
Execution time placeholder 0

@cx-andre-pereira cx-andre-pereira marked this pull request as ready for review November 17, 2025 17:09
@cx-andre-pereira cx-andre-pereira requested a review from a team as a code owner November 17, 2025 17:09

@cx-eduardo-semanas cx-eduardo-semanas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cx-eduardo-semanas cx-eduardo-semanas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cx-artur-ribeiro cx-artur-ribeiro merged commit b2aafd8 into master Dec 15, 2025
34 of 35 checks passed
@cx-artur-ribeiro cx-artur-ribeiro deleted the AST-120692_78_ensure_that_data_encryption_is_set_to_on_sql_database branch December 15, 2025 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

azure PR related with Azure Cloud feature New feature query New query feature terraform Terraform query

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants