@pulumi/datadog 4.28.0-alpha.1713898724 → 4.28.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/authnMapping.d.ts +14 -2
- package/authnMapping.js +2 -3
- package/authnMapping.js.map +1 -1
- package/aws/integration.d.ts +21 -3
- package/aws/integration.js +2 -0
- package/aws/integration.js.map +1 -1
- package/cloudConfigurationRule.d.ts +6 -6
- package/cloudflare/integrationAccount.d.ts +1 -1
- package/cloudflare/integrationAccount.js +1 -1
- package/csmThreatsAgentRule.d.ts +109 -0
- package/csmThreatsAgentRule.js +89 -0
- package/csmThreatsAgentRule.js.map +1 -0
- package/dashboard.d.ts +0 -2
- package/dashboard.js +0 -2
- package/dashboard.js.map +1 -1
- package/getCsmThreatsAgentRules.d.ts +27 -0
- package/getCsmThreatsAgentRules.js +23 -0
- package/getCsmThreatsAgentRules.js.map +1 -0
- package/getRoleUsers.d.ts +69 -0
- package/getRoleUsers.js +27 -0
- package/getRoleUsers.js.map +1 -0
- package/index.d.ts +12 -0
- package/index.js +19 -3
- package/index.js.map +1 -1
- package/monitorJson.d.ts +0 -1
- package/monitorJson.js +0 -1
- package/monitorJson.js.map +1 -1
- package/openapiApi.d.ts +4 -4
- package/openapiApi.js +1 -1
- package/package.json +1 -1
- package/securityMonitoringRule.d.ts +3 -3
- package/securityMonitoringSuppression.d.ts +17 -5
- package/securityMonitoringSuppression.js +2 -3
- package/securityMonitoringSuppression.js.map +1 -1
- package/types/input.d.ts +16 -4
- package/types/output.d.ts +29 -5
- package/user.d.ts +1 -1
- package/userRole.d.ts +91 -0
- package/userRole.js +88 -0
- package/userRole.js.map +1 -0
package/authnMapping.d.ts
CHANGED
|
@@ -51,7 +51,11 @@ export declare class AuthnMapping extends pulumi.CustomResource {
|
|
|
51
51
|
/**
|
|
52
52
|
* The ID of a role to attach to all users with the corresponding key and value.
|
|
53
53
|
*/
|
|
54
|
-
readonly role: pulumi.Output<string>;
|
|
54
|
+
readonly role: pulumi.Output<string | undefined>;
|
|
55
|
+
/**
|
|
56
|
+
* The ID of a team to add all users with the corresponding key and value to.
|
|
57
|
+
*/
|
|
58
|
+
readonly team: pulumi.Output<string | undefined>;
|
|
55
59
|
/**
|
|
56
60
|
* Identity provider value.
|
|
57
61
|
*/
|
|
@@ -77,6 +81,10 @@ export interface AuthnMappingState {
|
|
|
77
81
|
* The ID of a role to attach to all users with the corresponding key and value.
|
|
78
82
|
*/
|
|
79
83
|
role?: pulumi.Input<string>;
|
|
84
|
+
/**
|
|
85
|
+
* The ID of a team to add all users with the corresponding key and value to.
|
|
86
|
+
*/
|
|
87
|
+
team?: pulumi.Input<string>;
|
|
80
88
|
/**
|
|
81
89
|
* Identity provider value.
|
|
82
90
|
*/
|
|
@@ -93,7 +101,11 @@ export interface AuthnMappingArgs {
|
|
|
93
101
|
/**
|
|
94
102
|
* The ID of a role to attach to all users with the corresponding key and value.
|
|
95
103
|
*/
|
|
96
|
-
role
|
|
104
|
+
role?: pulumi.Input<string>;
|
|
105
|
+
/**
|
|
106
|
+
* The ID of a team to add all users with the corresponding key and value to.
|
|
107
|
+
*/
|
|
108
|
+
team?: pulumi.Input<string>;
|
|
97
109
|
/**
|
|
98
110
|
* Identity provider value.
|
|
99
111
|
*/
|
package/authnMapping.js
CHANGED
|
@@ -64,6 +64,7 @@ class AuthnMapping extends pulumi.CustomResource {
|
|
|
64
64
|
const state = argsOrState;
|
|
65
65
|
resourceInputs["key"] = state ? state.key : undefined;
|
|
66
66
|
resourceInputs["role"] = state ? state.role : undefined;
|
|
67
|
+
resourceInputs["team"] = state ? state.team : undefined;
|
|
67
68
|
resourceInputs["value"] = state ? state.value : undefined;
|
|
68
69
|
}
|
|
69
70
|
else {
|
|
@@ -71,14 +72,12 @@ class AuthnMapping extends pulumi.CustomResource {
|
|
|
71
72
|
if ((!args || args.key === undefined) && !opts.urn) {
|
|
72
73
|
throw new Error("Missing required property 'key'");
|
|
73
74
|
}
|
|
74
|
-
if ((!args || args.role === undefined) && !opts.urn) {
|
|
75
|
-
throw new Error("Missing required property 'role'");
|
|
76
|
-
}
|
|
77
75
|
if ((!args || args.value === undefined) && !opts.urn) {
|
|
78
76
|
throw new Error("Missing required property 'value'");
|
|
79
77
|
}
|
|
80
78
|
resourceInputs["key"] = args ? args.key : undefined;
|
|
81
79
|
resourceInputs["role"] = args ? args.role : undefined;
|
|
80
|
+
resourceInputs["team"] = args ? args.team : undefined;
|
|
82
81
|
resourceInputs["value"] = args ? args.value : undefined;
|
|
83
82
|
}
|
|
84
83
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
package/authnMapping.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authnMapping.js","sourceRoot":"","sources":["../authnMapping.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;
|
|
1
|
+
{"version":3,"file":"authnMapping.js","sourceRoot":"","sources":["../authnMapping.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;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AAC,GAAG,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAChD,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;aACtD;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAClD,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,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;YACtD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AA7EL,oCA8EC;AAhEG,gBAAgB;AACO,yBAAY,GAAG,yCAAyC,CAAC"}
|
package/aws/integration.d.ts
CHANGED
|
@@ -74,6 +74,10 @@ export declare class Integration extends pulumi.CustomResource {
|
|
|
74
74
|
* An array of AWS regions to exclude from metrics collection.
|
|
75
75
|
*/
|
|
76
76
|
readonly excludedRegions: pulumi.Output<string[] | undefined>;
|
|
77
|
+
/**
|
|
78
|
+
* Whether Datadog collects additional attributes and configuration information about the resources in your AWS account. Required for `cspmResourceCollectionEnabled`.
|
|
79
|
+
*/
|
|
80
|
+
readonly extendedResourceCollectionEnabled: pulumi.Output<string>;
|
|
77
81
|
/**
|
|
78
82
|
* AWS External ID. **NOTE** This provider will not be able to detect changes made to the `external_id` field from outside
|
|
79
83
|
* Terraform.
|
|
@@ -92,7 +96,9 @@ export declare class Integration extends pulumi.CustomResource {
|
|
|
92
96
|
*/
|
|
93
97
|
readonly metricsCollectionEnabled: pulumi.Output<string>;
|
|
94
98
|
/**
|
|
95
|
-
* Whether Datadog collects a standard set of resources from your AWS account.
|
|
99
|
+
* Whether Datadog collects a standard set of resources from your AWS account. **Deprecated.** Deprecated in favor of `extendedResourceCollectionEnabled`.
|
|
100
|
+
*
|
|
101
|
+
* @deprecated Deprecated in favor of `extendedResourceCollectionEnabled`.
|
|
96
102
|
*/
|
|
97
103
|
readonly resourceCollectionEnabled: pulumi.Output<string>;
|
|
98
104
|
/**
|
|
@@ -138,6 +144,10 @@ export interface IntegrationState {
|
|
|
138
144
|
* An array of AWS regions to exclude from metrics collection.
|
|
139
145
|
*/
|
|
140
146
|
excludedRegions?: pulumi.Input<pulumi.Input<string>[]>;
|
|
147
|
+
/**
|
|
148
|
+
* Whether Datadog collects additional attributes and configuration information about the resources in your AWS account. Required for `cspmResourceCollectionEnabled`.
|
|
149
|
+
*/
|
|
150
|
+
extendedResourceCollectionEnabled?: pulumi.Input<string>;
|
|
141
151
|
/**
|
|
142
152
|
* AWS External ID. **NOTE** This provider will not be able to detect changes made to the `external_id` field from outside
|
|
143
153
|
* Terraform.
|
|
@@ -156,7 +166,9 @@ export interface IntegrationState {
|
|
|
156
166
|
*/
|
|
157
167
|
metricsCollectionEnabled?: pulumi.Input<string>;
|
|
158
168
|
/**
|
|
159
|
-
* Whether Datadog collects a standard set of resources from your AWS account.
|
|
169
|
+
* Whether Datadog collects a standard set of resources from your AWS account. **Deprecated.** Deprecated in favor of `extendedResourceCollectionEnabled`.
|
|
170
|
+
*
|
|
171
|
+
* @deprecated Deprecated in favor of `extendedResourceCollectionEnabled`.
|
|
160
172
|
*/
|
|
161
173
|
resourceCollectionEnabled?: pulumi.Input<string>;
|
|
162
174
|
/**
|
|
@@ -194,6 +206,10 @@ export interface IntegrationArgs {
|
|
|
194
206
|
* An array of AWS regions to exclude from metrics collection.
|
|
195
207
|
*/
|
|
196
208
|
excludedRegions?: pulumi.Input<pulumi.Input<string>[]>;
|
|
209
|
+
/**
|
|
210
|
+
* Whether Datadog collects additional attributes and configuration information about the resources in your AWS account. Required for `cspmResourceCollectionEnabled`.
|
|
211
|
+
*/
|
|
212
|
+
extendedResourceCollectionEnabled?: pulumi.Input<string>;
|
|
197
213
|
/**
|
|
198
214
|
* Array of EC2 tags (in the form `key:value`) defines a filter that Datadog uses when collecting metrics from EC2. Wildcards, such as `?` (for single characters) and `*` (for multiple characters) can also be used. Only hosts that match one of the defined tags will be imported into Datadog. The rest will be ignored. Host matching a given tag can also be excluded by adding `!` before the tag. e.x. `env:production,instance-type:c1.*,!region:us-east-1`.
|
|
199
215
|
*/
|
|
@@ -207,7 +223,9 @@ export interface IntegrationArgs {
|
|
|
207
223
|
*/
|
|
208
224
|
metricsCollectionEnabled?: pulumi.Input<string>;
|
|
209
225
|
/**
|
|
210
|
-
* Whether Datadog collects a standard set of resources from your AWS account.
|
|
226
|
+
* Whether Datadog collects a standard set of resources from your AWS account. **Deprecated.** Deprecated in favor of `extendedResourceCollectionEnabled`.
|
|
227
|
+
*
|
|
228
|
+
* @deprecated Deprecated in favor of `extendedResourceCollectionEnabled`.
|
|
211
229
|
*/
|
|
212
230
|
resourceCollectionEnabled?: pulumi.Input<string>;
|
|
213
231
|
/**
|
package/aws/integration.js
CHANGED
|
@@ -75,6 +75,7 @@ class Integration extends pulumi.CustomResource {
|
|
|
75
75
|
resourceInputs["accountSpecificNamespaceRules"] = state ? state.accountSpecificNamespaceRules : undefined;
|
|
76
76
|
resourceInputs["cspmResourceCollectionEnabled"] = state ? state.cspmResourceCollectionEnabled : undefined;
|
|
77
77
|
resourceInputs["excludedRegions"] = state ? state.excludedRegions : undefined;
|
|
78
|
+
resourceInputs["extendedResourceCollectionEnabled"] = state ? state.extendedResourceCollectionEnabled : undefined;
|
|
78
79
|
resourceInputs["externalId"] = state ? state.externalId : undefined;
|
|
79
80
|
resourceInputs["filterTags"] = state ? state.filterTags : undefined;
|
|
80
81
|
resourceInputs["hostTags"] = state ? state.hostTags : undefined;
|
|
@@ -90,6 +91,7 @@ class Integration extends pulumi.CustomResource {
|
|
|
90
91
|
resourceInputs["accountSpecificNamespaceRules"] = args ? args.accountSpecificNamespaceRules : undefined;
|
|
91
92
|
resourceInputs["cspmResourceCollectionEnabled"] = args ? args.cspmResourceCollectionEnabled : undefined;
|
|
92
93
|
resourceInputs["excludedRegions"] = args ? args.excludedRegions : undefined;
|
|
94
|
+
resourceInputs["extendedResourceCollectionEnabled"] = args ? args.extendedResourceCollectionEnabled : undefined;
|
|
93
95
|
resourceInputs["filterTags"] = args ? args.filterTags : undefined;
|
|
94
96
|
resourceInputs["hostTags"] = args ? args.hostTags : undefined;
|
|
95
97
|
resourceInputs["metricsCollectionEnabled"] = args ? args.metricsCollectionEnabled : undefined;
|
package/aws/integration.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integration.js","sourceRoot":"","sources":["../../aws/integration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;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,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,C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I,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,iBAAiB,CAAC,GAAG,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,eAAe,EAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5G,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,iBAAiB,CAAC,EAAE,CAAC;QACpE,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;;AAlIL,kCAmIC;AArHG,gBAAgB;AACO,wBAAY,GAAG,qCAAqC,CAAC"}
|
|
@@ -81,7 +81,7 @@ export declare class CloudConfigurationRule extends pulumi.CustomResource {
|
|
|
81
81
|
*/
|
|
82
82
|
readonly filters: pulumi.Output<outputs.CloudConfigurationRuleFilter[] | undefined>;
|
|
83
83
|
/**
|
|
84
|
-
* Fields to group by when generating signals, e.g. @resource.
|
|
84
|
+
* Defaults to empty list. This function will be deprecated soon. Use the notification rules function instead. Fields to group by when generating signals, e.g. @resource.
|
|
85
85
|
*/
|
|
86
86
|
readonly groupBies: pulumi.Output<string[] | undefined>;
|
|
87
87
|
/**
|
|
@@ -93,7 +93,7 @@ export declare class CloudConfigurationRule extends pulumi.CustomResource {
|
|
|
93
93
|
*/
|
|
94
94
|
readonly name: pulumi.Output<string>;
|
|
95
95
|
/**
|
|
96
|
-
* Notification targets for signals. Defaults to empty list.
|
|
96
|
+
* This function will be deprecated soon. Use the notification rules function instead. Notification targets for signals. Defaults to empty list.
|
|
97
97
|
*/
|
|
98
98
|
readonly notifications: pulumi.Output<string[] | undefined>;
|
|
99
99
|
/**
|
|
@@ -138,7 +138,7 @@ export interface CloudConfigurationRuleState {
|
|
|
138
138
|
*/
|
|
139
139
|
filters?: pulumi.Input<pulumi.Input<inputs.CloudConfigurationRuleFilter>[]>;
|
|
140
140
|
/**
|
|
141
|
-
* Fields to group by when generating signals, e.g. @resource.
|
|
141
|
+
* Defaults to empty list. This function will be deprecated soon. Use the notification rules function instead. Fields to group by when generating signals, e.g. @resource.
|
|
142
142
|
*/
|
|
143
143
|
groupBies?: pulumi.Input<pulumi.Input<string>[]>;
|
|
144
144
|
/**
|
|
@@ -150,7 +150,7 @@ export interface CloudConfigurationRuleState {
|
|
|
150
150
|
*/
|
|
151
151
|
name?: pulumi.Input<string>;
|
|
152
152
|
/**
|
|
153
|
-
* Notification targets for signals. Defaults to empty list.
|
|
153
|
+
* This function will be deprecated soon. Use the notification rules function instead. Notification targets for signals. Defaults to empty list.
|
|
154
154
|
*/
|
|
155
155
|
notifications?: pulumi.Input<pulumi.Input<string>[]>;
|
|
156
156
|
/**
|
|
@@ -187,7 +187,7 @@ export interface CloudConfigurationRuleArgs {
|
|
|
187
187
|
*/
|
|
188
188
|
filters?: pulumi.Input<pulumi.Input<inputs.CloudConfigurationRuleFilter>[]>;
|
|
189
189
|
/**
|
|
190
|
-
* Fields to group by when generating signals, e.g. @resource.
|
|
190
|
+
* Defaults to empty list. This function will be deprecated soon. Use the notification rules function instead. Fields to group by when generating signals, e.g. @resource.
|
|
191
191
|
*/
|
|
192
192
|
groupBies?: pulumi.Input<pulumi.Input<string>[]>;
|
|
193
193
|
/**
|
|
@@ -199,7 +199,7 @@ export interface CloudConfigurationRuleArgs {
|
|
|
199
199
|
*/
|
|
200
200
|
name: pulumi.Input<string>;
|
|
201
201
|
/**
|
|
202
|
-
* Notification targets for signals. Defaults to empty list.
|
|
202
|
+
* This function will be deprecated soon. Use the notification rules function instead. Notification targets for signals. Defaults to empty list.
|
|
203
203
|
*/
|
|
204
204
|
notifications?: pulumi.Input<pulumi.Input<string>[]>;
|
|
205
205
|
/**
|
|
@@ -19,7 +19,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
19
19
|
* ## Import
|
|
20
20
|
*
|
|
21
21
|
* ```sh
|
|
22
|
-
* $ pulumi import datadog:cloudflare/integrationAccount:IntegrationAccount new_list ""
|
|
22
|
+
* $ pulumi import datadog:cloudflare/integrationAccount:IntegrationAccount new_list "<ID>"
|
|
23
23
|
* ```
|
|
24
24
|
*/
|
|
25
25
|
export declare class IntegrationAccount extends pulumi.CustomResource {
|
|
@@ -25,7 +25,7 @@ const utilities = require("../utilities");
|
|
|
25
25
|
* ## Import
|
|
26
26
|
*
|
|
27
27
|
* ```sh
|
|
28
|
-
* $ pulumi import datadog:cloudflare/integrationAccount:IntegrationAccount new_list ""
|
|
28
|
+
* $ pulumi import datadog:cloudflare/integrationAccount:IntegrationAccount new_list "<ID>"
|
|
29
29
|
* ```
|
|
30
30
|
*/
|
|
31
31
|
class IntegrationAccount extends pulumi.CustomResource {
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a Datadog CSM Threats Agent Rule API resource.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as datadog from "@pulumi/datadog";
|
|
10
|
+
*
|
|
11
|
+
* const myAgentRule = new datadog.CsmThreatsAgentRule("my_agent_rule", {
|
|
12
|
+
* name: "my_agent_rule",
|
|
13
|
+
* enabled: true,
|
|
14
|
+
* description: "im a rule",
|
|
15
|
+
* expression: "open.file.name == \"etc/shadow/password\"",
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* ## Import
|
|
20
|
+
*
|
|
21
|
+
* CSM Agent Rules can be imported using ID. For example:
|
|
22
|
+
*
|
|
23
|
+
* ```sh
|
|
24
|
+
* $ pulumi import datadog:index/csmThreatsAgentRule:CsmThreatsAgentRule my_agent_rule m0o-hto-lkb
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
export declare class CsmThreatsAgentRule extends pulumi.CustomResource {
|
|
28
|
+
/**
|
|
29
|
+
* Get an existing CsmThreatsAgentRule resource's state with the given name, ID, and optional extra
|
|
30
|
+
* properties used to qualify the lookup.
|
|
31
|
+
*
|
|
32
|
+
* @param name The _unique_ name of the resulting resource.
|
|
33
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
34
|
+
* @param state Any extra arguments used during the lookup.
|
|
35
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
36
|
+
*/
|
|
37
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CsmThreatsAgentRuleState, opts?: pulumi.CustomResourceOptions): CsmThreatsAgentRule;
|
|
38
|
+
/**
|
|
39
|
+
* Returns true if the given object is an instance of CsmThreatsAgentRule. This is designed to work even
|
|
40
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
41
|
+
*/
|
|
42
|
+
static isInstance(obj: any): obj is CsmThreatsAgentRule;
|
|
43
|
+
/**
|
|
44
|
+
* A description for the Agent rule. Defaults to `""`.
|
|
45
|
+
*/
|
|
46
|
+
readonly description: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* Indicates Whether the Agent rule is enabled.
|
|
49
|
+
*/
|
|
50
|
+
readonly enabled: pulumi.Output<boolean>;
|
|
51
|
+
/**
|
|
52
|
+
* The SECL expression of the Agent rule
|
|
53
|
+
*/
|
|
54
|
+
readonly expression: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* The name of the Agent rule.
|
|
57
|
+
*/
|
|
58
|
+
readonly name: pulumi.Output<string>;
|
|
59
|
+
/**
|
|
60
|
+
* Create a CsmThreatsAgentRule resource with the given unique name, arguments, and options.
|
|
61
|
+
*
|
|
62
|
+
* @param name The _unique_ name of the resource.
|
|
63
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
64
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
65
|
+
*/
|
|
66
|
+
constructor(name: string, args: CsmThreatsAgentRuleArgs, opts?: pulumi.CustomResourceOptions);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Input properties used for looking up and filtering CsmThreatsAgentRule resources.
|
|
70
|
+
*/
|
|
71
|
+
export interface CsmThreatsAgentRuleState {
|
|
72
|
+
/**
|
|
73
|
+
* A description for the Agent rule. Defaults to `""`.
|
|
74
|
+
*/
|
|
75
|
+
description?: pulumi.Input<string>;
|
|
76
|
+
/**
|
|
77
|
+
* Indicates Whether the Agent rule is enabled.
|
|
78
|
+
*/
|
|
79
|
+
enabled?: pulumi.Input<boolean>;
|
|
80
|
+
/**
|
|
81
|
+
* The SECL expression of the Agent rule
|
|
82
|
+
*/
|
|
83
|
+
expression?: pulumi.Input<string>;
|
|
84
|
+
/**
|
|
85
|
+
* The name of the Agent rule.
|
|
86
|
+
*/
|
|
87
|
+
name?: pulumi.Input<string>;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* The set of arguments for constructing a CsmThreatsAgentRule resource.
|
|
91
|
+
*/
|
|
92
|
+
export interface CsmThreatsAgentRuleArgs {
|
|
93
|
+
/**
|
|
94
|
+
* A description for the Agent rule. Defaults to `""`.
|
|
95
|
+
*/
|
|
96
|
+
description?: pulumi.Input<string>;
|
|
97
|
+
/**
|
|
98
|
+
* Indicates Whether the Agent rule is enabled.
|
|
99
|
+
*/
|
|
100
|
+
enabled: pulumi.Input<boolean>;
|
|
101
|
+
/**
|
|
102
|
+
* The SECL expression of the Agent rule
|
|
103
|
+
*/
|
|
104
|
+
expression: pulumi.Input<string>;
|
|
105
|
+
/**
|
|
106
|
+
* The name of the Agent rule.
|
|
107
|
+
*/
|
|
108
|
+
name: pulumi.Input<string>;
|
|
109
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.CsmThreatsAgentRule = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a Datadog CSM Threats Agent Rule API resource.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as datadog from "@pulumi/datadog";
|
|
16
|
+
*
|
|
17
|
+
* const myAgentRule = new datadog.CsmThreatsAgentRule("my_agent_rule", {
|
|
18
|
+
* name: "my_agent_rule",
|
|
19
|
+
* enabled: true,
|
|
20
|
+
* description: "im a rule",
|
|
21
|
+
* expression: "open.file.name == \"etc/shadow/password\"",
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* ## Import
|
|
26
|
+
*
|
|
27
|
+
* CSM Agent Rules can be imported using ID. For example:
|
|
28
|
+
*
|
|
29
|
+
* ```sh
|
|
30
|
+
* $ pulumi import datadog:index/csmThreatsAgentRule:CsmThreatsAgentRule my_agent_rule m0o-hto-lkb
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
class CsmThreatsAgentRule extends pulumi.CustomResource {
|
|
34
|
+
/**
|
|
35
|
+
* Get an existing CsmThreatsAgentRule resource's state with the given name, ID, and optional extra
|
|
36
|
+
* properties used to qualify the lookup.
|
|
37
|
+
*
|
|
38
|
+
* @param name The _unique_ name of the resulting resource.
|
|
39
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
40
|
+
* @param state Any extra arguments used during the lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name, id, state, opts) {
|
|
44
|
+
return new CsmThreatsAgentRule(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of CsmThreatsAgentRule. This is designed to work even
|
|
48
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
49
|
+
*/
|
|
50
|
+
static isInstance(obj) {
|
|
51
|
+
if (obj === undefined || obj === null) {
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
return obj['__pulumiType'] === CsmThreatsAgentRule.__pulumiType;
|
|
55
|
+
}
|
|
56
|
+
constructor(name, argsOrState, opts) {
|
|
57
|
+
let resourceInputs = {};
|
|
58
|
+
opts = opts || {};
|
|
59
|
+
if (opts.id) {
|
|
60
|
+
const state = argsOrState;
|
|
61
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
62
|
+
resourceInputs["enabled"] = state ? state.enabled : undefined;
|
|
63
|
+
resourceInputs["expression"] = state ? state.expression : undefined;
|
|
64
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
const args = argsOrState;
|
|
68
|
+
if ((!args || args.enabled === undefined) && !opts.urn) {
|
|
69
|
+
throw new Error("Missing required property 'enabled'");
|
|
70
|
+
}
|
|
71
|
+
if ((!args || args.expression === undefined) && !opts.urn) {
|
|
72
|
+
throw new Error("Missing required property 'expression'");
|
|
73
|
+
}
|
|
74
|
+
if ((!args || args.name === undefined) && !opts.urn) {
|
|
75
|
+
throw new Error("Missing required property 'name'");
|
|
76
|
+
}
|
|
77
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
78
|
+
resourceInputs["enabled"] = args ? args.enabled : undefined;
|
|
79
|
+
resourceInputs["expression"] = args ? args.expression : undefined;
|
|
80
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
81
|
+
}
|
|
82
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
83
|
+
super(CsmThreatsAgentRule.__pulumiType, name, resourceInputs, opts);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
exports.CsmThreatsAgentRule = CsmThreatsAgentRule;
|
|
87
|
+
/** @internal */
|
|
88
|
+
CsmThreatsAgentRule.__pulumiType = 'datadog:index/csmThreatsAgentRule:CsmThreatsAgentRule';
|
|
89
|
+
//# sourceMappingURL=csmThreatsAgentRule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"csmThreatsAgentRule.js","sourceRoot":"","sources":["../csmThreatsAgentRule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,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;IA2BD,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QACl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AO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,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,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAhFL,kDAiFC;AAnEG,gBAAgB;AACO,gCAAY,GAAG,uDAAuD,CAAC"}
|
package/dashboard.d.ts
CHANGED
|
@@ -15,7 +15,6 @@ import * as outputs from "./types/output";
|
|
|
15
15
|
* title: "Ordered Layout Dashboard",
|
|
16
16
|
* description: "Created using the Datadog provider in Pulumi",
|
|
17
17
|
* layoutType: "ordered",
|
|
18
|
-
* isReadOnly: true,
|
|
19
18
|
* widgets: [
|
|
20
19
|
* {
|
|
21
20
|
* alertGraphDefinition: {
|
|
@@ -431,7 +430,6 @@ import * as outputs from "./types/output";
|
|
|
431
430
|
* title: "Free Layout Dashboard",
|
|
432
431
|
* description: "Created using the Datadog provider in Pulumi",
|
|
433
432
|
* layoutType: "free",
|
|
434
|
-
* isReadOnly: false,
|
|
435
433
|
* widgets: [
|
|
436
434
|
* {
|
|
437
435
|
* eventStreamDefinition: {
|
package/dashboard.js
CHANGED
|
@@ -19,7 +19,6 @@ const utilities = require("./utilities");
|
|
|
19
19
|
* title: "Ordered Layout Dashboard",
|
|
20
20
|
* description: "Created using the Datadog provider in Pulumi",
|
|
21
21
|
* layoutType: "ordered",
|
|
22
|
-
* isReadOnly: true,
|
|
23
22
|
* widgets: [
|
|
24
23
|
* {
|
|
25
24
|
* alertGraphDefinition: {
|
|
@@ -435,7 +434,6 @@ const utilities = require("./utilities");
|
|
|
435
434
|
* title: "Free Layout Dashboard",
|
|
436
435
|
* description: "Created using the Datadog provider in Pulumi",
|
|
437
436
|
* layoutType: "free",
|
|
438
|
-
* isReadOnly: false,
|
|
439
437
|
* widgets: [
|
|
440
438
|
* {
|
|
441
439
|
* eventStreamDefinition: {
|
package/dashboard.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard.js","sourceRoot":"","sources":["../dashboard.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"dashboard.js","sourceRoot":"","sources":["../dashboard.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,CAAC;YACtD,cAAc,CAAC,yBAAyB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5F,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,wBAAwB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AA5IL,8BA6IC;AA/HG,gBAAgB;AACO,sBAAY,GAAG,mCAAmC,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to retrieve information about existing Agent rules.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getCsmThreatsAgentRules(opts?: pulumi.InvokeOptions): Promise<GetCsmThreatsAgentRulesResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of values returned by getCsmThreatsAgentRules.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetCsmThreatsAgentRulesResult {
|
|
11
|
+
/**
|
|
12
|
+
* List of Agent rules
|
|
13
|
+
*/
|
|
14
|
+
readonly agentRules: outputs.GetCsmThreatsAgentRulesAgentRule[];
|
|
15
|
+
/**
|
|
16
|
+
* List of IDs for the Agent rules.
|
|
17
|
+
*/
|
|
18
|
+
readonly agentRulesIds: string[];
|
|
19
|
+
/**
|
|
20
|
+
* The ID of this resource.
|
|
21
|
+
*/
|
|
22
|
+
readonly id: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Use this data source to retrieve information about existing Agent rules.
|
|
26
|
+
*/
|
|
27
|
+
export declare function getCsmThreatsAgentRulesOutput(opts?: pulumi.InvokeOptions): pulumi.Output<GetCsmThreatsAgentRulesResult>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.getCsmThreatsAgentRulesOutput = exports.getCsmThreatsAgentRules = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to retrieve information about existing Agent rules.
|
|
10
|
+
*/
|
|
11
|
+
function getCsmThreatsAgentRules(opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("datadog:index/getCsmThreatsAgentRules:getCsmThreatsAgentRules", {}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getCsmThreatsAgentRules = getCsmThreatsAgentRules;
|
|
16
|
+
/**
|
|
17
|
+
* Use this data source to retrieve information about existing Agent rules.
|
|
18
|
+
*/
|
|
19
|
+
function getCsmThreatsAgentRulesOutput(opts) {
|
|
20
|
+
return pulumi.output(getCsmThreatsAgentRules(opts));
|
|
21
|
+
}
|
|
22
|
+
exports.getCsmThreatsAgentRulesOutput = getCsmThreatsAgentRulesOutput;
|
|
23
|
+
//# sourceMappingURL=getCsmThreatsAgentRules.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCsmThreatsAgentRules.js","sourceRoot":"","sources":["../getCsmThreatsAgentRules.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,uBAAuB,CAAC,IAA2B;IAE/D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+DAA+D,EAAE,EAC7F,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0DAKC;AAmBD;;GAEG;AACH,SAAgB,6BAA6B,CAAC,IAA2B;IACrE,OAAO,MAAM,CAAC,MAAM,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC,CAAA;AACvD,CAAC;AAFD,sEAEC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to retrieve information about existing Datadog role users assignments. This data source is in beta and is subject to change.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getRoleUsers(args: GetRoleUsersArgs, opts?: pulumi.InvokeOptions): Promise<GetRoleUsersResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getRoleUsers.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetRoleUsersArgs {
|
|
11
|
+
/**
|
|
12
|
+
* When true, `filterKeyword` string is exact matched against the user's `name`.
|
|
13
|
+
*/
|
|
14
|
+
exactMatch?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Search query, can be user name.
|
|
17
|
+
*/
|
|
18
|
+
filter?: string;
|
|
19
|
+
/**
|
|
20
|
+
* The role's identifier.
|
|
21
|
+
*/
|
|
22
|
+
roleId: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* A collection of values returned by getRoleUsers.
|
|
26
|
+
*/
|
|
27
|
+
export interface GetRoleUsersResult {
|
|
28
|
+
/**
|
|
29
|
+
* When true, `filterKeyword` string is exact matched against the user's `name`.
|
|
30
|
+
*/
|
|
31
|
+
readonly exactMatch?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Search query, can be user name.
|
|
34
|
+
*/
|
|
35
|
+
readonly filter?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The ID of this resource.
|
|
38
|
+
*/
|
|
39
|
+
readonly id: string;
|
|
40
|
+
/**
|
|
41
|
+
* The role's identifier.
|
|
42
|
+
*/
|
|
43
|
+
readonly roleId: string;
|
|
44
|
+
/**
|
|
45
|
+
* List of users assigned to role.
|
|
46
|
+
*/
|
|
47
|
+
readonly roleUsers: outputs.GetRoleUsersRoleUser[];
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Use this data source to retrieve information about existing Datadog role users assignments. This data source is in beta and is subject to change.
|
|
51
|
+
*/
|
|
52
|
+
export declare function getRoleUsersOutput(args: GetRoleUsersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRoleUsersResult>;
|
|
53
|
+
/**
|
|
54
|
+
* A collection of arguments for invoking getRoleUsers.
|
|
55
|
+
*/
|
|
56
|
+
export interface GetRoleUsersOutputArgs {
|
|
57
|
+
/**
|
|
58
|
+
* When true, `filterKeyword` string is exact matched against the user's `name`.
|
|
59
|
+
*/
|
|
60
|
+
exactMatch?: pulumi.Input<boolean>;
|
|
61
|
+
/**
|
|
62
|
+
* Search query, can be user name.
|
|
63
|
+
*/
|
|
64
|
+
filter?: pulumi.Input<string>;
|
|
65
|
+
/**
|
|
66
|
+
* The role's identifier.
|
|
67
|
+
*/
|
|
68
|
+
roleId: pulumi.Input<string>;
|
|
69
|
+
}
|