@pulumiverse/grafana 0.2.1 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cloudAccessPolicy.d.ts +7 -1
- package/cloudAccessPolicy.js +7 -1
- package/cloudAccessPolicy.js.map +1 -1
- package/cloudAccessPolicyToken.d.ts +12 -0
- package/cloudAccessPolicyToken.js +12 -0
- package/cloudAccessPolicyToken.js.map +1 -1
- package/cloudApiKey.d.ts +9 -1
- package/cloudApiKey.js +9 -1
- package/cloudApiKey.js.map +1 -1
- package/cloudPluginInstallation.d.ts +7 -1
- package/cloudPluginInstallation.js +7 -1
- package/cloudPluginInstallation.js.map +1 -1
- package/cloudStack.d.ts +47 -10
- package/cloudStack.js +18 -0
- package/cloudStack.js.map +1 -1
- package/cloudStackServiceAccount.d.ts +5 -2
- package/cloudStackServiceAccount.js +5 -2
- package/cloudStackServiceAccount.js.map +1 -1
- package/cloudStackServiceAccountToken.d.ts +4 -2
- package/cloudStackServiceAccountToken.js +4 -2
- package/cloudStackServiceAccountToken.js.map +1 -1
- package/config/vars.d.ts +5 -1
- package/config/vars.js +6 -0
- package/config/vars.js.map +1 -1
- package/contactPoint.d.ts +51 -3
- package/contactPoint.js +8 -0
- package/contactPoint.js.map +1 -1
- package/dashboard.d.ts +11 -2
- package/dashboard.js +11 -2
- package/dashboard.js.map +1 -1
- package/dashboardPermission.d.ts +13 -6
- package/dashboardPermission.js +10 -6
- package/dashboardPermission.js.map +1 -1
- package/dashboardPublic.d.ts +197 -0
- package/dashboardPublic.js +131 -0
- package/dashboardPublic.js.map +1 -0
- package/dataSource.d.ts +1 -1
- package/dataSource.js +1 -1
- package/dataSourcePermission.d.ts +4 -3
- package/dataSourcePermission.js +2 -4
- package/dataSourcePermission.js.map +1 -1
- package/folder.d.ts +12 -0
- package/folder.js +2 -0
- package/folder.js.map +1 -1
- package/folderPermission.d.ts +18 -3
- package/folderPermission.js +16 -4
- package/folderPermission.js.map +1 -1
- package/getCloudOrganization.d.ts +24 -0
- package/getCloudOrganization.js +24 -0
- package/getCloudOrganization.js.map +1 -1
- package/getCloudStack.d.ts +15 -1
- package/getCloudStack.js.map +1 -1
- package/getDashboard.d.ts +12 -0
- package/getDashboard.js +1 -0
- package/getDashboard.js.map +1 -1
- package/getDashboards.d.ts +12 -0
- package/getDashboards.js +1 -0
- package/getDashboards.js.map +1 -1
- package/getFolder.d.ts +12 -0
- package/getFolder.js +1 -0
- package/getFolder.js.map +1 -1
- package/getFolders.d.ts +24 -2
- package/getFolders.js +7 -4
- package/getFolders.js.map +1 -1
- package/getOncallSchedule.d.ts +2 -2
- package/getOncallSchedule.js +2 -2
- package/getOrganizationPreferences.d.ts +26 -6
- package/getOrganizationPreferences.js +7 -4
- package/getOrganizationPreferences.js.map +1 -1
- package/getServiceAccount.d.ts +62 -0
- package/getServiceAccount.js +28 -0
- package/getServiceAccount.js.map +1 -0
- package/index.d.ts +11 -2
- package/index.js +16 -3
- package/index.js.map +1 -1
- package/libraryPanel.d.ts +9 -3
- package/libraryPanel.js +9 -3
- package/libraryPanel.js.map +1 -1
- package/messageTemplate.d.ts +24 -0
- package/messageTemplate.js +4 -0
- package/messageTemplate.js.map +1 -1
- package/muteTiming.d.ts +16 -3
- package/muteTiming.js +3 -0
- package/muteTiming.js.map +1 -1
- package/notificationPolicy.d.ts +41 -5
- package/notificationPolicy.js +21 -5
- package/notificationPolicy.js.map +1 -1
- package/oncallEscalation.d.ts +1 -1
- package/oncallEscalation.js +1 -1
- package/oncallIntegration.d.ts +6 -6
- package/oncallOnCallShift.d.ts +3 -3
- package/oncallOutgoingWebhook.d.ts +78 -6
- package/oncallOutgoingWebhook.js +12 -0
- package/oncallOutgoingWebhook.js.map +1 -1
- package/organization.d.ts +18 -0
- package/organization.js +2 -0
- package/organization.js.map +1 -1
- package/organizationPreference.d.ts +16 -10
- package/organizationPreference.js +1 -1
- package/organizationPreference.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/playlist.d.ts +25 -0
- package/playlist.js +25 -0
- package/playlist.js.map +1 -1
- package/provider.d.ts +14 -2
- package/provider.js +2 -1
- package/provider.js.map +1 -1
- package/report.d.ts +29 -5
- package/report.js +4 -2
- package/report.js.map +1 -1
- package/roleAssignment.d.ts +1 -0
- package/roleAssignment.js +1 -0
- package/roleAssignment.js.map +1 -1
- package/ruleGroup.d.ts +17 -5
- package/ruleGroup.js +2 -3
- package/ruleGroup.js.map +1 -1
- package/serviceAccountPermission.d.ts +4 -2
- package/serviceAccountPermission.js +2 -3
- package/serviceAccountPermission.js.map +1 -1
- package/serviceAccountToken.d.ts +48 -2
- package/serviceAccountToken.js +3 -2
- package/serviceAccountToken.js.map +1 -1
- package/slo.d.ts +12 -0
- package/slo.js +2 -0
- package/slo.js.map +1 -1
- package/ssoSettings.d.ts +85 -0
- package/ssoSettings.js +80 -0
- package/ssoSettings.js.map +1 -0
- package/syntheticMonitoringInstallation.d.ts +45 -10
- package/syntheticMonitoringInstallation.js +42 -7
- package/syntheticMonitoringInstallation.js.map +1 -1
- package/team.d.ts +6 -1
- package/team.js +6 -1
- package/team.js.map +1 -1
- package/teamExternalGroup.d.ts +3 -2
- package/teamExternalGroup.js +3 -2
- package/teamExternalGroup.js.map +1 -1
- package/types/input.d.ts +441 -3
- package/types/output.d.ts +446 -3
package/types/output.d.ts
CHANGED
|
@@ -248,6 +248,58 @@ export interface ContactPointLine {
|
|
|
248
248
|
*/
|
|
249
249
|
uid: string;
|
|
250
250
|
}
|
|
251
|
+
export interface ContactPointOncall {
|
|
252
|
+
/**
|
|
253
|
+
* Allows a custom authorization scheme - attaches an auth header with this value. Do not use in conjunction with basic auth parameters.
|
|
254
|
+
*/
|
|
255
|
+
authorizationCredentials?: string;
|
|
256
|
+
/**
|
|
257
|
+
* Allows a custom authorization scheme - attaches an auth header with this name. Do not use in conjunction with basic auth parameters.
|
|
258
|
+
*/
|
|
259
|
+
authorizationScheme?: string;
|
|
260
|
+
/**
|
|
261
|
+
* The username to use in basic auth headers attached to the request. If omitted, basic auth will not be used.
|
|
262
|
+
*/
|
|
263
|
+
basicAuthPassword?: string;
|
|
264
|
+
/**
|
|
265
|
+
* The username to use in basic auth headers attached to the request. If omitted, basic auth will not be used.
|
|
266
|
+
*/
|
|
267
|
+
basicAuthUser?: string;
|
|
268
|
+
/**
|
|
269
|
+
* Whether to disable sending resolve messages. Defaults to `false`.
|
|
270
|
+
*/
|
|
271
|
+
disableResolveMessage?: boolean;
|
|
272
|
+
/**
|
|
273
|
+
* The HTTP method to use in the request. Defaults to `POST`.
|
|
274
|
+
*/
|
|
275
|
+
httpMethod?: string;
|
|
276
|
+
/**
|
|
277
|
+
* The maximum number of alerts to send in a single request. This can be helpful in limiting the size of the request body. The default is 0, which indicates no limit.
|
|
278
|
+
*/
|
|
279
|
+
maxAlerts?: number;
|
|
280
|
+
/**
|
|
281
|
+
* Custom message. You can use template variables.
|
|
282
|
+
*/
|
|
283
|
+
message?: string;
|
|
284
|
+
/**
|
|
285
|
+
* Additional custom properties to attach to the notifier. Defaults to `map[]`.
|
|
286
|
+
*/
|
|
287
|
+
settings?: {
|
|
288
|
+
[key: string]: string;
|
|
289
|
+
};
|
|
290
|
+
/**
|
|
291
|
+
* Templated title of the message.
|
|
292
|
+
*/
|
|
293
|
+
title?: string;
|
|
294
|
+
/**
|
|
295
|
+
* The UID of the contact point.
|
|
296
|
+
*/
|
|
297
|
+
uid: string;
|
|
298
|
+
/**
|
|
299
|
+
* The URL to send webhook requests to.
|
|
300
|
+
*/
|
|
301
|
+
url: string;
|
|
302
|
+
}
|
|
251
303
|
export interface ContactPointOpsgeny {
|
|
252
304
|
/**
|
|
253
305
|
* The OpsGenie API key to use.
|
|
@@ -273,6 +325,10 @@ export interface ContactPointOpsgeny {
|
|
|
273
325
|
* Whether to allow the alert priority to be configured via the value of the `ogPriority` annotation on the alert.
|
|
274
326
|
*/
|
|
275
327
|
overridePriority?: boolean;
|
|
328
|
+
/**
|
|
329
|
+
* Teams, users, escalations and schedules that the alert will be routed to send notifications. If the API Key belongs to a team integration, this field will be overwritten with the owner team. This feature is available from Grafana 10.3+.
|
|
330
|
+
*/
|
|
331
|
+
responders?: outputs.ContactPointOpsgenyResponder[];
|
|
276
332
|
/**
|
|
277
333
|
* Whether to send annotations to OpsGenie as Tags, Details, or both. Supported values are `tags`, `details`, `both`, or empty to use the default behavior of Tags.
|
|
278
334
|
*/
|
|
@@ -292,6 +348,24 @@ export interface ContactPointOpsgeny {
|
|
|
292
348
|
*/
|
|
293
349
|
url?: string;
|
|
294
350
|
}
|
|
351
|
+
export interface ContactPointOpsgenyResponder {
|
|
352
|
+
/**
|
|
353
|
+
* ID of the responder. Must be specified if name and username are empty.
|
|
354
|
+
*/
|
|
355
|
+
id?: string;
|
|
356
|
+
/**
|
|
357
|
+
* Name of the responder. Must be specified if username and id are empty.
|
|
358
|
+
*/
|
|
359
|
+
name?: string;
|
|
360
|
+
/**
|
|
361
|
+
* Type of the responder. Supported: team, teams, user, escalation, schedule or a template that is expanded to one of these values.
|
|
362
|
+
*/
|
|
363
|
+
type: string;
|
|
364
|
+
/**
|
|
365
|
+
* The user name to use when making a call to the Kafka REST Proxy
|
|
366
|
+
*/
|
|
367
|
+
username?: string;
|
|
368
|
+
}
|
|
295
369
|
export interface ContactPointPagerduty {
|
|
296
370
|
/**
|
|
297
371
|
* The class or type of event, for example `ping failure`.
|
|
@@ -522,6 +596,52 @@ export interface ContactPointSlack {
|
|
|
522
596
|
*/
|
|
523
597
|
username?: string;
|
|
524
598
|
}
|
|
599
|
+
export interface ContactPointSn {
|
|
600
|
+
/**
|
|
601
|
+
* AWS access key ID used to authenticate with Amazon SNS.
|
|
602
|
+
*/
|
|
603
|
+
accessKey?: string;
|
|
604
|
+
/**
|
|
605
|
+
* The Amazon Resource Name (ARN) of the role to assume to send notifications to Amazon SNS.
|
|
606
|
+
*/
|
|
607
|
+
assumeRoleArn?: string;
|
|
608
|
+
/**
|
|
609
|
+
* The authentication provider to use. Valid values are `default`, `arn` and `keys`. Default is `default`. Defaults to `default`.
|
|
610
|
+
*/
|
|
611
|
+
authProvider?: string;
|
|
612
|
+
body?: string;
|
|
613
|
+
/**
|
|
614
|
+
* Whether to disable sending resolve messages. Defaults to `false`.
|
|
615
|
+
*/
|
|
616
|
+
disableResolveMessage?: boolean;
|
|
617
|
+
/**
|
|
618
|
+
* The external ID to use when assuming the role.
|
|
619
|
+
*/
|
|
620
|
+
externalId?: string;
|
|
621
|
+
/**
|
|
622
|
+
* The format of the message to send. Valid values are `text`, `body` and `json`. Default is `text`. Defaults to `text`.
|
|
623
|
+
*/
|
|
624
|
+
messageFormat?: string;
|
|
625
|
+
/**
|
|
626
|
+
* AWS secret access key used to authenticate with Amazon SNS.
|
|
627
|
+
*/
|
|
628
|
+
secretKey?: string;
|
|
629
|
+
/**
|
|
630
|
+
* Additional custom properties to attach to the notifier. Defaults to `map[]`.
|
|
631
|
+
*/
|
|
632
|
+
settings?: {
|
|
633
|
+
[key: string]: string;
|
|
634
|
+
};
|
|
635
|
+
subject?: string;
|
|
636
|
+
/**
|
|
637
|
+
* The Amazon SNS topic to send notifications to.
|
|
638
|
+
*/
|
|
639
|
+
topic: string;
|
|
640
|
+
/**
|
|
641
|
+
* The UID of the contact point.
|
|
642
|
+
*/
|
|
643
|
+
uid: string;
|
|
644
|
+
}
|
|
525
645
|
export interface ContactPointTeam {
|
|
526
646
|
/**
|
|
527
647
|
* Whether to disable sending resolve messages. Defaults to `false`.
|
|
@@ -822,7 +942,7 @@ export interface DataSourcePermissionPermission {
|
|
|
822
942
|
*/
|
|
823
943
|
builtInRole?: string;
|
|
824
944
|
/**
|
|
825
|
-
* Permission to associate with item. Options: `Query` or `
|
|
945
|
+
* Permission to associate with item. Options: `Query`, `Edit` or `Admin` (`Admin` can only be used with Grafana v10.3.0+).
|
|
826
946
|
*/
|
|
827
947
|
permission: string;
|
|
828
948
|
/**
|
|
@@ -870,6 +990,7 @@ export interface GetRolePermission {
|
|
|
870
990
|
export interface GetSlosSlo {
|
|
871
991
|
alertings: outputs.GetSlosSloAlerting[];
|
|
872
992
|
description: string;
|
|
993
|
+
destinationDatasources: outputs.GetSlosSloDestinationDatasource[];
|
|
873
994
|
labels: outputs.GetSlosSloLabel[];
|
|
874
995
|
name: string;
|
|
875
996
|
objectives: outputs.GetSlosSloObjective[];
|
|
@@ -914,6 +1035,9 @@ export interface GetSlosSloAlertingSlowburnLabel {
|
|
|
914
1035
|
key: string;
|
|
915
1036
|
value: string;
|
|
916
1037
|
}
|
|
1038
|
+
export interface GetSlosSloDestinationDatasource {
|
|
1039
|
+
uid?: string;
|
|
1040
|
+
}
|
|
917
1041
|
export interface GetSlosSloLabel {
|
|
918
1042
|
key: string;
|
|
919
1043
|
value: string;
|
|
@@ -939,6 +1063,7 @@ export interface GetTeamPreference {
|
|
|
939
1063
|
homeDashboardUid?: string;
|
|
940
1064
|
theme?: string;
|
|
941
1065
|
timezone?: string;
|
|
1066
|
+
weekStart?: string;
|
|
942
1067
|
}
|
|
943
1068
|
export interface GetTeamTeamSync {
|
|
944
1069
|
groups?: string[];
|
|
@@ -983,6 +1108,10 @@ export interface MuteTimingInterval {
|
|
|
983
1108
|
* An inclusive range of days, 1-31, within a month, e.g. "1" or "14:16". Negative values can be used to represent days counting from the end of a month, e.g. "-1".
|
|
984
1109
|
*/
|
|
985
1110
|
daysOfMonths?: string[];
|
|
1111
|
+
/**
|
|
1112
|
+
* Provides the time zone for the time interval. Must be a location in the IANA time zone database, e.g "America/New_York"
|
|
1113
|
+
*/
|
|
1114
|
+
location?: string;
|
|
986
1115
|
/**
|
|
987
1116
|
* An inclusive range of months, either numerical or full calendar month, e.g. "1:3", "december", or "may:august".
|
|
988
1117
|
*/
|
|
@@ -1440,6 +1569,32 @@ export interface PlaylistItem {
|
|
|
1440
1569
|
type?: string;
|
|
1441
1570
|
value?: string;
|
|
1442
1571
|
}
|
|
1572
|
+
export interface ReportDashboard {
|
|
1573
|
+
/**
|
|
1574
|
+
* Add report variables to the dashboard. Values should be separated by commas.
|
|
1575
|
+
*/
|
|
1576
|
+
reportVariables?: {
|
|
1577
|
+
[key: string]: any;
|
|
1578
|
+
};
|
|
1579
|
+
/**
|
|
1580
|
+
* Time range of the report.
|
|
1581
|
+
*/
|
|
1582
|
+
timeRange?: outputs.ReportDashboardTimeRange;
|
|
1583
|
+
/**
|
|
1584
|
+
* Dashboard uid.
|
|
1585
|
+
*/
|
|
1586
|
+
uid: string;
|
|
1587
|
+
}
|
|
1588
|
+
export interface ReportDashboardTimeRange {
|
|
1589
|
+
/**
|
|
1590
|
+
* Start of the time range.
|
|
1591
|
+
*/
|
|
1592
|
+
from?: string;
|
|
1593
|
+
/**
|
|
1594
|
+
* End of the time range.
|
|
1595
|
+
*/
|
|
1596
|
+
to?: string;
|
|
1597
|
+
}
|
|
1443
1598
|
export interface ReportSchedule {
|
|
1444
1599
|
/**
|
|
1445
1600
|
* Custom interval of the report.
|
|
@@ -1447,7 +1602,7 @@ export interface ReportSchedule {
|
|
|
1447
1602
|
*/
|
|
1448
1603
|
customInterval?: string;
|
|
1449
1604
|
/**
|
|
1450
|
-
* End time of the report. If empty, the report will be sent indefinitely (according to frequency). Note that times will be saved as UTC in Grafana.
|
|
1605
|
+
* End time of the report. If empty, the report will be sent indefinitely (according to frequency). Note that times will be saved as UTC in Grafana. Use 2006-01-02T15:04:05 format if you want to set a custom timezone
|
|
1451
1606
|
*/
|
|
1452
1607
|
endTime?: string;
|
|
1453
1608
|
/**
|
|
@@ -1459,9 +1614,13 @@ export interface ReportSchedule {
|
|
|
1459
1614
|
*/
|
|
1460
1615
|
lastDayOfMonth?: boolean;
|
|
1461
1616
|
/**
|
|
1462
|
-
* Start time of the report. If empty, the start date will be set to the creation time. Note that times will be saved as UTC in Grafana.
|
|
1617
|
+
* Start time of the report. If empty, the start date will be set to the creation time. Note that times will be saved as UTC in Grafana. Use 2006-01-02T15:04:05 format if you want to set a custom timezone
|
|
1463
1618
|
*/
|
|
1464
1619
|
startTime?: string;
|
|
1620
|
+
/**
|
|
1621
|
+
* Set the report time zone. Defaults to `GMT`.
|
|
1622
|
+
*/
|
|
1623
|
+
timezone?: string;
|
|
1465
1624
|
/**
|
|
1466
1625
|
* Whether to send the report only on work days. Defaults to `false`.
|
|
1467
1626
|
*/
|
|
@@ -1627,6 +1786,12 @@ export interface SLOAlertingSlowburnLabel {
|
|
|
1627
1786
|
key: string;
|
|
1628
1787
|
value: string;
|
|
1629
1788
|
}
|
|
1789
|
+
export interface SLODestinationDatasource {
|
|
1790
|
+
/**
|
|
1791
|
+
* UID for the Mimir Datasource
|
|
1792
|
+
*/
|
|
1793
|
+
uid?: string;
|
|
1794
|
+
}
|
|
1630
1795
|
export interface SLOLabel {
|
|
1631
1796
|
key: string;
|
|
1632
1797
|
value: string;
|
|
@@ -1683,6 +1848,162 @@ export interface ServiceAccountPermissionPermission {
|
|
|
1683
1848
|
*/
|
|
1684
1849
|
userId?: string;
|
|
1685
1850
|
}
|
|
1851
|
+
export interface SsoSettingsOauth2Settings {
|
|
1852
|
+
/**
|
|
1853
|
+
* If enabled, it will automatically sync the Grafana server administrator role.
|
|
1854
|
+
*/
|
|
1855
|
+
allowAssignGrafanaAdmin?: boolean;
|
|
1856
|
+
/**
|
|
1857
|
+
* If not enabled, only existing Grafana users can log in using OAuth.
|
|
1858
|
+
*/
|
|
1859
|
+
allowSignUp?: boolean;
|
|
1860
|
+
/**
|
|
1861
|
+
* List of comma- or space-separated domains. The user should belong to at least one domain to log in.
|
|
1862
|
+
*/
|
|
1863
|
+
allowedDomains?: string;
|
|
1864
|
+
/**
|
|
1865
|
+
* List of comma- or space-separated groups. The user should be a member of at least one group to log in. For Generic OAuth, if you configure allowed*groups, you must also configure groups*attribute_path.
|
|
1866
|
+
*/
|
|
1867
|
+
allowedGroups?: string;
|
|
1868
|
+
/**
|
|
1869
|
+
* List of comma- or space-separated organizations. The user should be a member of at least one organization to log in.
|
|
1870
|
+
*/
|
|
1871
|
+
allowedOrganizations?: string;
|
|
1872
|
+
/**
|
|
1873
|
+
* The user information endpoint of your OAuth2 provider. Required for azuread, okta and genericOauth providers.
|
|
1874
|
+
*/
|
|
1875
|
+
apiUrl?: string;
|
|
1876
|
+
/**
|
|
1877
|
+
* It determines how client*id and client*secret are sent to Oauth2 provider. Possible values are AutoDetect, InParams, InHeader. Default is AutoDetect.
|
|
1878
|
+
*/
|
|
1879
|
+
authStyle?: string;
|
|
1880
|
+
/**
|
|
1881
|
+
* The authorization endpoint of your OAuth2 provider. Required for azuread, okta and genericOauth providers.
|
|
1882
|
+
*/
|
|
1883
|
+
authUrl?: string;
|
|
1884
|
+
/**
|
|
1885
|
+
* Log in automatically, skipping the login screen.
|
|
1886
|
+
*/
|
|
1887
|
+
autoLogin?: boolean;
|
|
1888
|
+
/**
|
|
1889
|
+
* The client Id of your OAuth2 app.
|
|
1890
|
+
*/
|
|
1891
|
+
clientId: string;
|
|
1892
|
+
/**
|
|
1893
|
+
* The client secret of your OAuth2 app.
|
|
1894
|
+
*/
|
|
1895
|
+
clientSecret?: string;
|
|
1896
|
+
/**
|
|
1897
|
+
* Custom fields to configure for OAuth2 such as the [force*use*graph_api](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-authentication/azuread/#force-fetching-groups-from-microsoft-graph-api) field.
|
|
1898
|
+
*/
|
|
1899
|
+
custom?: {
|
|
1900
|
+
[key: string]: string;
|
|
1901
|
+
};
|
|
1902
|
+
/**
|
|
1903
|
+
* Define allowed groups.
|
|
1904
|
+
*/
|
|
1905
|
+
defineAllowedGroups?: boolean;
|
|
1906
|
+
/**
|
|
1907
|
+
* Define allowed teams ids.
|
|
1908
|
+
*/
|
|
1909
|
+
defineAllowedTeamsIds?: boolean;
|
|
1910
|
+
/**
|
|
1911
|
+
* Name of the key to use for user email lookup within the attributes map of OAuth2 ID token. Only applicable to Generic OAuth.
|
|
1912
|
+
*/
|
|
1913
|
+
emailAttributeName?: string;
|
|
1914
|
+
/**
|
|
1915
|
+
* JMESPath expression to use for user email lookup from the user information. Only applicable to Generic OAuth.
|
|
1916
|
+
*/
|
|
1917
|
+
emailAttributePath?: string;
|
|
1918
|
+
/**
|
|
1919
|
+
* If enabled, no scopes will be sent to the OAuth2 provider.
|
|
1920
|
+
*/
|
|
1921
|
+
emptyScopes?: boolean;
|
|
1922
|
+
/**
|
|
1923
|
+
* Define whether this configuration is enabled for the specified provider. Defaults to `true`.
|
|
1924
|
+
*/
|
|
1925
|
+
enabled?: boolean;
|
|
1926
|
+
/**
|
|
1927
|
+
* JMESPath expression to use for user group lookup. If you configure allowed*groups, you must also configure groups*attribute_path.
|
|
1928
|
+
*/
|
|
1929
|
+
groupsAttributePath?: string;
|
|
1930
|
+
/**
|
|
1931
|
+
* The name of the key used to extract the ID token from the returned OAuth2 token. Only applicable to Generic OAuth.
|
|
1932
|
+
*/
|
|
1933
|
+
idTokenAttributeName?: string;
|
|
1934
|
+
/**
|
|
1935
|
+
* JMESPath expression to use for user login lookup from the user ID token. Only applicable to Generic OAuth.
|
|
1936
|
+
*/
|
|
1937
|
+
loginAttributePath?: string;
|
|
1938
|
+
/**
|
|
1939
|
+
* Helpful if you use more than one identity providers or SSO protocols.
|
|
1940
|
+
*/
|
|
1941
|
+
name?: string;
|
|
1942
|
+
/**
|
|
1943
|
+
* JMESPath expression to use for user name lookup from the user ID token. This name will be used as the user’s display name. Only applicable to Generic OAuth.
|
|
1944
|
+
*/
|
|
1945
|
+
nameAttributePath?: string;
|
|
1946
|
+
/**
|
|
1947
|
+
* JMESPath expression to use for Grafana role lookup.
|
|
1948
|
+
*/
|
|
1949
|
+
roleAttributePath?: string;
|
|
1950
|
+
/**
|
|
1951
|
+
* If enabled, denies user login if the Grafana role cannot be extracted using Role attribute path.
|
|
1952
|
+
*/
|
|
1953
|
+
roleAttributeStrict?: boolean;
|
|
1954
|
+
/**
|
|
1955
|
+
* List of comma- or space-separated OAuth2 scopes.
|
|
1956
|
+
*/
|
|
1957
|
+
scopes?: string;
|
|
1958
|
+
/**
|
|
1959
|
+
* The URL to redirect the user to after signing out from Grafana.
|
|
1960
|
+
*/
|
|
1961
|
+
signoutRedirectUrl?: string;
|
|
1962
|
+
/**
|
|
1963
|
+
* Prevent synchronizing users’ organization roles from your IdP.
|
|
1964
|
+
*/
|
|
1965
|
+
skipOrgRoleSync?: boolean;
|
|
1966
|
+
/**
|
|
1967
|
+
* String list of Team Ids. If set, the user must be a member of one of the given teams to log in. If you configure team*ids, you must also configure teams*url and team*ids*attribute_path.
|
|
1968
|
+
*/
|
|
1969
|
+
teamIds?: string;
|
|
1970
|
+
/**
|
|
1971
|
+
* The JMESPath expression to use for Grafana Team Id lookup within the results returned by the teamsUrl endpoint. Only applicable to Generic OAuth.
|
|
1972
|
+
*/
|
|
1973
|
+
teamIdsAttributePath?: string;
|
|
1974
|
+
/**
|
|
1975
|
+
* The URL used to query for Team Ids. If not set, the default value is /teams. If you configure teams*url, you must also configure team*ids*attribute*path. Only applicable to Generic OAuth.
|
|
1976
|
+
*/
|
|
1977
|
+
teamsUrl?: string;
|
|
1978
|
+
/**
|
|
1979
|
+
* The path to the trusted certificate authority list. Is not applicable on Grafana Cloud.
|
|
1980
|
+
*/
|
|
1981
|
+
tlsClientCa?: string;
|
|
1982
|
+
/**
|
|
1983
|
+
* The path to the certificate. Is not applicable on Grafana Cloud.
|
|
1984
|
+
*/
|
|
1985
|
+
tlsClientCert?: string;
|
|
1986
|
+
/**
|
|
1987
|
+
* The path to the key. Is not applicable on Grafana Cloud.
|
|
1988
|
+
*/
|
|
1989
|
+
tlsClientKey?: string;
|
|
1990
|
+
/**
|
|
1991
|
+
* If enabled, the client accepts any certificate presented by the server and any host name in that certificate. You should only use this for testing, because this mode leaves SSL/TLS susceptible to man-in-the-middle attacks.
|
|
1992
|
+
*/
|
|
1993
|
+
tlsSkipVerifyInsecure?: boolean;
|
|
1994
|
+
/**
|
|
1995
|
+
* The token endpoint of your OAuth2 provider. Required for azuread, okta and genericOauth providers.
|
|
1996
|
+
*/
|
|
1997
|
+
tokenUrl?: string;
|
|
1998
|
+
/**
|
|
1999
|
+
* If enabled, Grafana will use Proof Key for Code Exchange (PKCE) with the OAuth2 Authorization Code Grant.
|
|
2000
|
+
*/
|
|
2001
|
+
usePkce?: boolean;
|
|
2002
|
+
/**
|
|
2003
|
+
* If enabled, Grafana will fetch a new access token using the refresh token provided by the OAuth2 provider.
|
|
2004
|
+
*/
|
|
2005
|
+
useRefreshToken?: boolean;
|
|
2006
|
+
}
|
|
1686
2007
|
export interface SyntheticMonitoringCheckSettings {
|
|
1687
2008
|
/**
|
|
1688
2009
|
* Settings for DNS check. The target must be a valid hostname (or IP address for `PTR` records).
|
|
@@ -1692,6 +2013,10 @@ export interface SyntheticMonitoringCheckSettings {
|
|
|
1692
2013
|
* Settings for HTTP check. The target must be a URL (http or https).
|
|
1693
2014
|
*/
|
|
1694
2015
|
http?: outputs.SyntheticMonitoringCheckSettingsHttp;
|
|
2016
|
+
/**
|
|
2017
|
+
* Settings for MultiHTTP check. The target must be a URL (http or https)
|
|
2018
|
+
*/
|
|
2019
|
+
multihttp?: outputs.SyntheticMonitoringCheckSettingsMultihttp;
|
|
1695
2020
|
/**
|
|
1696
2021
|
* Settings for ping (ICMP) check. The target must be a valid hostname or IP address.
|
|
1697
2022
|
*/
|
|
@@ -1834,6 +2159,10 @@ export interface SyntheticMonitoringCheckSettingsHttp {
|
|
|
1834
2159
|
* Do not follow redirects. Defaults to `false`.
|
|
1835
2160
|
*/
|
|
1836
2161
|
noFollowRedirects?: boolean;
|
|
2162
|
+
/**
|
|
2163
|
+
* The HTTP headers sent to the proxy URL
|
|
2164
|
+
*/
|
|
2165
|
+
proxyConnectHeaders?: string[];
|
|
1837
2166
|
/**
|
|
1838
2167
|
* Proxy URL.
|
|
1839
2168
|
*/
|
|
@@ -1911,6 +2240,119 @@ export interface SyntheticMonitoringCheckSettingsHttpTlsConfig {
|
|
|
1911
2240
|
*/
|
|
1912
2241
|
serverName?: string;
|
|
1913
2242
|
}
|
|
2243
|
+
export interface SyntheticMonitoringCheckSettingsMultihttp {
|
|
2244
|
+
entries?: outputs.SyntheticMonitoringCheckSettingsMultihttpEntry[];
|
|
2245
|
+
}
|
|
2246
|
+
export interface SyntheticMonitoringCheckSettingsMultihttpEntry {
|
|
2247
|
+
/**
|
|
2248
|
+
* Assertions to make on the request response
|
|
2249
|
+
*/
|
|
2250
|
+
assertions?: outputs.SyntheticMonitoringCheckSettingsMultihttpEntryAssertion[];
|
|
2251
|
+
/**
|
|
2252
|
+
* An individual MultiHTTP request
|
|
2253
|
+
*/
|
|
2254
|
+
request?: outputs.SyntheticMonitoringCheckSettingsMultihttpEntryRequest;
|
|
2255
|
+
/**
|
|
2256
|
+
* Variables to extract from the request response
|
|
2257
|
+
*/
|
|
2258
|
+
variables?: outputs.SyntheticMonitoringCheckSettingsMultihttpEntryVariable[];
|
|
2259
|
+
}
|
|
2260
|
+
export interface SyntheticMonitoringCheckSettingsMultihttpEntryAssertion {
|
|
2261
|
+
/**
|
|
2262
|
+
* The condition of the assertion: NOT*CONTAINS, EQUALS, STARTS*WITH, ENDS*WITH, TYPE*OF, CONTAINS
|
|
2263
|
+
*/
|
|
2264
|
+
condition?: string;
|
|
2265
|
+
/**
|
|
2266
|
+
* The expression of the assertion. Should start with $.
|
|
2267
|
+
*/
|
|
2268
|
+
expression?: string;
|
|
2269
|
+
/**
|
|
2270
|
+
* The subject of the assertion: RESPONSE*HEADERS, HTTP*STATUS*CODE, RESPONSE*BODY
|
|
2271
|
+
*/
|
|
2272
|
+
subject?: string;
|
|
2273
|
+
/**
|
|
2274
|
+
* The type of assertion to make: TEXT, JSON*PATH*VALUE, JSON*PATH*ASSERTION, REGEX_ASSERTION
|
|
2275
|
+
*/
|
|
2276
|
+
type: string;
|
|
2277
|
+
/**
|
|
2278
|
+
* The value of the assertion
|
|
2279
|
+
*/
|
|
2280
|
+
value?: string;
|
|
2281
|
+
}
|
|
2282
|
+
export interface SyntheticMonitoringCheckSettingsMultihttpEntryRequest {
|
|
2283
|
+
/**
|
|
2284
|
+
* The body of the HTTP request used in probe.
|
|
2285
|
+
*/
|
|
2286
|
+
bodies?: outputs.SyntheticMonitoringCheckSettingsMultihttpEntryRequestBody[];
|
|
2287
|
+
/**
|
|
2288
|
+
* The HTTP headers set for the probe.
|
|
2289
|
+
*/
|
|
2290
|
+
headers?: outputs.SyntheticMonitoringCheckSettingsMultihttpEntryRequestHeader[];
|
|
2291
|
+
/**
|
|
2292
|
+
* Request method. One of `GET`, `CONNECT`, `DELETE`, `HEAD`, `OPTIONS`, `POST`, `PUT`, `TRACE` Defaults to `GET`.
|
|
2293
|
+
*/
|
|
2294
|
+
method: string;
|
|
2295
|
+
/**
|
|
2296
|
+
* Query fields to send with the request
|
|
2297
|
+
*/
|
|
2298
|
+
queryFields?: outputs.SyntheticMonitoringCheckSettingsMultihttpEntryRequestQueryField[];
|
|
2299
|
+
/**
|
|
2300
|
+
* The URL for the request
|
|
2301
|
+
*/
|
|
2302
|
+
url: string;
|
|
2303
|
+
}
|
|
2304
|
+
export interface SyntheticMonitoringCheckSettingsMultihttpEntryRequestBody {
|
|
2305
|
+
/**
|
|
2306
|
+
* The content encoding of the body
|
|
2307
|
+
*/
|
|
2308
|
+
contentEncoding?: string;
|
|
2309
|
+
/**
|
|
2310
|
+
* The content type of the body
|
|
2311
|
+
*/
|
|
2312
|
+
contentType?: string;
|
|
2313
|
+
/**
|
|
2314
|
+
* The body payload
|
|
2315
|
+
*/
|
|
2316
|
+
payload?: string;
|
|
2317
|
+
}
|
|
2318
|
+
export interface SyntheticMonitoringCheckSettingsMultihttpEntryRequestHeader {
|
|
2319
|
+
/**
|
|
2320
|
+
* Name of the header to send
|
|
2321
|
+
*/
|
|
2322
|
+
name: string;
|
|
2323
|
+
/**
|
|
2324
|
+
* The value of the assertion
|
|
2325
|
+
*/
|
|
2326
|
+
value: string;
|
|
2327
|
+
}
|
|
2328
|
+
export interface SyntheticMonitoringCheckSettingsMultihttpEntryRequestQueryField {
|
|
2329
|
+
/**
|
|
2330
|
+
* Name of the header to send
|
|
2331
|
+
*/
|
|
2332
|
+
name: string;
|
|
2333
|
+
/**
|
|
2334
|
+
* The value of the assertion
|
|
2335
|
+
*/
|
|
2336
|
+
value: string;
|
|
2337
|
+
}
|
|
2338
|
+
export interface SyntheticMonitoringCheckSettingsMultihttpEntryVariable {
|
|
2339
|
+
/**
|
|
2340
|
+
* The attribute to use when finding the variable value. Only used when type is CSS_SELECTOR
|
|
2341
|
+
*/
|
|
2342
|
+
attribute?: string;
|
|
2343
|
+
/**
|
|
2344
|
+
* The expression of the assertion. Should start with $.
|
|
2345
|
+
*/
|
|
2346
|
+
expression?: string;
|
|
2347
|
+
/**
|
|
2348
|
+
* Name of the header to send
|
|
2349
|
+
*/
|
|
2350
|
+
name?: string;
|
|
2351
|
+
/**
|
|
2352
|
+
* The type of assertion to make: TEXT, JSON*PATH*VALUE, JSON*PATH*ASSERTION, REGEX_ASSERTION
|
|
2353
|
+
*/
|
|
2354
|
+
type: string;
|
|
2355
|
+
}
|
|
1914
2356
|
export interface SyntheticMonitoringCheckSettingsPing {
|
|
1915
2357
|
/**
|
|
1916
2358
|
* Set the DF-bit in the IP-header. Only works with ipV4. Defaults to `false`.
|
|
@@ -2005,6 +2447,7 @@ export interface TeamPreferences {
|
|
|
2005
2447
|
homeDashboardUid?: string;
|
|
2006
2448
|
theme?: string;
|
|
2007
2449
|
timezone?: string;
|
|
2450
|
+
weekStart?: string;
|
|
2008
2451
|
}
|
|
2009
2452
|
export interface TeamTeamSync {
|
|
2010
2453
|
groups?: string[];
|