github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/rules/cloud/policies/aws/ecs/enable_container_insight.tf.go (about) 1 package ecs 2 3 var terraformEnableContainerInsightGoodExamples = []string{ 4 ` 5 resource "aws_ecs_cluster" "good_example" { 6 name = "services-cluster" 7 8 setting { 9 name = "containerInsights" 10 value = "enabled" 11 } 12 } 13 `, 14 } 15 16 var terraformEnableContainerInsightBadExamples = []string{ 17 ` 18 resource "aws_ecs_cluster" "bad_example" { 19 name = "services-cluster" 20 } 21 `, 22 } 23 24 var terraformEnableContainerInsightLinks = []string{ 25 `https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ecs_cluster#setting`, 26 } 27 28 var terraformEnableContainerInsightRemediationMarkdown = ``