@pulumi/harness 0.17.7 → 0.17.8
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/package.json +2 -2
- package/platform/getIdpIntegration.d.ts +228 -0
- package/platform/getIdpIntegration.d.ts.map +1 -0
- package/platform/getIdpIntegration.js +83 -0
- package/platform/getIdpIntegration.js.map +1 -0
- package/platform/getIdpIntegrationKindMapping.d.ts +148 -0
- package/platform/getIdpIntegrationKindMapping.d.ts.map +1 -0
- package/platform/getIdpIntegrationKindMapping.js +83 -0
- package/platform/getIdpIntegrationKindMapping.js.map +1 -0
- package/platform/idpIntegration.d.ts +596 -0
- package/platform/idpIntegration.d.ts.map +1 -0
- package/platform/idpIntegration.js +321 -0
- package/platform/idpIntegration.js.map +1 -0
- package/platform/idpIntegrationKindMapping.d.ts +290 -0
- package/platform/idpIntegrationKindMapping.d.ts.map +1 -0
- package/platform/idpIntegrationKindMapping.js +195 -0
- package/platform/idpIntegrationKindMapping.js.map +1 -0
- package/platform/index.d.ts +12 -0
- package/platform/index.d.ts.map +1 -1
- package/platform/index.js +22 -6
- package/platform/index.js.map +1 -1
- package/types/input.d.ts +452 -0
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +866 -0
- package/types/output.d.ts.map +1 -1
|
@@ -0,0 +1,321 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.IdpIntegration = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Resource for an IDP integration, which imports entities from an external system or Harness.
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as harness from "@pulumi/harness";
|
|
39
|
+
*
|
|
40
|
+
* // Custom webhook integration. The webhook URL is in endpoints once created.
|
|
41
|
+
* const orders = new harness.platform.IdpIntegration("orders", {
|
|
42
|
+
* custom: {
|
|
43
|
+
* webhookAuth: {
|
|
44
|
+
* authType: "hmac_auth",
|
|
45
|
+
* hashAlgo: "hmac_sha256",
|
|
46
|
+
* authHeader: "X-Signature",
|
|
47
|
+
* secretRef: "account.orders_webhook_secret",
|
|
48
|
+
* },
|
|
49
|
+
* layout: {
|
|
50
|
+
* columns: [{
|
|
51
|
+
* title: "Service",
|
|
52
|
+
* path: ".spec.service",
|
|
53
|
+
* }],
|
|
54
|
+
* },
|
|
55
|
+
* mode: "webhook",
|
|
56
|
+
* sourceLabel: "orders",
|
|
57
|
+
* },
|
|
58
|
+
* kinds: [{
|
|
59
|
+
* mapping: {
|
|
60
|
+
* ingestion: {
|
|
61
|
+
* identifier: ".service.id",
|
|
62
|
+
* name: ".service.name",
|
|
63
|
+
* properties: {
|
|
64
|
+
* team: ".service.team",
|
|
65
|
+
* },
|
|
66
|
+
* },
|
|
67
|
+
* correlation: {
|
|
68
|
+
* sourcePath: "service.id",
|
|
69
|
+
* targetPath: "metadata.identifier",
|
|
70
|
+
* },
|
|
71
|
+
* },
|
|
72
|
+
* kind: "custom",
|
|
73
|
+
* autoImport: true,
|
|
74
|
+
* action: "merge",
|
|
75
|
+
* }],
|
|
76
|
+
* identifier: "orders_webhook",
|
|
77
|
+
* name: "Orders webhook",
|
|
78
|
+
* description: "Imports services pushed by the order system",
|
|
79
|
+
* type: "Custom",
|
|
80
|
+
* tags: [
|
|
81
|
+
* "team:idp",
|
|
82
|
+
* "webhook",
|
|
83
|
+
* ],
|
|
84
|
+
* });
|
|
85
|
+
* // Harness CD integration, reading services from every scope of the account.
|
|
86
|
+
* const harnessCd = new harness.platform.IdpIntegration("harness_cd", {
|
|
87
|
+
* scopes: {
|
|
88
|
+
* all: true,
|
|
89
|
+
* },
|
|
90
|
+
* kinds: [{
|
|
91
|
+
* kind: "service",
|
|
92
|
+
* autoImport: true,
|
|
93
|
+
* }],
|
|
94
|
+
* identifier: "harness_cd",
|
|
95
|
+
* name: "Harness CD",
|
|
96
|
+
* type: "HarnessCD",
|
|
97
|
+
* });
|
|
98
|
+
* // ServiceNow CMDB integration in an organization, synced every 12 hours.
|
|
99
|
+
* const servicenow = new harness.platform.IdpIntegration("servicenow", {
|
|
100
|
+
* connector: {
|
|
101
|
+
* inline: {
|
|
102
|
+
* credentialsRef: "account.servicenow",
|
|
103
|
+
* },
|
|
104
|
+
* },
|
|
105
|
+
* kinds: [{
|
|
106
|
+
* mapping: {
|
|
107
|
+
* correlation: {
|
|
108
|
+
* sourcePath: "metadata.integration_properties.ServiceNow.name",
|
|
109
|
+
* targetPath: "name",
|
|
110
|
+
* },
|
|
111
|
+
* fieldMappings: [
|
|
112
|
+
* {
|
|
113
|
+
* sourceField: "owned_by",
|
|
114
|
+
* targetField: "spec.owner",
|
|
115
|
+
* },
|
|
116
|
+
* {
|
|
117
|
+
* sourceField: "environment",
|
|
118
|
+
* targetField: "metadata.environment",
|
|
119
|
+
* },
|
|
120
|
+
* ],
|
|
121
|
+
* displayNameField: "name",
|
|
122
|
+
* },
|
|
123
|
+
* kind: "cmdb_ci_service",
|
|
124
|
+
* autoImport: true,
|
|
125
|
+
* filter: ".operational_status == \"1\"",
|
|
126
|
+
* idpKind: "component",
|
|
127
|
+
* idpType: "service",
|
|
128
|
+
* }],
|
|
129
|
+
* identifier: "servicenow_prod",
|
|
130
|
+
* name: "ServiceNow prod",
|
|
131
|
+
* orgId: "default",
|
|
132
|
+
* type: "ServiceNow",
|
|
133
|
+
* updateFrequency: "12h",
|
|
134
|
+
* });
|
|
135
|
+
* // Harness CI integration. Every kind needs a correlation, so each kind has a mapping.
|
|
136
|
+
* const harnessCi = new harness.platform.IdpIntegration("harness_ci", {
|
|
137
|
+
* kinds: [{
|
|
138
|
+
* mapping: {
|
|
139
|
+
* correlation: {
|
|
140
|
+
* sourcePath: "metadata.integration_properties.HarnessCI.pipelineName",
|
|
141
|
+
* targetPath: "metadata.name",
|
|
142
|
+
* },
|
|
143
|
+
* },
|
|
144
|
+
* kind: "pipeline",
|
|
145
|
+
* }],
|
|
146
|
+
* identifier: "harness_ci",
|
|
147
|
+
* name: "Harness CI",
|
|
148
|
+
* type: "HarnessCI",
|
|
149
|
+
* });
|
|
150
|
+
* // GitHub integration for one organization's repositories.
|
|
151
|
+
* const github = new harness.platform.IdpIntegration("github", {
|
|
152
|
+
* connector: {
|
|
153
|
+
* inline: {
|
|
154
|
+
* credentialsRef: "account.github",
|
|
155
|
+
* },
|
|
156
|
+
* },
|
|
157
|
+
* github: {
|
|
158
|
+
* orgs: ["acme"],
|
|
159
|
+
* },
|
|
160
|
+
* kinds: [{
|
|
161
|
+
* mapping: {
|
|
162
|
+
* correlation: {
|
|
163
|
+
* sourcePath: "metadata.integration_properties.GitHub.name",
|
|
164
|
+
* targetPath: "name",
|
|
165
|
+
* },
|
|
166
|
+
* },
|
|
167
|
+
* kind: "repo_details",
|
|
168
|
+
* action: "merge",
|
|
169
|
+
* }],
|
|
170
|
+
* identifier: "github",
|
|
171
|
+
* name: "GitHub",
|
|
172
|
+
* type: "GitHub",
|
|
173
|
+
* });
|
|
174
|
+
* ```
|
|
175
|
+
*
|
|
176
|
+
* ## Import
|
|
177
|
+
*
|
|
178
|
+
* Import an account level integration
|
|
179
|
+
*
|
|
180
|
+
* ```sh
|
|
181
|
+
* $ pulumi import harness:platform/idpIntegration:IdpIntegration example <integration_id>
|
|
182
|
+
* ```
|
|
183
|
+
*
|
|
184
|
+
* Import an org level integration
|
|
185
|
+
*
|
|
186
|
+
* ```sh
|
|
187
|
+
* $ pulumi import harness:platform/idpIntegration:IdpIntegration example <org_id>/<integration_id>
|
|
188
|
+
* ```
|
|
189
|
+
*
|
|
190
|
+
* Import a project level integration
|
|
191
|
+
*
|
|
192
|
+
* ```sh
|
|
193
|
+
* $ pulumi import harness:platform/idpIntegration:IdpIntegration example <org_id>/<project_id>/<integration_id>
|
|
194
|
+
* ```
|
|
195
|
+
*/
|
|
196
|
+
class IdpIntegration extends pulumi.CustomResource {
|
|
197
|
+
/**
|
|
198
|
+
* Get an existing IdpIntegration resource's state with the given name, ID, and optional extra
|
|
199
|
+
* properties used to qualify the lookup.
|
|
200
|
+
*
|
|
201
|
+
* @param name The _unique_ name of the resulting resource.
|
|
202
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
203
|
+
* @param state Any extra arguments used during the lookup.
|
|
204
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
205
|
+
*/
|
|
206
|
+
static get(name, id, state, opts) {
|
|
207
|
+
return new IdpIntegration(name, state, { ...opts, id: id });
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* Check whether an existing IdpIntegration resource with the given ID exists.
|
|
211
|
+
*
|
|
212
|
+
* @param id The _unique_ provider ID of the resource to check.
|
|
213
|
+
* @param state Any extra arguments used during the lookup.
|
|
214
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
215
|
+
*/
|
|
216
|
+
static exists(id, state, opts) {
|
|
217
|
+
return pulumi.runtime.existsResource("harness:platform/idpIntegration:IdpIntegration", id, state || {}, { ...opts }, undefined);
|
|
218
|
+
}
|
|
219
|
+
/** @internal */
|
|
220
|
+
static __pulumiType = 'harness:platform/idpIntegration:IdpIntegration';
|
|
221
|
+
/**
|
|
222
|
+
* Returns true if the given object is an instance of IdpIntegration. This is designed to work even
|
|
223
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
224
|
+
*/
|
|
225
|
+
static isInstance(obj) {
|
|
226
|
+
if (obj === undefined || obj === null) {
|
|
227
|
+
return false;
|
|
228
|
+
}
|
|
229
|
+
return obj['__pulumiType'] === IdpIntegration.__pulumiType;
|
|
230
|
+
}
|
|
231
|
+
constructor(name, argsOrState, opts) {
|
|
232
|
+
let resourceInputs = {};
|
|
233
|
+
opts = opts || {};
|
|
234
|
+
if (opts.id) {
|
|
235
|
+
const state = argsOrState;
|
|
236
|
+
resourceInputs["bitbucketCloud"] = state?.bitbucketCloud;
|
|
237
|
+
resourceInputs["catalogInfo"] = state?.catalogInfo;
|
|
238
|
+
resourceInputs["connector"] = state?.connector;
|
|
239
|
+
resourceInputs["connectorVersion"] = state?.connectorVersion;
|
|
240
|
+
resourceInputs["created"] = state?.created;
|
|
241
|
+
resourceInputs["custom"] = state?.custom;
|
|
242
|
+
resourceInputs["datadog"] = state?.datadog;
|
|
243
|
+
resourceInputs["description"] = state?.description;
|
|
244
|
+
resourceInputs["dynatrace"] = state?.dynatrace;
|
|
245
|
+
resourceInputs["effectiveKinds"] = state?.effectiveKinds;
|
|
246
|
+
resourceInputs["enabled"] = state?.enabled;
|
|
247
|
+
resourceInputs["endpoints"] = state?.endpoints;
|
|
248
|
+
resourceInputs["gcp"] = state?.gcp;
|
|
249
|
+
resourceInputs["github"] = state?.github;
|
|
250
|
+
resourceInputs["harnessCd"] = state?.harnessCd;
|
|
251
|
+
resourceInputs["harnessCode"] = state?.harnessCode;
|
|
252
|
+
resourceInputs["harnessK8s"] = state?.harnessK8s;
|
|
253
|
+
resourceInputs["health"] = state?.health;
|
|
254
|
+
resourceInputs["identifier"] = state?.identifier;
|
|
255
|
+
resourceInputs["jira"] = state?.jira;
|
|
256
|
+
resourceInputs["kinds"] = state?.kinds;
|
|
257
|
+
resourceInputs["modeEffective"] = state?.modeEffective;
|
|
258
|
+
resourceInputs["name"] = state?.name;
|
|
259
|
+
resourceInputs["orgId"] = state?.orgId;
|
|
260
|
+
resourceInputs["pagerduty"] = state?.pagerduty;
|
|
261
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
262
|
+
resourceInputs["revision"] = state?.revision;
|
|
263
|
+
resourceInputs["scopes"] = state?.scopes;
|
|
264
|
+
resourceInputs["secondaryKinds"] = state?.secondaryKinds;
|
|
265
|
+
resourceInputs["sonarqube"] = state?.sonarqube;
|
|
266
|
+
resourceInputs["tags"] = state?.tags;
|
|
267
|
+
resourceInputs["type"] = state?.type;
|
|
268
|
+
resourceInputs["uid"] = state?.uid;
|
|
269
|
+
resourceInputs["updateFrequency"] = state?.updateFrequency;
|
|
270
|
+
resourceInputs["updated"] = state?.updated;
|
|
271
|
+
}
|
|
272
|
+
else {
|
|
273
|
+
const args = argsOrState;
|
|
274
|
+
if (args?.identifier === undefined && !opts.urn) {
|
|
275
|
+
throw new Error("Missing required property 'identifier'");
|
|
276
|
+
}
|
|
277
|
+
if (args?.type === undefined && !opts.urn) {
|
|
278
|
+
throw new Error("Missing required property 'type'");
|
|
279
|
+
}
|
|
280
|
+
resourceInputs["bitbucketCloud"] = args?.bitbucketCloud;
|
|
281
|
+
resourceInputs["catalogInfo"] = args?.catalogInfo;
|
|
282
|
+
resourceInputs["connector"] = args?.connector;
|
|
283
|
+
resourceInputs["custom"] = args?.custom;
|
|
284
|
+
resourceInputs["datadog"] = args?.datadog;
|
|
285
|
+
resourceInputs["description"] = args?.description;
|
|
286
|
+
resourceInputs["dynatrace"] = args?.dynatrace;
|
|
287
|
+
resourceInputs["enabled"] = args?.enabled;
|
|
288
|
+
resourceInputs["gcp"] = args?.gcp;
|
|
289
|
+
resourceInputs["github"] = args?.github;
|
|
290
|
+
resourceInputs["harnessCd"] = args?.harnessCd;
|
|
291
|
+
resourceInputs["harnessCode"] = args?.harnessCode;
|
|
292
|
+
resourceInputs["harnessK8s"] = args?.harnessK8s;
|
|
293
|
+
resourceInputs["identifier"] = args?.identifier;
|
|
294
|
+
resourceInputs["jira"] = args?.jira;
|
|
295
|
+
resourceInputs["kinds"] = args?.kinds;
|
|
296
|
+
resourceInputs["name"] = args?.name;
|
|
297
|
+
resourceInputs["orgId"] = args?.orgId;
|
|
298
|
+
resourceInputs["pagerduty"] = args?.pagerduty;
|
|
299
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
300
|
+
resourceInputs["scopes"] = args?.scopes;
|
|
301
|
+
resourceInputs["secondaryKinds"] = args?.secondaryKinds;
|
|
302
|
+
resourceInputs["sonarqube"] = args?.sonarqube;
|
|
303
|
+
resourceInputs["tags"] = args?.tags;
|
|
304
|
+
resourceInputs["type"] = args?.type;
|
|
305
|
+
resourceInputs["updateFrequency"] = args?.updateFrequency;
|
|
306
|
+
resourceInputs["connectorVersion"] = undefined /*out*/;
|
|
307
|
+
resourceInputs["created"] = undefined /*out*/;
|
|
308
|
+
resourceInputs["effectiveKinds"] = undefined /*out*/;
|
|
309
|
+
resourceInputs["endpoints"] = undefined /*out*/;
|
|
310
|
+
resourceInputs["health"] = undefined /*out*/;
|
|
311
|
+
resourceInputs["modeEffective"] = undefined /*out*/;
|
|
312
|
+
resourceInputs["revision"] = undefined /*out*/;
|
|
313
|
+
resourceInputs["uid"] = undefined /*out*/;
|
|
314
|
+
resourceInputs["updated"] = undefined /*out*/;
|
|
315
|
+
}
|
|
316
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
317
|
+
super(IdpIntegration.__pulumiType, name, resourceInputs, opts);
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
exports.IdpIntegration = IdpIntegration;
|
|
321
|
+
//# sourceMappingURL=idpIntegration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"idpIntegration.js","sourceRoot":"","sources":["../../platform/idpIntegration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoKG;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;IAED;;;;;;OAMG;IACI,MAAM,CAAC,MAAM,CAAC,EAAwB,EAAE,KAA2B,EAAE,IAAmC;QAC3G,OAAO,MAAM,CAAC,OAAO,CAAC,cAAc,CAAC,gDAAgD,EAAE,EAAE,EAAO,KAAK,IAAI,EAAE,EAAE,EAAE,GAAG,IAAI,E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O,CAAC;YACpD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;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;;AAlRL,wCAmRC"}
|
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Resource for the mapping of one kind of an IDP integration. Every kind has a mapping, so creating this adopts it. Destroying it removes it from the state only, as a kind's mapping exists as long as the kind does; on Airbyte types it also restores the type's default field mappings. Don't manage a kind with both this and a mapping block on harness_platform_idp_integration, which is only sent at create.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as harness from "@pulumi/harness";
|
|
12
|
+
*
|
|
13
|
+
* // Every kind of an integration has a mapping. This resource manages it, replacing the whole mapping: omitted fields
|
|
14
|
+
* // get the type's defaults. Destroying the resource only removes it from the state; on Airbyte types such as
|
|
15
|
+
* // ServiceNow it also restores the type's default field mappings.
|
|
16
|
+
* const services = new harness.platform.IdpIntegrationKindMapping("services", {
|
|
17
|
+
* correlation: {
|
|
18
|
+
* sourcePath: "metadata.integration_properties.ServiceNow.name",
|
|
19
|
+
* targetPath: "name",
|
|
20
|
+
* },
|
|
21
|
+
* fieldMappings: [
|
|
22
|
+
* {
|
|
23
|
+
* sourceField: "owned_by",
|
|
24
|
+
* targetField: "spec.owner",
|
|
25
|
+
* },
|
|
26
|
+
* {
|
|
27
|
+
* sourceField: "environment",
|
|
28
|
+
* targetField: "metadata.environment",
|
|
29
|
+
* },
|
|
30
|
+
* ],
|
|
31
|
+
* integrationId: servicenow.identifier,
|
|
32
|
+
* orgId: "default",
|
|
33
|
+
* kind: "cmdb_ci_service",
|
|
34
|
+
* displayNameField: "name",
|
|
35
|
+
* idpKind: "component",
|
|
36
|
+
* idpType: "service",
|
|
37
|
+
* });
|
|
38
|
+
* // Adds a correlation to a PagerDuty kind, linking each service to the catalog entity with the same name. Omitted
|
|
39
|
+
* // fields, such as field_mapping, keep the type's defaults.
|
|
40
|
+
* const pagerduty = new harness.platform.IdpIntegrationKindMapping("pagerduty", {
|
|
41
|
+
* correlation: {
|
|
42
|
+
* sourcePath: "metadata.integration_properties.PagerDuty.name",
|
|
43
|
+
* targetPath: "name",
|
|
44
|
+
* },
|
|
45
|
+
* integrationId: pagerdutyHarnessPlatformIdpIntegration.identifier,
|
|
46
|
+
* kind: "services",
|
|
47
|
+
* });
|
|
48
|
+
* // Custom integrations build entities from the payload with JQ. Don't also set a mapping block for this kind on the
|
|
49
|
+
* // integration; that block is only sent at create.
|
|
50
|
+
* const orders = new harness.platform.IdpIntegrationKindMapping("orders", {
|
|
51
|
+
* ingestion: {
|
|
52
|
+
* identifier: ".service.id",
|
|
53
|
+
* name: ".service.name",
|
|
54
|
+
* properties: {
|
|
55
|
+
* "spec.owner": ".service.team",
|
|
56
|
+
* },
|
|
57
|
+
* },
|
|
58
|
+
* integrationId: ordersHarnessPlatformIdpIntegration.identifier,
|
|
59
|
+
* kind: "custom",
|
|
60
|
+
* });
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* ## Import
|
|
64
|
+
*
|
|
65
|
+
* Import the mapping of a kind of an account level integration
|
|
66
|
+
*
|
|
67
|
+
* ```sh
|
|
68
|
+
* $ pulumi import harness:platform/idpIntegrationKindMapping:IdpIntegrationKindMapping example <integration_id>/<kind>
|
|
69
|
+
* ```
|
|
70
|
+
*
|
|
71
|
+
* Import the mapping of a kind of an org level integration
|
|
72
|
+
*
|
|
73
|
+
* ```sh
|
|
74
|
+
* $ pulumi import harness:platform/idpIntegrationKindMapping:IdpIntegrationKindMapping example <org_id>/<integration_id>/<kind>
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
77
|
+
* Import the mapping of a kind of a project level integration
|
|
78
|
+
*
|
|
79
|
+
* ```sh
|
|
80
|
+
* $ pulumi import harness:platform/idpIntegrationKindMapping:IdpIntegrationKindMapping example <org_id>/<project_id>/<integration_id>/<kind>
|
|
81
|
+
* ```
|
|
82
|
+
*/
|
|
83
|
+
export declare class IdpIntegrationKindMapping extends pulumi.CustomResource {
|
|
84
|
+
/**
|
|
85
|
+
* Get an existing IdpIntegrationKindMapping resource's state with the given name, ID, and optional extra
|
|
86
|
+
* properties used to qualify the lookup.
|
|
87
|
+
*
|
|
88
|
+
* @param name The _unique_ name of the resulting resource.
|
|
89
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
90
|
+
* @param state Any extra arguments used during the lookup.
|
|
91
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
92
|
+
*/
|
|
93
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: IdpIntegrationKindMappingState, opts?: pulumi.CustomResourceOptions): IdpIntegrationKindMapping;
|
|
94
|
+
/**
|
|
95
|
+
* Check whether an existing IdpIntegrationKindMapping resource with the given ID exists.
|
|
96
|
+
*
|
|
97
|
+
* @param id The _unique_ provider ID of the resource to check.
|
|
98
|
+
* @param state Any extra arguments used during the lookup.
|
|
99
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
100
|
+
*/
|
|
101
|
+
static exists(id: pulumi.Input<string>, state?: IdpIntegrationKindMappingState, opts?: pulumi.CustomResourceOptions): pulumi.Output<boolean>;
|
|
102
|
+
/**
|
|
103
|
+
* Returns true if the given object is an instance of IdpIntegrationKindMapping. This is designed to work even
|
|
104
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
105
|
+
*/
|
|
106
|
+
static isInstance(obj: any): obj is IdpIntegrationKindMapping;
|
|
107
|
+
/**
|
|
108
|
+
* Links records to existing entities; the server's when omitted.
|
|
109
|
+
*/
|
|
110
|
+
readonly correlation: pulumi.Output<outputs.platform.IdpIntegrationKindMappingCorrelation>;
|
|
111
|
+
/**
|
|
112
|
+
* Source field used as the entity's name.
|
|
113
|
+
*/
|
|
114
|
+
readonly displayNameField: pulumi.Output<string>;
|
|
115
|
+
/**
|
|
116
|
+
* How entities are emitted; read-only.
|
|
117
|
+
*/
|
|
118
|
+
readonly emissions: pulumi.Output<outputs.platform.IdpIntegrationKindMappingEmission[]>;
|
|
119
|
+
/**
|
|
120
|
+
* Maps a source field to an entity field. Airbyte types. Omitted, the type's defaults apply; removing it from the config keeps the last value, so destroy the mapping resource to go back to them.
|
|
121
|
+
*/
|
|
122
|
+
readonly fieldMappings: pulumi.Output<outputs.platform.IdpIntegrationKindMappingFieldMapping[]>;
|
|
123
|
+
/**
|
|
124
|
+
* Entity kind, e.g. component.
|
|
125
|
+
*/
|
|
126
|
+
readonly idpKind: pulumi.Output<string>;
|
|
127
|
+
/**
|
|
128
|
+
* Entity type, e.g. service.
|
|
129
|
+
*/
|
|
130
|
+
readonly idpType: pulumi.Output<string>;
|
|
131
|
+
/**
|
|
132
|
+
* Custom types: JQ that builds the entity from a payload.
|
|
133
|
+
*/
|
|
134
|
+
readonly ingestion: pulumi.Output<outputs.platform.IdpIntegrationKindMappingIngestion>;
|
|
135
|
+
/**
|
|
136
|
+
* Identifier of the integration.
|
|
137
|
+
*/
|
|
138
|
+
readonly integrationId: pulumi.Output<string>;
|
|
139
|
+
/**
|
|
140
|
+
* Kind whose mapping this is.
|
|
141
|
+
*/
|
|
142
|
+
readonly kind: pulumi.Output<string>;
|
|
143
|
+
/**
|
|
144
|
+
* Organization of the integration.
|
|
145
|
+
*/
|
|
146
|
+
readonly orgId: pulumi.Output<string | undefined>;
|
|
147
|
+
/**
|
|
148
|
+
* JSON schema of the payload; read-only.
|
|
149
|
+
*/
|
|
150
|
+
readonly payloadSchema: pulumi.Output<string>;
|
|
151
|
+
/**
|
|
152
|
+
* Project of the integration.
|
|
153
|
+
*/
|
|
154
|
+
readonly projectId: pulumi.Output<string | undefined>;
|
|
155
|
+
/**
|
|
156
|
+
* The integration's revision.
|
|
157
|
+
*/
|
|
158
|
+
readonly revision: pulumi.Output<number>;
|
|
159
|
+
/**
|
|
160
|
+
* Source field that identifies an entity. Can't change on Airbyte types.
|
|
161
|
+
*/
|
|
162
|
+
readonly uniqueIdentifierField: pulumi.Output<string>;
|
|
163
|
+
/**
|
|
164
|
+
* Last update time, in milliseconds since the epoch.
|
|
165
|
+
*/
|
|
166
|
+
readonly updated: pulumi.Output<number>;
|
|
167
|
+
/**
|
|
168
|
+
* Create a IdpIntegrationKindMapping resource with the given unique name, arguments, and options.
|
|
169
|
+
*
|
|
170
|
+
* @param name The _unique_ name of the resource.
|
|
171
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
172
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
173
|
+
*/
|
|
174
|
+
constructor(name: string, args: IdpIntegrationKindMappingArgs, opts?: pulumi.CustomResourceOptions);
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* Input properties used for looking up and filtering IdpIntegrationKindMapping resources.
|
|
178
|
+
*/
|
|
179
|
+
export interface IdpIntegrationKindMappingState {
|
|
180
|
+
/**
|
|
181
|
+
* Links records to existing entities; the server's when omitted.
|
|
182
|
+
*/
|
|
183
|
+
correlation?: pulumi.Input<inputs.platform.IdpIntegrationKindMappingCorrelation | undefined>;
|
|
184
|
+
/**
|
|
185
|
+
* Source field used as the entity's name.
|
|
186
|
+
*/
|
|
187
|
+
displayNameField?: pulumi.Input<string | undefined>;
|
|
188
|
+
/**
|
|
189
|
+
* How entities are emitted; read-only.
|
|
190
|
+
*/
|
|
191
|
+
emissions?: pulumi.Input<pulumi.Input<inputs.platform.IdpIntegrationKindMappingEmission>[] | undefined>;
|
|
192
|
+
/**
|
|
193
|
+
* Maps a source field to an entity field. Airbyte types. Omitted, the type's defaults apply; removing it from the config keeps the last value, so destroy the mapping resource to go back to them.
|
|
194
|
+
*/
|
|
195
|
+
fieldMappings?: pulumi.Input<pulumi.Input<inputs.platform.IdpIntegrationKindMappingFieldMapping>[] | undefined>;
|
|
196
|
+
/**
|
|
197
|
+
* Entity kind, e.g. component.
|
|
198
|
+
*/
|
|
199
|
+
idpKind?: pulumi.Input<string | undefined>;
|
|
200
|
+
/**
|
|
201
|
+
* Entity type, e.g. service.
|
|
202
|
+
*/
|
|
203
|
+
idpType?: pulumi.Input<string | undefined>;
|
|
204
|
+
/**
|
|
205
|
+
* Custom types: JQ that builds the entity from a payload.
|
|
206
|
+
*/
|
|
207
|
+
ingestion?: pulumi.Input<inputs.platform.IdpIntegrationKindMappingIngestion | undefined>;
|
|
208
|
+
/**
|
|
209
|
+
* Identifier of the integration.
|
|
210
|
+
*/
|
|
211
|
+
integrationId?: pulumi.Input<string | undefined>;
|
|
212
|
+
/**
|
|
213
|
+
* Kind whose mapping this is.
|
|
214
|
+
*/
|
|
215
|
+
kind?: pulumi.Input<string | undefined>;
|
|
216
|
+
/**
|
|
217
|
+
* Organization of the integration.
|
|
218
|
+
*/
|
|
219
|
+
orgId?: pulumi.Input<string | undefined>;
|
|
220
|
+
/**
|
|
221
|
+
* JSON schema of the payload; read-only.
|
|
222
|
+
*/
|
|
223
|
+
payloadSchema?: pulumi.Input<string | undefined>;
|
|
224
|
+
/**
|
|
225
|
+
* Project of the integration.
|
|
226
|
+
*/
|
|
227
|
+
projectId?: pulumi.Input<string | undefined>;
|
|
228
|
+
/**
|
|
229
|
+
* The integration's revision.
|
|
230
|
+
*/
|
|
231
|
+
revision?: pulumi.Input<number | undefined>;
|
|
232
|
+
/**
|
|
233
|
+
* Source field that identifies an entity. Can't change on Airbyte types.
|
|
234
|
+
*/
|
|
235
|
+
uniqueIdentifierField?: pulumi.Input<string | undefined>;
|
|
236
|
+
/**
|
|
237
|
+
* Last update time, in milliseconds since the epoch.
|
|
238
|
+
*/
|
|
239
|
+
updated?: pulumi.Input<number | undefined>;
|
|
240
|
+
}
|
|
241
|
+
/**
|
|
242
|
+
* The set of arguments for constructing a IdpIntegrationKindMapping resource.
|
|
243
|
+
*/
|
|
244
|
+
export interface IdpIntegrationKindMappingArgs {
|
|
245
|
+
/**
|
|
246
|
+
* Links records to existing entities; the server's when omitted.
|
|
247
|
+
*/
|
|
248
|
+
correlation?: pulumi.Input<inputs.platform.IdpIntegrationKindMappingCorrelation | undefined>;
|
|
249
|
+
/**
|
|
250
|
+
* Source field used as the entity's name.
|
|
251
|
+
*/
|
|
252
|
+
displayNameField?: pulumi.Input<string | undefined>;
|
|
253
|
+
/**
|
|
254
|
+
* Maps a source field to an entity field. Airbyte types. Omitted, the type's defaults apply; removing it from the config keeps the last value, so destroy the mapping resource to go back to them.
|
|
255
|
+
*/
|
|
256
|
+
fieldMappings?: pulumi.Input<pulumi.Input<inputs.platform.IdpIntegrationKindMappingFieldMapping>[] | undefined>;
|
|
257
|
+
/**
|
|
258
|
+
* Entity kind, e.g. component.
|
|
259
|
+
*/
|
|
260
|
+
idpKind?: pulumi.Input<string | undefined>;
|
|
261
|
+
/**
|
|
262
|
+
* Entity type, e.g. service.
|
|
263
|
+
*/
|
|
264
|
+
idpType?: pulumi.Input<string | undefined>;
|
|
265
|
+
/**
|
|
266
|
+
* Custom types: JQ that builds the entity from a payload.
|
|
267
|
+
*/
|
|
268
|
+
ingestion?: pulumi.Input<inputs.platform.IdpIntegrationKindMappingIngestion | undefined>;
|
|
269
|
+
/**
|
|
270
|
+
* Identifier of the integration.
|
|
271
|
+
*/
|
|
272
|
+
integrationId: pulumi.Input<string>;
|
|
273
|
+
/**
|
|
274
|
+
* Kind whose mapping this is.
|
|
275
|
+
*/
|
|
276
|
+
kind: pulumi.Input<string>;
|
|
277
|
+
/**
|
|
278
|
+
* Organization of the integration.
|
|
279
|
+
*/
|
|
280
|
+
orgId?: pulumi.Input<string | undefined>;
|
|
281
|
+
/**
|
|
282
|
+
* Project of the integration.
|
|
283
|
+
*/
|
|
284
|
+
projectId?: pulumi.Input<string | undefined>;
|
|
285
|
+
/**
|
|
286
|
+
* Source field that identifies an entity. Can't change on Airbyte types.
|
|
287
|
+
*/
|
|
288
|
+
uniqueIdentifierField?: pulumi.Input<string | undefined>;
|
|
289
|
+
}
|
|
290
|
+
//# sourceMappingURL=idpIntegrationKindMapping.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"idpIntegrationKindMapping.d.ts","sourceRoot":"","sources":["../../platform/idpIntegrationKindMapping.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8EG;AACH,qBAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,8BAA8B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,yBAAyB;IAIpK;;;;;;OAMG;WACW,MAAM,CAAC,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,KAAK,CAAC,EAAE,8BAA8B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC;IAOnJ;;;OAGG;WACW,UAA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