Skip to content

Commit

Permalink
Use CloudFormation as term for the config
Browse files Browse the repository at this point in the history
Co-authored-by: Tim Smith <[email protected]>
  • Loading branch information
chris-rock and tas50 committed May 27, 2024
1 parent 1882b11 commit a589abe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion providers/cloudformation/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{},
Expand Down
4 changes: 2 additions & 2 deletions providers/cloudformation/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand All @@ -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
}

Expand Down

0 comments on commit a589abe

Please sign in to comment.