/
automation.sp
26 lines (21 loc) · 943 Bytes
/
automation.sp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
locals {
automation_compliance_common_tags = merge(local.terraform_azure_compliance_common_tags, {
service = "Azure/Automation"
})
}
benchmark "automation" {
title = "Automation"
description = "This benchmark provides a set of controls that detect Terraform Azure Automation resources deviating from security best practices."
children = [
control.automation_account_variables_encryption_enabled
]
tags = merge(local.automation_compliance_common_tags, {
type = "Benchmark"
})
}
control "automation_account_variables_encryption_enabled" {
title = "Automation account variables encryption should be enabled"
description = "Enabling Automation account variables encryption helps protect and safeguard your data to meet your organizational security and compliance commitments."
query = query.automation_account_variables_encryption_enabled
tags = local.automation_compliance_common_tags
}