From 8db0f2e0f0fc86caba1d8e4b6081d077296a70ff Mon Sep 17 00:00:00 2001 From: timdeluxe <5765175+timdeluxe@users.noreply.github.com> Date: Mon, 23 May 2022 17:11:04 +0200 Subject: [PATCH] feat(DO-1067): Security improvements due to tfsec findings --- main.tf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/main.tf b/main.tf index dfa64fa..38f72d0 100644 --- a/main.tf +++ b/main.tf @@ -10,6 +10,16 @@ resource "azurerm_storage_account" "storage-account" { min_tls_version = "TLS1_2" tags = var.tags + queue_properties { + logging { + delete = true + read = true + write = true + version = "2.0" + retention_policy_days = 14 + } + } + blob_properties { delete_retention_policy { days = var.delete_retention_policy