Skip to content
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

Update test.tf #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
server_name = azurerm_sql_server.example.name

threat_detection_policy {
state = "Enabled"
state = "Disabled"

Check warning on line 34 in test.tf

View check run for this annotation

Wiz Inc. (d276811227) / Wiz IaC Scanner

SQL Database should have Threat Detection enabled

Rule ID: 76768c94-f452-4902-95a7-5f0125460326 Severity: Medium Resource: azurerm_sql_database[example1].threat_detection_policy.state This rule checks whether the SQL database has Threat Detection enabled. Azure SQL Database Threat Detection is a security intelligence feature that identifies potential threats to the database. This feature detects potential vulnerabilities, SQL injection attacks, and anomalous database access patterns. Enable Azure SQL Database Threat Detection to identify suspicious activity in your SQL database.
Raw output
Expected: 'threat_detection_policy.state' equal 'Enabled'
Found: 'threat_detection_policy.state' equal 'Disabled'
Security Frameworks: 0dcd6f9f-e26e-427e-a75b-0acaff9c5b22, wf-id-1, 1a22b5e3-8c61-4ee5-aaf1-f906e76727eb, 3e41cf6d-e231-43ff-bc12-1760a95c9955, 1f612f11-7273-4aa8-8214-133eea182b1a, 32dbe93b-7840-476c-ab4e-d20d0110ef63, 695a722c-93dc-4d96-a109-1ea59e77b77e, bbfd8a1d-9bed-4976-aa60-3e9b350fded2, 86166614-75c0-44b3-a281-836559f472e7, a4c9b72b-0a8b-4002-ac85-fc3f9cb90767, ba636dbf-7c6c-416e-ab0f-3616e385967c, 924ae42b-a73b-4113-a204-107e2accfae8, wf-id-105, wf-id-85, wf-id-90, wf-id-4

Check warning on line 34 in test.tf

View check run for this annotation

Wiz Inc. (6786f6b1c2) / Wiz IaC Scanner

SQL Database should have Threat Detection enabled

Rule ID: 1660c705-1304-41f5-ad7b-4874ed8f9d25 Severity: Medium Resource: azurerm_sql_database[example1].threat_detection_policy.state This rule checks whether the SQL database has Threat Detection enabled. Azure SQL Database Threat Detection is a security intelligence feature that identifies potential threats to the database. This feature detects potential vulnerabilities, SQL injection attacks, and anomalous database access patterns. Enable Azure SQL Database Threat Detection to identify suspicious activity in your SQL database.
Raw output
Expected: 'threat_detection_policy.state' equal 'Enabled'
Found: 'threat_detection_policy.state' equal 'Disabled'
Security Frameworks: wf-id-4, wf-id-105, wf-id-1, wf-id-90

Choose a reason for hiding this comment

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

Matched configuration rule "SQL Database should have Threat Detection enabled" [CloudSQL-028].

📝 Description
This rule checks whether the SQL database has Threat Detection enabled. Azure SQL Database Threat Detection is a security intelligence feature that identifies potential threats to the database. This feature detects potential vulnerabilities, SQL injection attacks, and anomalous database access patterns. Enable Azure SQL Database Threat Detection to identify suspicious activity in your SQL database.
Suggested change
state = "Disabled"
state = "Enabled"

Copy link
Contributor

Choose a reason for hiding this comment

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

Matched configuration rule "SQL Database should have Threat Detection enabled" [CloudSQL-028].

📝 Description
This rule checks whether the SQL database has Threat Detection enabled. Azure SQL Database Threat Detection is a security intelligence feature that identifies potential threats to the database. This feature detects potential vulnerabilities, SQL injection attacks, and anomalous database access patterns. Enable Azure SQL Database Threat Detection to identify suspicious activity in your SQL database.
Suggested change
state = "Disabled"
state = "Enabled"

}

tags = {
Expand Down
Loading