From a589abe9340c27b8fb36d641fdafe79311bca25c Mon Sep 17 00:00:00 2001 From: Christoph Hartmann Date: Mon, 27 May 2024 09:02:09 +0200 Subject: [PATCH] Use CloudFormation as term for the config Co-authored-by: Tim Smith --- providers/cloudformation/config/config.go | 2 +- providers/cloudformation/provider/provider.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/providers/cloudformation/config/config.go b/providers/cloudformation/config/config.go index 4cef1e5020..72cff17fd7 100644 --- a/providers/cloudformation/config/config.go +++ b/providers/cloudformation/config/config.go @@ -17,7 +17,7 @@ var Config = plugin.Provider{ { Name: "cloudformation", Use: "cloudformation PATH", - Short: "AWS Cloudformation template or AWS SAM template", + Short: "AWS CloudFormation template or AWS SAM template", MinArgs: 1, MaxArgs: 1, Discovery: []string{}, diff --git a/providers/cloudformation/provider/provider.go b/providers/cloudformation/provider/provider.go index d122fd6ea0..477a2378b5 100644 --- a/providers/cloudformation/provider/provider.go +++ b/providers/cloudformation/provider/provider.go @@ -134,7 +134,7 @@ func (s *Service) detect(asset *inventory.Asset, conn *connection.Cloudformation Name: "cloudformation", Family: []string{"cloudformation"}, Kind: "api", - Title: "AWS Cloudformation", + Title: "AWS CloudFormation", } projectPath, ok := asset.Connections[0].Options["path"] @@ -146,7 +146,7 @@ func (s *Service) detect(asset *inventory.Asset, conn *connection.Cloudformation platformID := "//platformid.api.mondoo.app/runtime/cloudformation/hash/" + hash asset.Connections[0].PlatformId = platformID asset.PlatformIds = []string{platformID} - asset.Name = "Cloudformation Static Analysis " + parseNameFromPath(projectPath) + asset.Name = "CloudFormation Static Analysis " + parseNameFromPath(projectPath) return nil }