@pulumi/datadog 4.56.0-alpha.1758001892 → 4.56.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/csmThreatsAgentRule.d.ts +1 -1
- package/csmThreatsAgentRule.js +1 -1
- package/csmThreatsPolicy.d.ts +1 -1
- package/csmThreatsPolicy.js +1 -1
- package/gcp/integration.d.ts +33 -7
- package/gcp/integration.js +2 -0
- package/gcp/integration.js.map +1 -1
- package/gcp/integrationSts.d.ts +35 -11
- package/gcp/integrationSts.js +2 -0
- package/gcp/integrationSts.js.map +1 -1
- package/getIncidentNotificationRule.d.ts +108 -0
- package/getIncidentNotificationRule.js +52 -0
- package/getIncidentNotificationRule.js.map +1 -0
- package/getIncidentNotificationTemplate.d.ts +94 -0
- package/getIncidentNotificationTemplate.js +54 -0
- package/getIncidentNotificationTemplate.js.map +1 -0
- package/incidentNotificationRule.d.ts +220 -0
- package/incidentNotificationRule.js +146 -0
- package/incidentNotificationRule.js.map +1 -0
- package/incidentNotificationTemplate.d.ts +169 -0
- package/incidentNotificationTemplate.js +133 -0
- package/incidentNotificationTemplate.js.map +1 -0
- package/index.d.ts +12 -0
- package/index.js +20 -3
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/securityMonitoringRule.d.ts +24 -0
- package/securityMonitoringRule.js +4 -0
- package/securityMonitoringRule.js.map +1 -1
- package/securityMonitoringSuppression.d.ts +12 -0
- package/securityMonitoringSuppression.js +2 -0
- package/securityMonitoringSuppression.js.map +1 -1
- package/types/input.d.ts +78 -0
- package/types/output.d.ts +108 -0
package/csmThreatsAgentRule.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
* Provides a Datadog CSM Threats Agent Rule API resource.
|
|
5
|
+
* Provides a Datadog Workload Protection (CSM Threats) Agent Rule API resource.
|
|
6
6
|
*
|
|
7
7
|
* ## Import
|
|
8
8
|
*
|
package/csmThreatsAgentRule.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.CsmThreatsAgentRule = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Provides a Datadog CSM Threats Agent Rule API resource.
|
|
9
|
+
* Provides a Datadog Workload Protection (CSM Threats) Agent Rule API resource.
|
|
10
10
|
*
|
|
11
11
|
* ## Import
|
|
12
12
|
*
|
package/csmThreatsPolicy.d.ts
CHANGED
package/csmThreatsPolicy.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.CsmThreatsPolicy = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Provides a Datadog CSM Threats policy API resource.
|
|
9
|
+
* Provides a Datadog Workload Protection (CSM Threats) policy API resource.
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
package/gcp/integration.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
2
4
|
/**
|
|
3
5
|
* This resource is deprecated—use the `datadog.gcp.IntegrationSts` resource instead. Provides a Datadog - Google Cloud Platform integration resource. This can be used to create and manage Datadog - Google Cloud Platform integration.
|
|
4
6
|
*
|
|
@@ -41,15 +43,19 @@ export declare class Integration extends pulumi.CustomResource {
|
|
|
41
43
|
*/
|
|
42
44
|
readonly clientId: pulumi.Output<string>;
|
|
43
45
|
/**
|
|
44
|
-
*
|
|
46
|
+
* List of filters to limit the Cloud Run revisions that are pulled into Datadog by using tags. Only Cloud Run revision resources that apply to specified filters are imported into Datadog.
|
|
47
|
+
*
|
|
48
|
+
* @deprecated **Note:** This field is deprecated. Instead, use `monitoredResourceConfigs` with `type=cloud_run_revision`
|
|
45
49
|
*/
|
|
46
|
-
readonly cloudRunRevisionFilters: pulumi.Output<string[]
|
|
50
|
+
readonly cloudRunRevisionFilters: pulumi.Output<string[]>;
|
|
47
51
|
/**
|
|
48
52
|
* Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires `resourceCollectionEnabled` to also be enabled. Defaults to `false`.
|
|
49
53
|
*/
|
|
50
54
|
readonly cspmResourceCollectionEnabled: pulumi.Output<boolean>;
|
|
51
55
|
/**
|
|
52
|
-
*
|
|
56
|
+
* List of filters to limit the VM instances that are pulled into Datadog by using tags. Only VM instance resources that apply to specified filters are imported into Datadog. Defaults to `""`.
|
|
57
|
+
*
|
|
58
|
+
* @deprecated **Note:** This field is deprecated. Instead, use `monitoredResourceConfigs` with `type=gce_instance`
|
|
53
59
|
*/
|
|
54
60
|
readonly hostFilters: pulumi.Output<string>;
|
|
55
61
|
/**
|
|
@@ -60,6 +66,10 @@ export declare class Integration extends pulumi.CustomResource {
|
|
|
60
66
|
* When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`.
|
|
61
67
|
*/
|
|
62
68
|
readonly isSecurityCommandCenterEnabled: pulumi.Output<boolean>;
|
|
69
|
+
/**
|
|
70
|
+
* Configurations for GCP monitored resources. Only monitored resources that apply to specified filters are imported into Datadog.
|
|
71
|
+
*/
|
|
72
|
+
readonly monitoredResourceConfigs: pulumi.Output<outputs.gcp.IntegrationMonitoredResourceConfig[]>;
|
|
63
73
|
/**
|
|
64
74
|
* Your private key name found in your JSON service account key.
|
|
65
75
|
*/
|
|
@@ -102,7 +112,9 @@ export interface IntegrationState {
|
|
|
102
112
|
*/
|
|
103
113
|
clientId?: pulumi.Input<string>;
|
|
104
114
|
/**
|
|
105
|
-
*
|
|
115
|
+
* List of filters to limit the Cloud Run revisions that are pulled into Datadog by using tags. Only Cloud Run revision resources that apply to specified filters are imported into Datadog.
|
|
116
|
+
*
|
|
117
|
+
* @deprecated **Note:** This field is deprecated. Instead, use `monitoredResourceConfigs` with `type=cloud_run_revision`
|
|
106
118
|
*/
|
|
107
119
|
cloudRunRevisionFilters?: pulumi.Input<pulumi.Input<string>[]>;
|
|
108
120
|
/**
|
|
@@ -110,7 +122,9 @@ export interface IntegrationState {
|
|
|
110
122
|
*/
|
|
111
123
|
cspmResourceCollectionEnabled?: pulumi.Input<boolean>;
|
|
112
124
|
/**
|
|
113
|
-
*
|
|
125
|
+
* List of filters to limit the VM instances that are pulled into Datadog by using tags. Only VM instance resources that apply to specified filters are imported into Datadog. Defaults to `""`.
|
|
126
|
+
*
|
|
127
|
+
* @deprecated **Note:** This field is deprecated. Instead, use `monitoredResourceConfigs` with `type=gce_instance`
|
|
114
128
|
*/
|
|
115
129
|
hostFilters?: pulumi.Input<string>;
|
|
116
130
|
/**
|
|
@@ -121,6 +135,10 @@ export interface IntegrationState {
|
|
|
121
135
|
* When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`.
|
|
122
136
|
*/
|
|
123
137
|
isSecurityCommandCenterEnabled?: pulumi.Input<boolean>;
|
|
138
|
+
/**
|
|
139
|
+
* Configurations for GCP monitored resources. Only monitored resources that apply to specified filters are imported into Datadog.
|
|
140
|
+
*/
|
|
141
|
+
monitoredResourceConfigs?: pulumi.Input<pulumi.Input<inputs.gcp.IntegrationMonitoredResourceConfig>[]>;
|
|
124
142
|
/**
|
|
125
143
|
* Your private key name found in your JSON service account key.
|
|
126
144
|
*/
|
|
@@ -155,7 +173,9 @@ export interface IntegrationArgs {
|
|
|
155
173
|
*/
|
|
156
174
|
clientId: pulumi.Input<string>;
|
|
157
175
|
/**
|
|
158
|
-
*
|
|
176
|
+
* List of filters to limit the Cloud Run revisions that are pulled into Datadog by using tags. Only Cloud Run revision resources that apply to specified filters are imported into Datadog.
|
|
177
|
+
*
|
|
178
|
+
* @deprecated **Note:** This field is deprecated. Instead, use `monitoredResourceConfigs` with `type=cloud_run_revision`
|
|
159
179
|
*/
|
|
160
180
|
cloudRunRevisionFilters?: pulumi.Input<pulumi.Input<string>[]>;
|
|
161
181
|
/**
|
|
@@ -163,7 +183,9 @@ export interface IntegrationArgs {
|
|
|
163
183
|
*/
|
|
164
184
|
cspmResourceCollectionEnabled?: pulumi.Input<boolean>;
|
|
165
185
|
/**
|
|
166
|
-
*
|
|
186
|
+
* List of filters to limit the VM instances that are pulled into Datadog by using tags. Only VM instance resources that apply to specified filters are imported into Datadog. Defaults to `""`.
|
|
187
|
+
*
|
|
188
|
+
* @deprecated **Note:** This field is deprecated. Instead, use `monitoredResourceConfigs` with `type=gce_instance`
|
|
167
189
|
*/
|
|
168
190
|
hostFilters?: pulumi.Input<string>;
|
|
169
191
|
/**
|
|
@@ -174,6 +196,10 @@ export interface IntegrationArgs {
|
|
|
174
196
|
* When enabled, Datadog will attempt to collect Security Command Center Findings. Note: This requires additional permissions on the service account. Defaults to `false`.
|
|
175
197
|
*/
|
|
176
198
|
isSecurityCommandCenterEnabled?: pulumi.Input<boolean>;
|
|
199
|
+
/**
|
|
200
|
+
* Configurations for GCP monitored resources. Only monitored resources that apply to specified filters are imported into Datadog.
|
|
201
|
+
*/
|
|
202
|
+
monitoredResourceConfigs?: pulumi.Input<pulumi.Input<inputs.gcp.IntegrationMonitoredResourceConfig>[]>;
|
|
177
203
|
/**
|
|
178
204
|
* Your private key name found in your JSON service account key.
|
|
179
205
|
*/
|
package/gcp/integration.js
CHANGED
|
@@ -54,6 +54,7 @@ class Integration extends pulumi.CustomResource {
|
|
|
54
54
|
resourceInputs["hostFilters"] = state?.hostFilters;
|
|
55
55
|
resourceInputs["isResourceChangeCollectionEnabled"] = state?.isResourceChangeCollectionEnabled;
|
|
56
56
|
resourceInputs["isSecurityCommandCenterEnabled"] = state?.isSecurityCommandCenterEnabled;
|
|
57
|
+
resourceInputs["monitoredResourceConfigs"] = state?.monitoredResourceConfigs;
|
|
57
58
|
resourceInputs["privateKey"] = state?.privateKey;
|
|
58
59
|
resourceInputs["privateKeyId"] = state?.privateKeyId;
|
|
59
60
|
resourceInputs["projectId"] = state?.projectId;
|
|
@@ -84,6 +85,7 @@ class Integration extends pulumi.CustomResource {
|
|
|
84
85
|
resourceInputs["hostFilters"] = args?.hostFilters;
|
|
85
86
|
resourceInputs["isResourceChangeCollectionEnabled"] = args?.isResourceChangeCollectionEnabled;
|
|
86
87
|
resourceInputs["isSecurityCommandCenterEnabled"] = args?.isSecurityCommandCenterEnabled;
|
|
88
|
+
resourceInputs["monitoredResourceConfigs"] = args?.monitoredResourceConfigs;
|
|
87
89
|
resourceInputs["privateKey"] = args?.privateKey ? pulumi.secret(args.privateKey) : undefined;
|
|
88
90
|
resourceInputs["privateKeyId"] = args?.privateKeyId;
|
|
89
91
|
resourceInputs["projectId"] = args?.projectId;
|
package/gcp/integration.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integration.js","sourceRoot":"","sources":["../../gcp/integration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"integration.js","sourceRoot":"","sources":["../../gcp/integration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,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,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,O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,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YAC7F,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,2BAA2B,CAAC,GAAG,IAAI,EAAE,yBAAyB,CAAC;SACjF;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,YAAY,CAAC,EAAE,CAAC;QAC/D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAlJL,kCAmJC;AArIG,gBAAgB;AACO,wBAAY,GAAG,qCAAqC,CAAC"}
|
package/gcp/integrationSts.d.ts
CHANGED
|
@@ -41,17 +41,21 @@ export declare class IntegrationSts extends pulumi.CustomResource {
|
|
|
41
41
|
*/
|
|
42
42
|
readonly clientEmail: pulumi.Output<string>;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* List of filters to limit the Cloud Run revisions that are pulled into Datadog by using tags. Only Cloud Run revision resources that apply to specified filters are imported into Datadog.
|
|
45
|
+
*
|
|
46
|
+
* @deprecated **Note:** This field is deprecated. Instead, use `monitoredResourceConfigs` with `type=cloud_run_revision`
|
|
45
47
|
*/
|
|
46
|
-
readonly cloudRunRevisionFilters: pulumi.Output<string[]
|
|
48
|
+
readonly cloudRunRevisionFilters: pulumi.Output<string[]>;
|
|
47
49
|
/**
|
|
48
50
|
* Datadog's STS Delegate Email.
|
|
49
51
|
*/
|
|
50
52
|
readonly delegateAccountEmail: pulumi.Output<string>;
|
|
51
53
|
/**
|
|
52
|
-
*
|
|
54
|
+
* List of filters to limit the VM instances that are pulled into Datadog by using tags. Only VM instance resources that apply to specified filters are imported into Datadog.
|
|
55
|
+
*
|
|
56
|
+
* @deprecated **Note:** This field is deprecated. Instead, use `monitoredResourceConfigs` with `type=gce_instance`
|
|
53
57
|
*/
|
|
54
|
-
readonly hostFilters: pulumi.Output<string[]
|
|
58
|
+
readonly hostFilters: pulumi.Output<string[]>;
|
|
55
59
|
/**
|
|
56
60
|
* Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires `resourceCollectionEnabled` to also be enabled.
|
|
57
61
|
*/
|
|
@@ -69,9 +73,13 @@ export declare class IntegrationSts extends pulumi.CustomResource {
|
|
|
69
73
|
*/
|
|
70
74
|
readonly isSecurityCommandCenterEnabled: pulumi.Output<boolean>;
|
|
71
75
|
/**
|
|
72
|
-
*
|
|
76
|
+
* Configurations for GCP metric namespaces.
|
|
73
77
|
*/
|
|
74
78
|
readonly metricNamespaceConfigs: pulumi.Output<outputs.gcp.IntegrationStsMetricNamespaceConfig[] | undefined>;
|
|
79
|
+
/**
|
|
80
|
+
* Configurations for GCP monitored resources. Only monitored resources that apply to specified filters are imported into Datadog.
|
|
81
|
+
*/
|
|
82
|
+
readonly monitoredResourceConfigs: pulumi.Output<outputs.gcp.IntegrationStsMonitoredResourceConfig[]>;
|
|
75
83
|
/**
|
|
76
84
|
* When enabled, Datadog scans for all resources in your GCP environment.
|
|
77
85
|
*/
|
|
@@ -102,7 +110,9 @@ export interface IntegrationStsState {
|
|
|
102
110
|
*/
|
|
103
111
|
clientEmail?: pulumi.Input<string>;
|
|
104
112
|
/**
|
|
105
|
-
*
|
|
113
|
+
* List of filters to limit the Cloud Run revisions that are pulled into Datadog by using tags. Only Cloud Run revision resources that apply to specified filters are imported into Datadog.
|
|
114
|
+
*
|
|
115
|
+
* @deprecated **Note:** This field is deprecated. Instead, use `monitoredResourceConfigs` with `type=cloud_run_revision`
|
|
106
116
|
*/
|
|
107
117
|
cloudRunRevisionFilters?: pulumi.Input<pulumi.Input<string>[]>;
|
|
108
118
|
/**
|
|
@@ -110,7 +120,9 @@ export interface IntegrationStsState {
|
|
|
110
120
|
*/
|
|
111
121
|
delegateAccountEmail?: pulumi.Input<string>;
|
|
112
122
|
/**
|
|
113
|
-
*
|
|
123
|
+
* List of filters to limit the VM instances that are pulled into Datadog by using tags. Only VM instance resources that apply to specified filters are imported into Datadog.
|
|
124
|
+
*
|
|
125
|
+
* @deprecated **Note:** This field is deprecated. Instead, use `monitoredResourceConfigs` with `type=gce_instance`
|
|
114
126
|
*/
|
|
115
127
|
hostFilters?: pulumi.Input<pulumi.Input<string>[]>;
|
|
116
128
|
/**
|
|
@@ -130,9 +142,13 @@ export interface IntegrationStsState {
|
|
|
130
142
|
*/
|
|
131
143
|
isSecurityCommandCenterEnabled?: pulumi.Input<boolean>;
|
|
132
144
|
/**
|
|
133
|
-
*
|
|
145
|
+
* Configurations for GCP metric namespaces.
|
|
134
146
|
*/
|
|
135
147
|
metricNamespaceConfigs?: pulumi.Input<pulumi.Input<inputs.gcp.IntegrationStsMetricNamespaceConfig>[]>;
|
|
148
|
+
/**
|
|
149
|
+
* Configurations for GCP monitored resources. Only monitored resources that apply to specified filters are imported into Datadog.
|
|
150
|
+
*/
|
|
151
|
+
monitoredResourceConfigs?: pulumi.Input<pulumi.Input<inputs.gcp.IntegrationStsMonitoredResourceConfig>[]>;
|
|
136
152
|
/**
|
|
137
153
|
* When enabled, Datadog scans for all resources in your GCP environment.
|
|
138
154
|
*/
|
|
@@ -155,11 +171,15 @@ export interface IntegrationStsArgs {
|
|
|
155
171
|
*/
|
|
156
172
|
clientEmail: pulumi.Input<string>;
|
|
157
173
|
/**
|
|
158
|
-
*
|
|
174
|
+
* List of filters to limit the Cloud Run revisions that are pulled into Datadog by using tags. Only Cloud Run revision resources that apply to specified filters are imported into Datadog.
|
|
175
|
+
*
|
|
176
|
+
* @deprecated **Note:** This field is deprecated. Instead, use `monitoredResourceConfigs` with `type=cloud_run_revision`
|
|
159
177
|
*/
|
|
160
178
|
cloudRunRevisionFilters?: pulumi.Input<pulumi.Input<string>[]>;
|
|
161
179
|
/**
|
|
162
|
-
*
|
|
180
|
+
* List of filters to limit the VM instances that are pulled into Datadog by using tags. Only VM instance resources that apply to specified filters are imported into Datadog.
|
|
181
|
+
*
|
|
182
|
+
* @deprecated **Note:** This field is deprecated. Instead, use `monitoredResourceConfigs` with `type=gce_instance`
|
|
163
183
|
*/
|
|
164
184
|
hostFilters?: pulumi.Input<pulumi.Input<string>[]>;
|
|
165
185
|
/**
|
|
@@ -179,9 +199,13 @@ export interface IntegrationStsArgs {
|
|
|
179
199
|
*/
|
|
180
200
|
isSecurityCommandCenterEnabled?: pulumi.Input<boolean>;
|
|
181
201
|
/**
|
|
182
|
-
*
|
|
202
|
+
* Configurations for GCP metric namespaces.
|
|
183
203
|
*/
|
|
184
204
|
metricNamespaceConfigs?: pulumi.Input<pulumi.Input<inputs.gcp.IntegrationStsMetricNamespaceConfig>[]>;
|
|
205
|
+
/**
|
|
206
|
+
* Configurations for GCP monitored resources. Only monitored resources that apply to specified filters are imported into Datadog.
|
|
207
|
+
*/
|
|
208
|
+
monitoredResourceConfigs?: pulumi.Input<pulumi.Input<inputs.gcp.IntegrationStsMonitoredResourceConfig>[]>;
|
|
185
209
|
/**
|
|
186
210
|
* When enabled, Datadog scans for all resources in your GCP environment.
|
|
187
211
|
*/
|
package/gcp/integrationSts.js
CHANGED
|
@@ -55,6 +55,7 @@ class IntegrationSts extends pulumi.CustomResource {
|
|
|
55
55
|
resourceInputs["isResourceChangeCollectionEnabled"] = state?.isResourceChangeCollectionEnabled;
|
|
56
56
|
resourceInputs["isSecurityCommandCenterEnabled"] = state?.isSecurityCommandCenterEnabled;
|
|
57
57
|
resourceInputs["metricNamespaceConfigs"] = state?.metricNamespaceConfigs;
|
|
58
|
+
resourceInputs["monitoredResourceConfigs"] = state?.monitoredResourceConfigs;
|
|
58
59
|
resourceInputs["resourceCollectionEnabled"] = state?.resourceCollectionEnabled;
|
|
59
60
|
}
|
|
60
61
|
else {
|
|
@@ -72,6 +73,7 @@ class IntegrationSts extends pulumi.CustomResource {
|
|
|
72
73
|
resourceInputs["isResourceChangeCollectionEnabled"] = args?.isResourceChangeCollectionEnabled;
|
|
73
74
|
resourceInputs["isSecurityCommandCenterEnabled"] = args?.isSecurityCommandCenterEnabled;
|
|
74
75
|
resourceInputs["metricNamespaceConfigs"] = args?.metricNamespaceConfigs;
|
|
76
|
+
resourceInputs["monitoredResourceConfigs"] = args?.monitoredResourceConfigs;
|
|
75
77
|
resourceInputs["resourceCollectionEnabled"] = args?.resourceCollectionEnabled;
|
|
76
78
|
resourceInputs["delegateAccountEmail"] = undefined /*out*/;
|
|
77
79
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrationSts.js","sourceRoot":"","sources":["../../gcp/integrationSts.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;GAUG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACrE,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,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;
|
|
1
|
+
{"version":3,"file":"integrationSts.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YACxE,cAAc,CAAC,0BAA0B,CAAC,GAAG,IAAI,EAAE,wBAAwB,CAAC;YAC5E,cAAc,CAAC,2BAA2B,CAAC,GAAG,IAAI,EAAE,yBAAyB,CAAC;YAC9E,cAAc,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AApIL,wCAqIC;AAvHG,gBAAgB;AACO,2BAAY,GAAG,2CAA2C,CAAC"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Use this data source to retrieve information about an existing incident notification rule.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as datadog from "@pulumi/datadog";
|
|
12
|
+
*
|
|
13
|
+
* const example = datadog.getIncidentNotificationRule({
|
|
14
|
+
* id: "00000000-0000-0000-0000-000000000000",
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare function getIncidentNotificationRule(args: GetIncidentNotificationRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetIncidentNotificationRuleResult>;
|
|
19
|
+
/**
|
|
20
|
+
* A collection of arguments for invoking getIncidentNotificationRule.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetIncidentNotificationRuleArgs {
|
|
23
|
+
/**
|
|
24
|
+
* The conditions that trigger this notification rule.
|
|
25
|
+
*/
|
|
26
|
+
conditions?: inputs.GetIncidentNotificationRuleCondition[];
|
|
27
|
+
/**
|
|
28
|
+
* The ID of the incident notification rule.
|
|
29
|
+
*/
|
|
30
|
+
id: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* A collection of values returned by getIncidentNotificationRule.
|
|
34
|
+
*/
|
|
35
|
+
export interface GetIncidentNotificationRuleResult {
|
|
36
|
+
/**
|
|
37
|
+
* The conditions that trigger this notification rule.
|
|
38
|
+
*/
|
|
39
|
+
readonly conditions?: outputs.GetIncidentNotificationRuleCondition[];
|
|
40
|
+
/**
|
|
41
|
+
* Timestamp when the notification rule was created.
|
|
42
|
+
*/
|
|
43
|
+
readonly created: string;
|
|
44
|
+
/**
|
|
45
|
+
* Whether the notification rule is enabled.
|
|
46
|
+
*/
|
|
47
|
+
readonly enabled: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* The notification handles (targets) for this rule.
|
|
50
|
+
*/
|
|
51
|
+
readonly handles: string[];
|
|
52
|
+
/**
|
|
53
|
+
* The ID of the incident notification rule.
|
|
54
|
+
*/
|
|
55
|
+
readonly id: string;
|
|
56
|
+
/**
|
|
57
|
+
* The ID of the incident type this notification rule is associated with.
|
|
58
|
+
*/
|
|
59
|
+
readonly incidentType: string;
|
|
60
|
+
/**
|
|
61
|
+
* Timestamp when the notification rule was last modified.
|
|
62
|
+
*/
|
|
63
|
+
readonly modified: string;
|
|
64
|
+
/**
|
|
65
|
+
* The ID of the notification template used by this rule.
|
|
66
|
+
*/
|
|
67
|
+
readonly notificationTemplate: string;
|
|
68
|
+
/**
|
|
69
|
+
* List of incident fields that trigger re-notification when changed.
|
|
70
|
+
*/
|
|
71
|
+
readonly renotifyOns: string[];
|
|
72
|
+
/**
|
|
73
|
+
* The trigger event for this notification rule.
|
|
74
|
+
*/
|
|
75
|
+
readonly trigger: string;
|
|
76
|
+
/**
|
|
77
|
+
* The visibility of the notification rule. Valid values are: all, organization, private.
|
|
78
|
+
*/
|
|
79
|
+
readonly visibility: string;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Use this data source to retrieve information about an existing incident notification rule.
|
|
83
|
+
*
|
|
84
|
+
* ## Example Usage
|
|
85
|
+
*
|
|
86
|
+
* ```typescript
|
|
87
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
88
|
+
* import * as datadog from "@pulumi/datadog";
|
|
89
|
+
*
|
|
90
|
+
* const example = datadog.getIncidentNotificationRule({
|
|
91
|
+
* id: "00000000-0000-0000-0000-000000000000",
|
|
92
|
+
* });
|
|
93
|
+
* ```
|
|
94
|
+
*/
|
|
95
|
+
export declare function getIncidentNotificationRuleOutput(args: GetIncidentNotificationRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIncidentNotificationRuleResult>;
|
|
96
|
+
/**
|
|
97
|
+
* A collection of arguments for invoking getIncidentNotificationRule.
|
|
98
|
+
*/
|
|
99
|
+
export interface GetIncidentNotificationRuleOutputArgs {
|
|
100
|
+
/**
|
|
101
|
+
* The conditions that trigger this notification rule.
|
|
102
|
+
*/
|
|
103
|
+
conditions?: pulumi.Input<pulumi.Input<inputs.GetIncidentNotificationRuleConditionArgs>[]>;
|
|
104
|
+
/**
|
|
105
|
+
* The ID of the incident notification rule.
|
|
106
|
+
*/
|
|
107
|
+
id: pulumi.Input<string>;
|
|
108
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getIncidentNotificationRuleOutput = exports.getIncidentNotificationRule = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to retrieve information about an existing incident notification rule.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as datadog from "@pulumi/datadog";
|
|
16
|
+
*
|
|
17
|
+
* const example = datadog.getIncidentNotificationRule({
|
|
18
|
+
* id: "00000000-0000-0000-0000-000000000000",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
function getIncidentNotificationRule(args, opts) {
|
|
23
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
24
|
+
return pulumi.runtime.invoke("datadog:index/getIncidentNotificationRule:getIncidentNotificationRule", {
|
|
25
|
+
"conditions": args.conditions,
|
|
26
|
+
"id": args.id,
|
|
27
|
+
}, opts);
|
|
28
|
+
}
|
|
29
|
+
exports.getIncidentNotificationRule = getIncidentNotificationRule;
|
|
30
|
+
/**
|
|
31
|
+
* Use this data source to retrieve information about an existing incident notification rule.
|
|
32
|
+
*
|
|
33
|
+
* ## Example Usage
|
|
34
|
+
*
|
|
35
|
+
* ```typescript
|
|
36
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
37
|
+
* import * as datadog from "@pulumi/datadog";
|
|
38
|
+
*
|
|
39
|
+
* const example = datadog.getIncidentNotificationRule({
|
|
40
|
+
* id: "00000000-0000-0000-0000-000000000000",
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
function getIncidentNotificationRuleOutput(args, opts) {
|
|
45
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
46
|
+
return pulumi.runtime.invokeOutput("datadog:index/getIncidentNotificationRule:getIncidentNotificationRule", {
|
|
47
|
+
"conditions": args.conditions,
|
|
48
|
+
"id": args.id,
|
|
49
|
+
}, opts);
|
|
50
|
+
}
|
|
51
|
+
exports.getIncidentNotificationRuleOutput = getIncidentNotificationRuleOutput;
|
|
52
|
+
//# sourceMappingURL=getIncidentNotificationRule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getIncidentNotificationRule.js","sourceRoot":"","sources":["../getIncidentNotificationRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAC1G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uEAAuE,EAAE;QAClG,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kEAMC;AAiED;;;;;;;;;;;;;GAaG;AACH,SAAgB,iCAAiC,CAAC,IAA2C,EAAE,IAAiC;IAC5H,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,uEAAuE,EAAE;QACxG,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8EAMC"}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Use this data source to retrieve information about an existing incident notification template.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as datadog from "@pulumi/datadog";
|
|
10
|
+
*
|
|
11
|
+
* const example = datadog.getIncidentNotificationTemplate({
|
|
12
|
+
* id: "52600bb1-e83a-48a1-aa77-6889ddb269b2",
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function getIncidentNotificationTemplate(args?: GetIncidentNotificationTemplateArgs, opts?: pulumi.InvokeOptions): Promise<GetIncidentNotificationTemplateResult>;
|
|
17
|
+
/**
|
|
18
|
+
* A collection of arguments for invoking getIncidentNotificationTemplate.
|
|
19
|
+
*/
|
|
20
|
+
export interface GetIncidentNotificationTemplateArgs {
|
|
21
|
+
/**
|
|
22
|
+
* The ID of the incident notification template.
|
|
23
|
+
*/
|
|
24
|
+
id?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The name of the notification template.
|
|
27
|
+
*/
|
|
28
|
+
name?: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* A collection of values returned by getIncidentNotificationTemplate.
|
|
32
|
+
*/
|
|
33
|
+
export interface GetIncidentNotificationTemplateResult {
|
|
34
|
+
/**
|
|
35
|
+
* The category of the notification template.
|
|
36
|
+
*/
|
|
37
|
+
readonly category: string;
|
|
38
|
+
/**
|
|
39
|
+
* The content body of the notification template.
|
|
40
|
+
*/
|
|
41
|
+
readonly content: string;
|
|
42
|
+
/**
|
|
43
|
+
* Timestamp when the notification template was created.
|
|
44
|
+
*/
|
|
45
|
+
readonly created: string;
|
|
46
|
+
/**
|
|
47
|
+
* The ID of the incident notification template.
|
|
48
|
+
*/
|
|
49
|
+
readonly id: string;
|
|
50
|
+
/**
|
|
51
|
+
* The ID of the incident type this notification template is associated with.
|
|
52
|
+
*/
|
|
53
|
+
readonly incidentType: string;
|
|
54
|
+
/**
|
|
55
|
+
* Timestamp when the notification template was last modified.
|
|
56
|
+
*/
|
|
57
|
+
readonly modified: string;
|
|
58
|
+
/**
|
|
59
|
+
* The name of the notification template.
|
|
60
|
+
*/
|
|
61
|
+
readonly name: string;
|
|
62
|
+
/**
|
|
63
|
+
* The subject line of the notification template.
|
|
64
|
+
*/
|
|
65
|
+
readonly subject: string;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Use this data source to retrieve information about an existing incident notification template.
|
|
69
|
+
*
|
|
70
|
+
* ## Example Usage
|
|
71
|
+
*
|
|
72
|
+
* ```typescript
|
|
73
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
74
|
+
* import * as datadog from "@pulumi/datadog";
|
|
75
|
+
*
|
|
76
|
+
* const example = datadog.getIncidentNotificationTemplate({
|
|
77
|
+
* id: "52600bb1-e83a-48a1-aa77-6889ddb269b2",
|
|
78
|
+
* });
|
|
79
|
+
* ```
|
|
80
|
+
*/
|
|
81
|
+
export declare function getIncidentNotificationTemplateOutput(args?: GetIncidentNotificationTemplateOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIncidentNotificationTemplateResult>;
|
|
82
|
+
/**
|
|
83
|
+
* A collection of arguments for invoking getIncidentNotificationTemplate.
|
|
84
|
+
*/
|
|
85
|
+
export interface GetIncidentNotificationTemplateOutputArgs {
|
|
86
|
+
/**
|
|
87
|
+
* The ID of the incident notification template.
|
|
88
|
+
*/
|
|
89
|
+
id?: pulumi.Input<string>;
|
|
90
|
+
/**
|
|
91
|
+
* The name of the notification template.
|
|
92
|
+
*/
|
|
93
|
+
name?: pulumi.Input<string>;
|
|
94
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getIncidentNotificationTemplateOutput = exports.getIncidentNotificationTemplate = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to retrieve information about an existing incident notification template.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as datadog from "@pulumi/datadog";
|
|
16
|
+
*
|
|
17
|
+
* const example = datadog.getIncidentNotificationTemplate({
|
|
18
|
+
* id: "52600bb1-e83a-48a1-aa77-6889ddb269b2",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
function getIncidentNotificationTemplate(args, opts) {
|
|
23
|
+
args = args || {};
|
|
24
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
25
|
+
return pulumi.runtime.invoke("datadog:index/getIncidentNotificationTemplate:getIncidentNotificationTemplate", {
|
|
26
|
+
"id": args.id,
|
|
27
|
+
"name": args.name,
|
|
28
|
+
}, opts);
|
|
29
|
+
}
|
|
30
|
+
exports.getIncidentNotificationTemplate = getIncidentNotificationTemplate;
|
|
31
|
+
/**
|
|
32
|
+
* Use this data source to retrieve information about an existing incident notification template.
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as datadog from "@pulumi/datadog";
|
|
39
|
+
*
|
|
40
|
+
* const example = datadog.getIncidentNotificationTemplate({
|
|
41
|
+
* id: "52600bb1-e83a-48a1-aa77-6889ddb269b2",
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
function getIncidentNotificationTemplateOutput(args, opts) {
|
|
46
|
+
args = args || {};
|
|
47
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
48
|
+
return pulumi.runtime.invokeOutput("datadog:index/getIncidentNotificationTemplate:getIncidentNotificationTemplate", {
|
|
49
|
+
"id": args.id,
|
|
50
|
+
"name": args.name,
|
|
51
|
+
}, opts);
|
|
52
|
+
}
|
|
53
|
+
exports.getIncidentNotificationTemplateOutput = getIncidentNotificationTemplateOutput;
|
|
54
|
+
//# sourceMappingURL=getIncidentNotificationTemplate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getIncidentNotificationTemplate.js","sourceRoot":"","sources":["../getIncidentNotificationTemplate.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,+BAA+B,CAAC,IAA0C,EAAE,IAA2B;IACnH,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+EAA+E,EAAE;QAC1G,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0EAOC;AAqDD;;;;;;;;;;;;;GAaG;AACH,SAAgB,qCAAqC,CAAC,IAAgD,EAAE,IAAiC;IACrI,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,+EAA+E,EAAE;QAChH,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sFAOC"}
|