@pulumiverse/grafana 0.5.0 → 0.5.1
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/annotation.d.ts +28 -3
- package/annotation.js +25 -0
- package/annotation.js.map +1 -1
- package/apiKey.d.ts +18 -0
- package/apiKey.js +18 -0
- package/apiKey.js.map +1 -1
- package/cloudAccessPolicy.d.ts +57 -15
- package/cloudAccessPolicy.js +51 -0
- package/cloudAccessPolicy.js.map +1 -1
- package/cloudAccessPolicyToken.d.ts +54 -9
- package/cloudAccessPolicyToken.js +51 -0
- package/cloudAccessPolicyToken.js.map +1 -1
- package/cloudApiKey.d.ts +35 -6
- package/cloudApiKey.js +32 -0
- package/cloudApiKey.js.map +1 -1
- package/cloudOrgMember.d.ts +9 -0
- package/cloudOrgMember.js +9 -0
- package/cloudOrgMember.js.map +1 -1
- package/cloudPluginInstallation.d.ts +32 -0
- package/cloudPluginInstallation.js +32 -0
- package/cloudPluginInstallation.js.map +1 -1
- package/cloudStack.d.ts +49 -38
- package/cloudStack.js +30 -0
- package/cloudStack.js.map +1 -1
- package/cloudStackServiceAccount.d.ts +36 -3
- package/cloudStackServiceAccount.js +33 -0
- package/cloudStackServiceAccount.js.map +1 -1
- package/cloudStackServiceAccountToken.d.ts +28 -0
- package/cloudStackServiceAccountToken.js +28 -0
- package/cloudStackServiceAccountToken.js.map +1 -1
- package/contactPoint.d.ts +44 -9
- package/contactPoint.js +38 -0
- package/contactPoint.js.map +1 -1
- package/dashboard.d.ts +44 -16
- package/dashboard.js +37 -0
- package/dashboard.js.map +1 -1
- package/dashboardPermission.d.ts +55 -3
- package/dashboardPermission.js +52 -0
- package/dashboardPermission.js.map +1 -1
- package/dashboardPermissionItem.d.ts +48 -0
- package/dashboardPermissionItem.js +48 -0
- package/dashboardPermissionItem.js.map +1 -1
- package/dashboardPublic.d.ts +73 -12
- package/dashboardPublic.js +67 -0
- package/dashboardPublic.js.map +1 -1
- package/dataSource.d.ts +102 -36
- package/dataSource.js +78 -0
- package/dataSource.js.map +1 -1
- package/dataSourceConfig.d.ts +69 -18
- package/dataSourceConfig.js +63 -0
- package/dataSourceConfig.js.map +1 -1
- package/dataSourcePermission.d.ts +66 -3
- package/dataSourcePermission.js +63 -0
- package/dataSourcePermission.js.map +1 -1
- package/dataSourcePermissionItem.d.ts +61 -0
- package/dataSourcePermissionItem.js +61 -0
- package/dataSourcePermissionItem.js.map +1 -1
- package/folder.d.ts +43 -9
- package/folder.js +37 -0
- package/folder.js.map +1 -1
- package/folderPermission.d.ts +49 -0
- package/folderPermission.js +49 -0
- package/folderPermission.js.map +1 -1
- package/folderPermissionItem.d.ts +47 -0
- package/folderPermissionItem.js +47 -0
- package/folderPermissionItem.js.map +1 -1
- package/getCloudIps.d.ts +43 -0
- package/getCloudIps.js +28 -0
- package/getCloudIps.js.map +1 -1
- package/getCloudOrganization.d.ts +37 -0
- package/getCloudOrganization.js +28 -0
- package/getCloudOrganization.js.map +1 -1
- package/getCloudStack.d.ts +84 -0
- package/getCloudStack.js +6 -0
- package/getCloudStack.js.map +1 -1
- package/getDashboard.d.ts +114 -0
- package/getDashboard.js +64 -0
- package/getDashboard.js.map +1 -1
- package/getDashboards.d.ts +56 -0
- package/getDashboards.js +14 -0
- package/getDashboards.js.map +1 -1
- package/getDataSource.d.ts +118 -0
- package/getDataSource.js +76 -0
- package/getDataSource.js.map +1 -1
- package/getFolder.d.ts +71 -0
- package/getFolder.js +44 -0
- package/getFolder.js.map +1 -1
- package/getFolders.d.ts +60 -0
- package/getFolders.js +48 -0
- package/getFolders.js.map +1 -1
- package/getLibraryPanel.d.ts +65 -0
- package/getLibraryPanel.js +6 -0
- package/getLibraryPanel.js.map +1 -1
- package/getOnCallSlackChannel.d.ts +44 -0
- package/getOnCallSlackChannel.js +32 -0
- package/getOnCallSlackChannel.js.map +1 -1
- package/getOncallAction.d.ts +21 -0
- package/getOncallAction.js +12 -0
- package/getOncallAction.js.map +1 -1
- package/getOncallEscalationChain.d.ts +41 -0
- package/getOncallEscalationChain.js +32 -0
- package/getOncallEscalationChain.js.map +1 -1
- package/getOncallIntegration.d.ts +44 -0
- package/getOncallIntegration.js +32 -0
- package/getOncallIntegration.js.map +1 -1
- package/getOncallOutgoingWebhook.d.ts +41 -0
- package/getOncallOutgoingWebhook.js +32 -0
- package/getOncallOutgoingWebhook.js.map +1 -1
- package/getOncallSchedule.d.ts +46 -0
- package/getOncallSchedule.js +34 -0
- package/getOncallSchedule.js.map +1 -1
- package/getOncallTeam.d.ts +37 -0
- package/getOncallTeam.js +28 -0
- package/getOncallTeam.js.map +1 -1
- package/getOncallUser.d.ts +47 -0
- package/getOncallUser.js +32 -0
- package/getOncallUser.js.map +1 -1
- package/getOncallUserGroup.d.ts +32 -0
- package/getOncallUserGroup.js +32 -0
- package/getOncallUserGroup.js.map +1 -1
- package/getOrganization.d.ts +70 -0
- package/getOrganization.js +52 -0
- package/getOrganization.js.map +1 -1
- package/getOrganizationPreferences.d.ts +53 -0
- package/getOrganizationPreferences.js +30 -0
- package/getOrganizationPreferences.js.map +1 -1
- package/getRole.d.ts +118 -0
- package/getRole.js +82 -0
- package/getRole.js.map +1 -1
- package/getServiceAccount.d.ts +32 -0
- package/getServiceAccount.js +8 -0
- package/getServiceAccount.js.map +1 -1
- package/getSlos.d.ts +17 -0
- package/getSlos.js +14 -0
- package/getSlos.js.map +1 -1
- package/getSyntheticMonitoringProbe.d.ts +62 -0
- package/getSyntheticMonitoringProbe.js +32 -0
- package/getSyntheticMonitoringProbe.js.map +1 -1
- package/getSyntheticMonitoringProbes.d.ts +40 -0
- package/getSyntheticMonitoringProbes.js +28 -0
- package/getSyntheticMonitoringProbes.js.map +1 -1
- package/getTeam.d.ts +50 -0
- package/getTeam.js +50 -0
- package/getTeam.js.map +1 -1
- package/getUser.d.ts +99 -0
- package/getUser.js +66 -0
- package/getUser.js.map +1 -1
- package/getUsers.d.ts +51 -0
- package/getUsers.js +48 -0
- package/getUsers.js.map +1 -1
- package/libraryPanel.d.ts +43 -12
- package/libraryPanel.js +37 -0
- package/libraryPanel.js.map +1 -1
- package/machineLearningHoliday.d.ts +14 -3
- package/machineLearningHoliday.js +11 -0
- package/machineLearningHoliday.js.map +1 -1
- package/machineLearningJob.d.ts +18 -12
- package/machineLearningJob.js +9 -0
- package/machineLearningJob.js.map +1 -1
- package/machineLearningOutlierDetector.d.ts +22 -12
- package/machineLearningOutlierDetector.js +13 -0
- package/machineLearningOutlierDetector.js.map +1 -1
- package/messageTemplate.d.ts +32 -0
- package/messageTemplate.js +32 -0
- package/messageTemplate.js.map +1 -1
- package/muteTiming.d.ts +51 -0
- package/muteTiming.js +51 -0
- package/muteTiming.js.map +1 -1
- package/notificationPolicy.d.ts +98 -9
- package/notificationPolicy.js +92 -0
- package/notificationPolicy.js.map +1 -1
- package/oncallEscalation.d.ts +81 -41
- package/oncallEscalation.js +52 -0
- package/oncallEscalation.js.map +1 -1
- package/oncallEscalationChain.d.ts +25 -6
- package/oncallEscalationChain.js +22 -0
- package/oncallEscalationChain.js.map +1 -1
- package/oncallIntegration.d.ts +16 -15
- package/oncallIntegration.js +10 -0
- package/oncallIntegration.js.map +1 -1
- package/oncallOnCallShift.d.ts +30 -27
- package/oncallOnCallShift.js +9 -0
- package/oncallOnCallShift.js.map +1 -1
- package/oncallOutgoingWebhook.d.ts +34 -21
- package/oncallOutgoingWebhook.js +22 -0
- package/oncallOutgoingWebhook.js.map +1 -1
- package/oncallRoute.d.ts +49 -3
- package/oncallRoute.js +46 -0
- package/oncallRoute.js.map +1 -1
- package/oncallSchedule.d.ts +49 -9
- package/oncallSchedule.js +43 -0
- package/oncallSchedule.js.map +1 -1
- package/organization.d.ts +94 -39
- package/organization.js +37 -0
- package/organization.js.map +1 -1
- package/organizationPreference.d.ts +31 -9
- package/organizationPreference.js +25 -0
- package/organizationPreference.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/playlist.d.ts +41 -0
- package/playlist.js +41 -0
- package/playlist.js.map +1 -1
- package/report.d.ts +56 -15
- package/report.js +41 -0
- package/report.js.map +1 -1
- package/role.d.ts +58 -15
- package/role.js +46 -0
- package/role.js.map +1 -1
- package/roleAssignment.d.ts +48 -0
- package/roleAssignment.js +48 -0
- package/roleAssignment.js.map +1 -1
- package/roleAssignmentItem.d.ts +51 -0
- package/roleAssignmentItem.js +51 -0
- package/roleAssignmentItem.js.map +1 -1
- package/ruleGroup.d.ts +117 -9
- package/ruleGroup.js +111 -0
- package/ruleGroup.js.map +1 -1
- package/serviceAccount.d.ts +33 -3
- package/serviceAccount.js +30 -0
- package/serviceAccount.js.map +1 -1
- package/serviceAccountPermission.d.ts +50 -0
- package/serviceAccountPermission.js +50 -0
- package/serviceAccountPermission.js.map +1 -1
- package/serviceAccountPermissionItem.d.ts +44 -0
- package/serviceAccountPermissionItem.js +44 -0
- package/serviceAccountPermissionItem.js.map +1 -1
- package/serviceAccountToken.d.ts +27 -9
- package/serviceAccountToken.js +24 -0
- package/serviceAccountToken.js.map +1 -1
- package/slo.d.ts +39 -27
- package/slo.js +15 -0
- package/slo.js.map +1 -1
- package/ssoSettings.d.ts +75 -3
- package/ssoSettings.js +72 -0
- package/ssoSettings.js.map +1 -1
- package/syntheticMonitoringCheck.d.ts +431 -36
- package/syntheticMonitoringCheck.js +413 -0
- package/syntheticMonitoringCheck.js.map +1 -1
- package/syntheticMonitoringInstallation.d.ts +75 -24
- package/syntheticMonitoringInstallation.js +69 -0
- package/syntheticMonitoringInstallation.js.map +1 -1
- package/syntheticMonitoringProbe.d.ts +39 -6
- package/syntheticMonitoringProbe.js +36 -0
- package/syntheticMonitoringProbe.js.map +1 -1
- package/team.d.ts +33 -0
- package/team.js +33 -0
- package/team.js.map +1 -1
- package/teamExternalGroup.d.ts +31 -0
- package/teamExternalGroup.js +31 -0
- package/teamExternalGroup.js.map +1 -1
- package/types/input.d.ts +123 -123
- package/types/output.d.ts +123 -123
- package/user.d.ts +33 -3
- package/user.js +30 -0
- package/user.js.map +1 -1
|
@@ -5,6 +5,50 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.ServiceAccountPermissionItem = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages a single permission item for a service account. Conflicts with the "grafana.ServiceAccountPermission" resource which manages the entire set of permissions for a service account.
|
|
10
|
+
* * [Official documentation](https://grafana.com/docs/grafana/latest/administration/service-accounts/#manage-users-and-teams-permissions-for-a-service-account-in-grafana)
|
|
11
|
+
*
|
|
12
|
+
* ## Example Usage
|
|
13
|
+
*
|
|
14
|
+
* <!--Start PulumiCodeChooser -->
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as grafana from "@pulumiverse/grafana";
|
|
18
|
+
*
|
|
19
|
+
* const test = new grafana.ServiceAccount("test", {
|
|
20
|
+
* role: "Editor",
|
|
21
|
+
* isDisabled: false,
|
|
22
|
+
* });
|
|
23
|
+
* const team = new grafana.Team("team", {});
|
|
24
|
+
* const user = new grafana.User("user", {
|
|
25
|
+
* email: "user.name@example.com",
|
|
26
|
+
* login: "user.name",
|
|
27
|
+
* password: "my-password",
|
|
28
|
+
* });
|
|
29
|
+
* const onTeam = new grafana.ServiceAccountPermissionItem("onTeam", {
|
|
30
|
+
* serviceAccountId: test.id,
|
|
31
|
+
* team: team.id,
|
|
32
|
+
* permission: "Admin",
|
|
33
|
+
* });
|
|
34
|
+
* const onUser = new grafana.ServiceAccountPermissionItem("onUser", {
|
|
35
|
+
* serviceAccountId: test.id,
|
|
36
|
+
* user: user.id,
|
|
37
|
+
* permission: "Admin",
|
|
38
|
+
* });
|
|
39
|
+
* ```
|
|
40
|
+
* <!--End PulumiCodeChooser -->
|
|
41
|
+
*
|
|
42
|
+
* ## Import
|
|
43
|
+
*
|
|
44
|
+
* ```sh
|
|
45
|
+
* $ pulumi import grafana:index/serviceAccountPermissionItem:ServiceAccountPermissionItem name "{{ serviceAccountID }}:{{ type (role, team, or user) }}:{{ identifier }}"
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* ```sh
|
|
49
|
+
* $ pulumi import grafana:index/serviceAccountPermissionItem:ServiceAccountPermissionItem name "{{ orgID }}:{{ serviceAccountID }}:{{ type (role, team, or user) }}:{{ identifier }}"
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
8
52
|
class ServiceAccountPermissionItem extends pulumi.CustomResource {
|
|
9
53
|
/**
|
|
10
54
|
* Get an existing ServiceAccountPermissionItem resource's state with the given name, ID, and optional extra
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serviceAccountPermissionItem.js","sourceRoot":"","sources":["../serviceAccountPermissionItem.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,4BAA6B,SAAQ,MAAM,CAAC,cAAc;IACnE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyC,EAAE,IAAmC;QACvI,OAAO,IAAI,4BAA4B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,4BAA4B,CAAC,YAAY,CAAC;IAC7E,CAAC;IA+BD,YAAY,IAAY,EAAE,WAAkF,EAAE,IAAmC;QAC7I,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WA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c,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,4BAA4B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjF,CAAC;;AAnFL,oEAoFC;AAtEG,gBAAgB;AACO,yCAAY,GAAG,yEAAyE,CAAC"}
|
package/serviceAccountToken.d.ts
CHANGED
|
@@ -1,4 +1,28 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* **Note:** This resource is available only with Grafana 9.1+.
|
|
4
|
+
*
|
|
5
|
+
* * [Official documentation](https://grafana.com/docs/grafana/latest/administration/service-accounts/)
|
|
6
|
+
* * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/serviceaccount/#service-account-api)
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* <!--Start PulumiCodeChooser -->
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as grafana from "@pulumiverse/grafana";
|
|
14
|
+
*
|
|
15
|
+
* const test = new grafana.ServiceAccount("test", {role: "Viewer"});
|
|
16
|
+
* const foo = new grafana.ServiceAccountToken("foo", {serviceAccountId: test.id});
|
|
17
|
+
* const bar = new grafana.ServiceAccountToken("bar", {
|
|
18
|
+
* serviceAccountId: test.id,
|
|
19
|
+
* secondsToLive: 30,
|
|
20
|
+
* });
|
|
21
|
+
* export const serviceAccountTokenFooKeyOnly = foo.key;
|
|
22
|
+
* export const serviceAccountTokenBar = bar;
|
|
23
|
+
* ```
|
|
24
|
+
* <!--End PulumiCodeChooser -->
|
|
25
|
+
*/
|
|
2
26
|
export declare class ServiceAccountToken extends pulumi.CustomResource {
|
|
3
27
|
/**
|
|
4
28
|
* Get an existing ServiceAccountToken resource's state with the given name, ID, and optional extra
|
|
@@ -32,9 +56,7 @@ export declare class ServiceAccountToken extends pulumi.CustomResource {
|
|
|
32
56
|
*/
|
|
33
57
|
readonly name: pulumi.Output<string>;
|
|
34
58
|
/**
|
|
35
|
-
* The key expiration in seconds. It is optional. If it is a positive number an expiration date for the key is set. If it
|
|
36
|
-
* is null, zero or is omitted completely (unless `api_key_max_seconds_to_live` configuration option is set) the key will
|
|
37
|
-
* never expire.
|
|
59
|
+
* The key expiration in seconds. It is optional. If it is a positive number an expiration date for the key is set. If it is null, zero or is omitted completely (unless `apiKeyMaxSecondsToLive` configuration option is set) the key will never expire.
|
|
38
60
|
*/
|
|
39
61
|
readonly secondsToLive: pulumi.Output<number | undefined>;
|
|
40
62
|
/**
|
|
@@ -71,9 +93,7 @@ export interface ServiceAccountTokenState {
|
|
|
71
93
|
*/
|
|
72
94
|
name?: pulumi.Input<string>;
|
|
73
95
|
/**
|
|
74
|
-
* The key expiration in seconds. It is optional. If it is a positive number an expiration date for the key is set. If it
|
|
75
|
-
* is null, zero or is omitted completely (unless `api_key_max_seconds_to_live` configuration option is set) the key will
|
|
76
|
-
* never expire.
|
|
96
|
+
* The key expiration in seconds. It is optional. If it is a positive number an expiration date for the key is set. If it is null, zero or is omitted completely (unless `apiKeyMaxSecondsToLive` configuration option is set) the key will never expire.
|
|
77
97
|
*/
|
|
78
98
|
secondsToLive?: pulumi.Input<number>;
|
|
79
99
|
/**
|
|
@@ -90,9 +110,7 @@ export interface ServiceAccountTokenArgs {
|
|
|
90
110
|
*/
|
|
91
111
|
name?: pulumi.Input<string>;
|
|
92
112
|
/**
|
|
93
|
-
* The key expiration in seconds. It is optional. If it is a positive number an expiration date for the key is set. If it
|
|
94
|
-
* is null, zero or is omitted completely (unless `api_key_max_seconds_to_live` configuration option is set) the key will
|
|
95
|
-
* never expire.
|
|
113
|
+
* The key expiration in seconds. It is optional. If it is a positive number an expiration date for the key is set. If it is null, zero or is omitted completely (unless `apiKeyMaxSecondsToLive` configuration option is set) the key will never expire.
|
|
96
114
|
*/
|
|
97
115
|
secondsToLive?: pulumi.Input<number>;
|
|
98
116
|
/**
|
package/serviceAccountToken.js
CHANGED
|
@@ -5,6 +5,30 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.ServiceAccountToken = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* **Note:** This resource is available only with Grafana 9.1+.
|
|
10
|
+
*
|
|
11
|
+
* * [Official documentation](https://grafana.com/docs/grafana/latest/administration/service-accounts/)
|
|
12
|
+
* * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/serviceaccount/#service-account-api)
|
|
13
|
+
*
|
|
14
|
+
* ## Example Usage
|
|
15
|
+
*
|
|
16
|
+
* <!--Start PulumiCodeChooser -->
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as grafana from "@pulumiverse/grafana";
|
|
20
|
+
*
|
|
21
|
+
* const test = new grafana.ServiceAccount("test", {role: "Viewer"});
|
|
22
|
+
* const foo = new grafana.ServiceAccountToken("foo", {serviceAccountId: test.id});
|
|
23
|
+
* const bar = new grafana.ServiceAccountToken("bar", {
|
|
24
|
+
* serviceAccountId: test.id,
|
|
25
|
+
* secondsToLive: 30,
|
|
26
|
+
* });
|
|
27
|
+
* export const serviceAccountTokenFooKeyOnly = foo.key;
|
|
28
|
+
* export const serviceAccountTokenBar = bar;
|
|
29
|
+
* ```
|
|
30
|
+
* <!--End PulumiCodeChooser -->
|
|
31
|
+
*/
|
|
8
32
|
class ServiceAccountToken extends pulumi.CustomResource {
|
|
9
33
|
/**
|
|
10
34
|
* Get an existing ServiceAccountToken resource's state with the given name, ID, and optional extra
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serviceAccountToken.js","sourceRoot":"","sources":["../serviceAccountToken.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;
|
|
1
|
+
{"version":3,"file":"serviceAccountToken.js","sourceRoot":"","sources":["../serviceAccountToken.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,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2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Resource manages Grafana SLOs.
|
|
6
|
+
*
|
|
7
|
+
* * [Official documentation](https://grafana.com/docs/grafana-cloud/alerting-and-irm/slo/)
|
|
8
|
+
* * [API documentation](https://grafana.com/docs/grafana-cloud/alerting-and-irm/slo/api/)
|
|
9
|
+
* * [Additional Information On Alerting Rule Annotations and Labels](https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/#templating/)
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ## Import
|
|
14
|
+
*
|
|
15
|
+
* ```sh
|
|
16
|
+
* $ pulumi import grafana:index/sLO:SLO name "{{ uuid }}"
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
4
19
|
export declare class SLO extends pulumi.CustomResource {
|
|
5
20
|
/**
|
|
6
21
|
* Get an existing SLO resource's state with the given name, ID, and optional extra
|
|
@@ -18,9 +33,11 @@ export declare class SLO extends pulumi.CustomResource {
|
|
|
18
33
|
*/
|
|
19
34
|
static isInstance(obj: any): obj is SLO;
|
|
20
35
|
/**
|
|
21
|
-
* Configures the alerting rules that will be generated for each
|
|
22
|
-
*
|
|
23
|
-
* when the
|
|
36
|
+
* Configures the alerting rules that will be generated for each
|
|
37
|
+
* time window associated with the SLO. Grafana SLOs can generate
|
|
38
|
+
* alerts when the short-term error budget burn is very high, the
|
|
39
|
+
* long-term error budget burn rate is high, or when the remaining
|
|
40
|
+
* error budget is below a certain threshold. Annotations and Labels support templating.
|
|
24
41
|
*/
|
|
25
42
|
readonly alertings: pulumi.Output<outputs.SLOAlerting[] | undefined>;
|
|
26
43
|
/**
|
|
@@ -32,9 +49,7 @@ export declare class SLO extends pulumi.CustomResource {
|
|
|
32
49
|
*/
|
|
33
50
|
readonly destinationDatasource: pulumi.Output<outputs.SLODestinationDatasource | undefined>;
|
|
34
51
|
/**
|
|
35
|
-
*
|
|
36
|
-
* SLOs in dashboard views that you create by hand. Labels must adhere to Prometheus label name schema -
|
|
37
|
-
* "^[a-zA-Z_][a-zA-Z0-9_]*$"
|
|
52
|
+
* Labels to attach only to Fast Burn alerts.
|
|
38
53
|
*/
|
|
39
54
|
readonly labels: pulumi.Output<outputs.SLOLabel[] | undefined>;
|
|
40
55
|
/**
|
|
@@ -42,12 +57,11 @@ export declare class SLO extends pulumi.CustomResource {
|
|
|
42
57
|
*/
|
|
43
58
|
readonly name: pulumi.Output<string>;
|
|
44
59
|
/**
|
|
45
|
-
* Over each rolling time window, the remaining error budget will be calculated, and separate alerts can be generated for
|
|
46
|
-
* each time window based on the SLO burn rate or remaining error budget.
|
|
60
|
+
* Over each rolling time window, the remaining error budget will be calculated, and separate alerts can be generated for each time window based on the SLO burn rate or remaining error budget.
|
|
47
61
|
*/
|
|
48
62
|
readonly objectives: pulumi.Output<outputs.SLOObjective[]>;
|
|
49
63
|
/**
|
|
50
|
-
*
|
|
64
|
+
* Freeform Query Field
|
|
51
65
|
*/
|
|
52
66
|
readonly queries: pulumi.Output<outputs.SLOQuery[]>;
|
|
53
67
|
/**
|
|
@@ -64,9 +78,11 @@ export declare class SLO extends pulumi.CustomResource {
|
|
|
64
78
|
*/
|
|
65
79
|
export interface SLOState {
|
|
66
80
|
/**
|
|
67
|
-
* Configures the alerting rules that will be generated for each
|
|
68
|
-
*
|
|
69
|
-
* when the
|
|
81
|
+
* Configures the alerting rules that will be generated for each
|
|
82
|
+
* time window associated with the SLO. Grafana SLOs can generate
|
|
83
|
+
* alerts when the short-term error budget burn is very high, the
|
|
84
|
+
* long-term error budget burn rate is high, or when the remaining
|
|
85
|
+
* error budget is below a certain threshold. Annotations and Labels support templating.
|
|
70
86
|
*/
|
|
71
87
|
alertings?: pulumi.Input<pulumi.Input<inputs.SLOAlerting>[]>;
|
|
72
88
|
/**
|
|
@@ -78,9 +94,7 @@ export interface SLOState {
|
|
|
78
94
|
*/
|
|
79
95
|
destinationDatasource?: pulumi.Input<inputs.SLODestinationDatasource>;
|
|
80
96
|
/**
|
|
81
|
-
*
|
|
82
|
-
* SLOs in dashboard views that you create by hand. Labels must adhere to Prometheus label name schema -
|
|
83
|
-
* "^[a-zA-Z_][a-zA-Z0-9_]*$"
|
|
97
|
+
* Labels to attach only to Fast Burn alerts.
|
|
84
98
|
*/
|
|
85
99
|
labels?: pulumi.Input<pulumi.Input<inputs.SLOLabel>[]>;
|
|
86
100
|
/**
|
|
@@ -88,12 +102,11 @@ export interface SLOState {
|
|
|
88
102
|
*/
|
|
89
103
|
name?: pulumi.Input<string>;
|
|
90
104
|
/**
|
|
91
|
-
* Over each rolling time window, the remaining error budget will be calculated, and separate alerts can be generated for
|
|
92
|
-
* each time window based on the SLO burn rate or remaining error budget.
|
|
105
|
+
* Over each rolling time window, the remaining error budget will be calculated, and separate alerts can be generated for each time window based on the SLO burn rate or remaining error budget.
|
|
93
106
|
*/
|
|
94
107
|
objectives?: pulumi.Input<pulumi.Input<inputs.SLOObjective>[]>;
|
|
95
108
|
/**
|
|
96
|
-
*
|
|
109
|
+
* Freeform Query Field
|
|
97
110
|
*/
|
|
98
111
|
queries?: pulumi.Input<pulumi.Input<inputs.SLOQuery>[]>;
|
|
99
112
|
}
|
|
@@ -102,9 +115,11 @@ export interface SLOState {
|
|
|
102
115
|
*/
|
|
103
116
|
export interface SLOArgs {
|
|
104
117
|
/**
|
|
105
|
-
* Configures the alerting rules that will be generated for each
|
|
106
|
-
*
|
|
107
|
-
* when the
|
|
118
|
+
* Configures the alerting rules that will be generated for each
|
|
119
|
+
* time window associated with the SLO. Grafana SLOs can generate
|
|
120
|
+
* alerts when the short-term error budget burn is very high, the
|
|
121
|
+
* long-term error budget burn rate is high, or when the remaining
|
|
122
|
+
* error budget is below a certain threshold. Annotations and Labels support templating.
|
|
108
123
|
*/
|
|
109
124
|
alertings?: pulumi.Input<pulumi.Input<inputs.SLOAlerting>[]>;
|
|
110
125
|
/**
|
|
@@ -116,9 +131,7 @@ export interface SLOArgs {
|
|
|
116
131
|
*/
|
|
117
132
|
destinationDatasource?: pulumi.Input<inputs.SLODestinationDatasource>;
|
|
118
133
|
/**
|
|
119
|
-
*
|
|
120
|
-
* SLOs in dashboard views that you create by hand. Labels must adhere to Prometheus label name schema -
|
|
121
|
-
* "^[a-zA-Z_][a-zA-Z0-9_]*$"
|
|
134
|
+
* Labels to attach only to Fast Burn alerts.
|
|
122
135
|
*/
|
|
123
136
|
labels?: pulumi.Input<pulumi.Input<inputs.SLOLabel>[]>;
|
|
124
137
|
/**
|
|
@@ -126,12 +139,11 @@ export interface SLOArgs {
|
|
|
126
139
|
*/
|
|
127
140
|
name?: pulumi.Input<string>;
|
|
128
141
|
/**
|
|
129
|
-
* Over each rolling time window, the remaining error budget will be calculated, and separate alerts can be generated for
|
|
130
|
-
* each time window based on the SLO burn rate or remaining error budget.
|
|
142
|
+
* Over each rolling time window, the remaining error budget will be calculated, and separate alerts can be generated for each time window based on the SLO burn rate or remaining error budget.
|
|
131
143
|
*/
|
|
132
144
|
objectives: pulumi.Input<pulumi.Input<inputs.SLOObjective>[]>;
|
|
133
145
|
/**
|
|
134
|
-
*
|
|
146
|
+
* Freeform Query Field
|
|
135
147
|
*/
|
|
136
148
|
queries: pulumi.Input<pulumi.Input<inputs.SLOQuery>[]>;
|
|
137
149
|
}
|
package/slo.js
CHANGED
|
@@ -5,6 +5,21 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.SLO = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource manages Grafana SLOs.
|
|
10
|
+
*
|
|
11
|
+
* * [Official documentation](https://grafana.com/docs/grafana-cloud/alerting-and-irm/slo/)
|
|
12
|
+
* * [API documentation](https://grafana.com/docs/grafana-cloud/alerting-and-irm/slo/api/)
|
|
13
|
+
* * [Additional Information On Alerting Rule Annotations and Labels](https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/#templating/)
|
|
14
|
+
*
|
|
15
|
+
* ## Example Usage
|
|
16
|
+
*
|
|
17
|
+
* ## Import
|
|
18
|
+
*
|
|
19
|
+
* ```sh
|
|
20
|
+
* $ pulumi import grafana:index/sLO:SLO name "{{ uuid }}"
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
8
23
|
class SLO extends pulumi.CustomResource {
|
|
9
24
|
/**
|
|
10
25
|
* Get an existing SLO resource's state with the given name, ID, and optional extra
|
package/slo.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slo.js","sourceRoot":"","sources":["../slo.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,MAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAC1C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgB,EAAE,IAAmC;QAC9G,OAAO,IAAI,GAAG,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,GAAG,CAAC,YAAY,CAAC;IACpD,CAAC;
|
|
1
|
+
{"version":3,"file":"slo.js","sourceRoot":"","sources":["../slo.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,MAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAC1C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,K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CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,GAAG,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;;AAtGL,kBAuGC;AAzFG,gBAAgB;AACO,gBAAY,GAAG,uBAAuB,CAAC"}
|
package/ssoSettings.d.ts
CHANGED
|
@@ -1,6 +1,78 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Manages Grafana SSO Settings for OAuth2 and SAML. Support for SAML is currently in preview, it will be available in Grafana Enterprise starting with v11.1.
|
|
6
|
+
*
|
|
7
|
+
* * [Official documentation](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-authentication/)
|
|
8
|
+
* * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/sso-settings/)
|
|
9
|
+
*
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* <!--Start PulumiCodeChooser -->
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as grafana from "@pulumiverse/grafana";
|
|
16
|
+
*
|
|
17
|
+
* // Configure SSO for GitHub using OAuth2
|
|
18
|
+
* const githubSsoSettings = new grafana.SsoSettings("githubSsoSettings", {
|
|
19
|
+
* oauth2Settings: {
|
|
20
|
+
* allowSignUp: true,
|
|
21
|
+
* allowedDomains: "mycompany.com mycompany.org",
|
|
22
|
+
* allowedOrganizations: "[\"My Organization\", \"Octocats\"]",
|
|
23
|
+
* autoLogin: false,
|
|
24
|
+
* clientId: "<your GitHub app client id>",
|
|
25
|
+
* clientSecret: "<your GitHub app client secret>",
|
|
26
|
+
* name: "Github",
|
|
27
|
+
* scopes: "user:email,read:org",
|
|
28
|
+
* teamIds: "150,300",
|
|
29
|
+
* },
|
|
30
|
+
* providerName: "github",
|
|
31
|
+
* });
|
|
32
|
+
* // Configure SSO using generic OAuth2
|
|
33
|
+
* const genericSsoSettings = new grafana.SsoSettings("genericSsoSettings", {
|
|
34
|
+
* oauth2Settings: {
|
|
35
|
+
* allowSignUp: true,
|
|
36
|
+
* apiUrl: "https://<domain>/userinfo",
|
|
37
|
+
* authUrl: "https://<domain>/authorize",
|
|
38
|
+
* autoLogin: false,
|
|
39
|
+
* clientId: "<client id>",
|
|
40
|
+
* clientSecret: "<client secret>",
|
|
41
|
+
* name: "Auth0",
|
|
42
|
+
* scopes: "openid profile email offline_access",
|
|
43
|
+
* tokenUrl: "https://<domain>/oauth/token",
|
|
44
|
+
* usePkce: true,
|
|
45
|
+
* useRefreshToken: true,
|
|
46
|
+
* },
|
|
47
|
+
* providerName: "generic_oauth",
|
|
48
|
+
* });
|
|
49
|
+
* // Configure SSO using SAML
|
|
50
|
+
* const samlSsoSettings = new grafana.SsoSettings("samlSsoSettings", {
|
|
51
|
+
* providerName: "saml",
|
|
52
|
+
* samlSettings: {
|
|
53
|
+
* allowSignUp: true,
|
|
54
|
+
* assertionAttributeEmail: "email",
|
|
55
|
+
* assertionAttributeLogin: "login",
|
|
56
|
+
* certificatePath: "devenv/docker/blocks/auth/saml-enterprise/cert.crt",
|
|
57
|
+
* idpMetadataUrl: "https://nexus.microsoftonline-p.com/federationmetadata/saml20/federationmetadata.xml",
|
|
58
|
+
* nameIdFormat: "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress",
|
|
59
|
+
* privateKeyPath: "devenv/docker/blocks/auth/saml-enterprise/key.pem",
|
|
60
|
+
* signatureAlgorithm: "rsa-sha256",
|
|
61
|
+
* },
|
|
62
|
+
* });
|
|
63
|
+
* ```
|
|
64
|
+
* <!--End PulumiCodeChooser -->
|
|
65
|
+
*
|
|
66
|
+
* ## Import
|
|
67
|
+
*
|
|
68
|
+
* ```sh
|
|
69
|
+
* $ pulumi import grafana:index/ssoSettings:SsoSettings name "{{ provider }}"
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* ```sh
|
|
73
|
+
* $ pulumi import grafana:index/ssoSettings:SsoSettings name "{{ orgID }}:{{ provider }}"
|
|
74
|
+
* ```
|
|
75
|
+
*/
|
|
4
76
|
export declare class SsoSettings extends pulumi.CustomResource {
|
|
5
77
|
/**
|
|
6
78
|
* Get an existing SsoSettings resource's state with the given name, ID, and optional extra
|
|
@@ -18,7 +90,7 @@ export declare class SsoSettings extends pulumi.CustomResource {
|
|
|
18
90
|
*/
|
|
19
91
|
static isInstance(obj: any): obj is SsoSettings;
|
|
20
92
|
/**
|
|
21
|
-
* The OAuth2 settings set. Required for github, gitlab, google, azuread, okta,
|
|
93
|
+
* The OAuth2 settings set. Required for github, gitlab, google, azuread, okta, generic*oauth providers.
|
|
22
94
|
*/
|
|
23
95
|
readonly oauth2Settings: pulumi.Output<outputs.SsoSettingsOauth2Settings | undefined>;
|
|
24
96
|
/**
|
|
@@ -43,7 +115,7 @@ export declare class SsoSettings extends pulumi.CustomResource {
|
|
|
43
115
|
*/
|
|
44
116
|
export interface SsoSettingsState {
|
|
45
117
|
/**
|
|
46
|
-
* The OAuth2 settings set. Required for github, gitlab, google, azuread, okta,
|
|
118
|
+
* The OAuth2 settings set. Required for github, gitlab, google, azuread, okta, generic*oauth providers.
|
|
47
119
|
*/
|
|
48
120
|
oauth2Settings?: pulumi.Input<inputs.SsoSettingsOauth2Settings>;
|
|
49
121
|
/**
|
|
@@ -60,7 +132,7 @@ export interface SsoSettingsState {
|
|
|
60
132
|
*/
|
|
61
133
|
export interface SsoSettingsArgs {
|
|
62
134
|
/**
|
|
63
|
-
* The OAuth2 settings set. Required for github, gitlab, google, azuread, okta,
|
|
135
|
+
* The OAuth2 settings set. Required for github, gitlab, google, azuread, okta, generic*oauth providers.
|
|
64
136
|
*/
|
|
65
137
|
oauth2Settings?: pulumi.Input<inputs.SsoSettingsOauth2Settings>;
|
|
66
138
|
/**
|
package/ssoSettings.js
CHANGED
|
@@ -5,6 +5,78 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.SsoSettings = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages Grafana SSO Settings for OAuth2 and SAML. Support for SAML is currently in preview, it will be available in Grafana Enterprise starting with v11.1.
|
|
10
|
+
*
|
|
11
|
+
* * [Official documentation](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-authentication/)
|
|
12
|
+
* * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/sso-settings/)
|
|
13
|
+
*
|
|
14
|
+
* ## Example Usage
|
|
15
|
+
*
|
|
16
|
+
* <!--Start PulumiCodeChooser -->
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as grafana from "@pulumiverse/grafana";
|
|
20
|
+
*
|
|
21
|
+
* // Configure SSO for GitHub using OAuth2
|
|
22
|
+
* const githubSsoSettings = new grafana.SsoSettings("githubSsoSettings", {
|
|
23
|
+
* oauth2Settings: {
|
|
24
|
+
* allowSignUp: true,
|
|
25
|
+
* allowedDomains: "mycompany.com mycompany.org",
|
|
26
|
+
* allowedOrganizations: "[\"My Organization\", \"Octocats\"]",
|
|
27
|
+
* autoLogin: false,
|
|
28
|
+
* clientId: "<your GitHub app client id>",
|
|
29
|
+
* clientSecret: "<your GitHub app client secret>",
|
|
30
|
+
* name: "Github",
|
|
31
|
+
* scopes: "user:email,read:org",
|
|
32
|
+
* teamIds: "150,300",
|
|
33
|
+
* },
|
|
34
|
+
* providerName: "github",
|
|
35
|
+
* });
|
|
36
|
+
* // Configure SSO using generic OAuth2
|
|
37
|
+
* const genericSsoSettings = new grafana.SsoSettings("genericSsoSettings", {
|
|
38
|
+
* oauth2Settings: {
|
|
39
|
+
* allowSignUp: true,
|
|
40
|
+
* apiUrl: "https://<domain>/userinfo",
|
|
41
|
+
* authUrl: "https://<domain>/authorize",
|
|
42
|
+
* autoLogin: false,
|
|
43
|
+
* clientId: "<client id>",
|
|
44
|
+
* clientSecret: "<client secret>",
|
|
45
|
+
* name: "Auth0",
|
|
46
|
+
* scopes: "openid profile email offline_access",
|
|
47
|
+
* tokenUrl: "https://<domain>/oauth/token",
|
|
48
|
+
* usePkce: true,
|
|
49
|
+
* useRefreshToken: true,
|
|
50
|
+
* },
|
|
51
|
+
* providerName: "generic_oauth",
|
|
52
|
+
* });
|
|
53
|
+
* // Configure SSO using SAML
|
|
54
|
+
* const samlSsoSettings = new grafana.SsoSettings("samlSsoSettings", {
|
|
55
|
+
* providerName: "saml",
|
|
56
|
+
* samlSettings: {
|
|
57
|
+
* allowSignUp: true,
|
|
58
|
+
* assertionAttributeEmail: "email",
|
|
59
|
+
* assertionAttributeLogin: "login",
|
|
60
|
+
* certificatePath: "devenv/docker/blocks/auth/saml-enterprise/cert.crt",
|
|
61
|
+
* idpMetadataUrl: "https://nexus.microsoftonline-p.com/federationmetadata/saml20/federationmetadata.xml",
|
|
62
|
+
* nameIdFormat: "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress",
|
|
63
|
+
* privateKeyPath: "devenv/docker/blocks/auth/saml-enterprise/key.pem",
|
|
64
|
+
* signatureAlgorithm: "rsa-sha256",
|
|
65
|
+
* },
|
|
66
|
+
* });
|
|
67
|
+
* ```
|
|
68
|
+
* <!--End PulumiCodeChooser -->
|
|
69
|
+
*
|
|
70
|
+
* ## Import
|
|
71
|
+
*
|
|
72
|
+
* ```sh
|
|
73
|
+
* $ pulumi import grafana:index/ssoSettings:SsoSettings name "{{ provider }}"
|
|
74
|
+
* ```
|
|
75
|
+
*
|
|
76
|
+
* ```sh
|
|
77
|
+
* $ pulumi import grafana:index/ssoSettings:SsoSettings name "{{ orgID }}:{{ provider }}"
|
|
78
|
+
* ```
|
|
79
|
+
*/
|
|
8
80
|
class SsoSettings extends pulumi.CustomResource {
|
|
9
81
|
/**
|
|
10
82
|
* Get an existing SsoSettings resource's state with the given name, ID, and optional extra
|
package/ssoSettings.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ssoSettings.js","sourceRoot":"","sources":["../ssoSettings.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IAuBD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,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