Skip to content

Commit

Permalink
Add cloudformation provider to a few other places (#4119)
Browse files Browse the repository at this point in the history
Make sure we have the new cloudformation provider everywhere.

Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 authored May 29, 2024
1 parent dc5835c commit d711e1b
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 5 deletions.
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 4 additions & 3 deletions docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
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: "an AWS CloudFormation template or AWS SAM template",
MinArgs: 1,
MaxArgs: 1,
Discovery: []string{},
Expand Down
15 changes: 15 additions & 0 deletions providers/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit d711e1b

Please sign in to comment.