github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/rules/cloud/policies/aws/ecs/enable_container_insight.cf.go (about) 1 package ecs 2 3 var cloudFormationEnableContainerInsightGoodExamples = []string{ 4 `--- 5 Resources: 6 GoodExample: 7 Type: 'AWS::ECS::Cluster' 8 Properties: 9 ClusterName: MyCluster 10 ClusterSettings: 11 - Name: containerInsights 12 Value: enabled 13 `, 14 } 15 16 var cloudFormationEnableContainerInsightBadExamples = []string{ 17 `--- 18 Resources: 19 BadExample: 20 Type: 'AWS::ECS::Cluster' 21 Properties: 22 ClusterName: MyCluster 23 `, 24 } 25 26 var cloudFormationEnableContainerInsightLinks = []string{} 27 28 var cloudFormationEnableContainerInsightRemediationMarkdown = ``