diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 2a341203b4..39617751ad 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -229,3 +229,14 @@ updates: update-types: - minor - patch + - package-ecosystem: gomod + directory: /providers/cloudformation/ + schedule: + interval: daily + groups: + gomodupdates: + patterns: + - "*" + update-types: + - minor + - patch diff --git a/Makefile b/Makefile index 4e1cf1b12c..2732f6f50a 100644 --- a/Makefile +++ b/Makefile @@ -230,7 +230,7 @@ providers/install: \ providers/install/ms365 \ providers/install/atlassian \ providers/install/aws \ - providers/install/cloudformation + providers/install/cloudformation providers/build/mock: providers/lr ./lr go providers-sdk/v1/testutils/mockprovider/resources/mockprovider.lr diff --git a/docs/development.md b/docs/development.md index 757b48efa0..94bd6d5346 100644 --- a/docs/development.md +++ b/docs/development.md @@ -188,10 +188,11 @@ go 1.21 use ( ./cnquery - ./cnquery/providers/atlassian ./cnquery/providers/arista + ./cnquery/providers/atlassian ./cnquery/providers/aws ./cnquery/providers/azure + ./cnquery/providers/cloudformation ./cnquery/providers/equinix ./cnquery/providers/gcp ./cnquery/providers/github @@ -339,6 +340,6 @@ func (g *mqlGcpProjectComputeServiceAddress) network() (*mqlGcpProjectComputeSer We love emojis in our commits. These are their meanings: -๐Ÿ›‘ breaking ๐Ÿ› bugfix ๐Ÿงน cleanup/internals โšก speed ๐Ÿ“„ docs -โœจโญ๐ŸŒŸ๐ŸŒ  smaller or larger features ๐ŸŽ race condition +๐Ÿ›‘ breaking ๐Ÿ› bugfix ๐Ÿงน cleanup/internals โšก speed ๐Ÿ“„ docs +โœจโญ๐ŸŒŸ๐ŸŒ  smaller or larger features ๐ŸŽ race condition ๐ŸŒ™ MQL ๐ŸŒˆ visual ๐ŸŸข fix tests ๐ŸŽซ auth ๐Ÿฆ… falcon ๐Ÿณ container diff --git a/providers/cloudformation/config/config.go b/providers/cloudformation/config/config.go index 89b2804f8a..dc8c7bcda5 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: "an AWS CloudFormation template or AWS SAM template", MinArgs: 1, MaxArgs: 1, Discovery: []string{}, diff --git a/providers/defaults.go b/providers/defaults.go index 28f10f6a26..ef48a0e345 100644 --- a/providers/defaults.go +++ b/providers/defaults.go @@ -71,6 +71,21 @@ var DefaultProviders Providers = map[string]*Provider{ }, }, + "cloudformation": { + Provider: &plugin.Provider{ + Name: "cloudformation", + ID: "go.mondoo.com/cnquery/v9/providers/cloudformation", + ConnectionTypes: []string{"cloudformation"}, + Connectors: []plugin.Connector{ + { + Name: "cloudformation", + Use: "cloudformation PATH", + Short: "an AWS CloudFormation template or AWS SAM template", + }, + }, + }, + }, + "core": { Provider: &plugin.Provider{ Name: "core",