Skip to content

Commit c8ef82f

Browse files
tas50claude
andauthored
✨ Add grafana provider to defaults and README (#7094)
Register the grafana provider in DefaultProviders so it is discoverable in air-gapped environments, and add it to the README connection table. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 86a4cbf commit c8ef82f

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ To learn about Mondoo Platform, read the [Mondoo Platform docs](https://mondoo.c
122122
| GitLab groups | `gitlab` | `mql shell gitlab --group mondoohq` |
123123
| Google Cloud projects | `gcp` | `mql shell gcp` |
124124
| Google Workspace | `google-workspace` | `mql shell google-workspace --customer-id CUSTOMER_ID --impersonated-user-email EMAIL --credentials-path JSON_FILE` |
125+
| Grafana organizations | `grafana` | `mql shell grafana --url https://myorg.grafana.net --token TOKEN` |
125126
| OPC UA IoT devices | `opcua` | `mql shell opcua` |
126127
| IP address information | `ipinfo` | `mql shell ipinfo` |
127128
| IPMI-enabled devices | `ipmi` | `mql shell ipmi user@HOST` |

providers/defaults.go

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,21 @@ var DefaultProviders Providers = map[string]*Provider{
200200
},
201201
},
202202

203+
"grafana": {
204+
Provider: &plugin.Provider{
205+
Name: "grafana",
206+
ID: "go.mondoo.com/mql/v13/providers/grafana",
207+
ConnectionTypes: []string{"grafana"},
208+
Connectors: []plugin.Connector{
209+
{
210+
Name: "grafana",
211+
Use: "grafana",
212+
Short: "a Grafana organization",
213+
},
214+
},
215+
},
216+
},
217+
203218
"github": {
204219
Provider: &plugin.Provider{
205220
Name: "github",

0 commit comments

Comments
 (0)