@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/types/output.d.ts CHANGED
@@ -9309,6 +9309,420 @@ export declare namespace platform {
9309
9309
  */
9310
9310
  storeType: string;
9311
9311
  }
9312
+ interface GetIdpIntegrationBitbucketCloud {
9313
+ /**
9314
+ * Lower bound for the first sync, RFC3339.
9315
+ */
9316
+ startDate: string;
9317
+ }
9318
+ interface GetIdpIntegrationCatalogInfo {
9319
+ /**
9320
+ * Branch to read; omit for each repository's default branch.
9321
+ */
9322
+ branch: string;
9323
+ /**
9324
+ * Catalog file glob, relative to the repository root.
9325
+ */
9326
+ catalogPath: string;
9327
+ /**
9328
+ * Writes converted Harness YAML to git.
9329
+ */
9330
+ gitSyncs: outputs.platform.GetIdpIntegrationCatalogInfoGitSync[];
9331
+ /**
9332
+ * Repositories to scan; omit to scan all.
9333
+ */
9334
+ repositories: string[];
9335
+ /**
9336
+ * github or bitbucket.
9337
+ */
9338
+ sourceType: string;
9339
+ }
9340
+ interface GetIdpIntegrationCatalogInfoGitSync {
9341
+ /**
9342
+ * Directory the files are written to.
9343
+ */
9344
+ basePath: string;
9345
+ /**
9346
+ * Connector used to push.
9347
+ */
9348
+ connectorRef: string;
9349
+ /**
9350
+ * Where to push. Set exactly one of sourceRepo or repo.
9351
+ */
9352
+ targets: outputs.platform.GetIdpIntegrationCatalogInfoGitSyncTarget[];
9353
+ }
9354
+ interface GetIdpIntegrationCatalogInfoGitSyncTarget {
9355
+ /**
9356
+ * Push to one repository.
9357
+ */
9358
+ repos: outputs.platform.GetIdpIntegrationCatalogInfoGitSyncTargetRepo[];
9359
+ /**
9360
+ * Push to the repository each file was read from.
9361
+ */
9362
+ sourceRepo: boolean;
9363
+ }
9364
+ interface GetIdpIntegrationCatalogInfoGitSyncTargetRepo {
9365
+ /**
9366
+ * Branch.
9367
+ */
9368
+ branch: string;
9369
+ /**
9370
+ * Repository.
9371
+ */
9372
+ name: string;
9373
+ }
9374
+ interface GetIdpIntegrationConnector {
9375
+ /**
9376
+ * Credentials stored on the integration.
9377
+ */
9378
+ inlines: outputs.platform.GetIdpIntegrationConnectorInline[];
9379
+ /**
9380
+ * Reference to a standalone IDP connector.
9381
+ */
9382
+ ref: string;
9383
+ }
9384
+ interface GetIdpIntegrationConnectorInline {
9385
+ /**
9386
+ * Harness connector reference, e.g. account.snow. Can't change.
9387
+ */
9388
+ credentialsRef: string;
9389
+ }
9390
+ interface GetIdpIntegrationCustom {
9391
+ /**
9392
+ * Columns shown for the integration's entities.
9393
+ */
9394
+ layouts: outputs.platform.GetIdpIntegrationCustomLayout[];
9395
+ /**
9396
+ * webhook or api.
9397
+ */
9398
+ mode: string;
9399
+ /**
9400
+ * Label for the sending system.
9401
+ */
9402
+ sourceLabel: string;
9403
+ /**
9404
+ * Webhook authentication. Required in webhook mode.
9405
+ */
9406
+ webhookAuths: outputs.platform.GetIdpIntegrationCustomWebhookAuth[];
9407
+ }
9408
+ interface GetIdpIntegrationCustomLayout {
9409
+ /**
9410
+ * A column.
9411
+ */
9412
+ columns: outputs.platform.GetIdpIntegrationCustomLayoutColumn[];
9413
+ }
9414
+ interface GetIdpIntegrationCustomLayoutColumn {
9415
+ /**
9416
+ * JQ path of the value.
9417
+ */
9418
+ path: string;
9419
+ /**
9420
+ * Column title.
9421
+ */
9422
+ title: string;
9423
+ }
9424
+ interface GetIdpIntegrationCustomWebhookAuth {
9425
+ /**
9426
+ * Header carrying the signature or token.
9427
+ */
9428
+ authHeader: string;
9429
+ /**
9430
+ * hmac_auth or jwt_auth.
9431
+ */
9432
+ authType: string;
9433
+ /**
9434
+ * HMAC hash: hmac_sha224, hmac_sha256, hmacSha384 or hmac_sha512.
9435
+ */
9436
+ hashAlgo: string;
9437
+ /**
9438
+ * Secret reference holding the shared secret.
9439
+ */
9440
+ secretRef: string;
9441
+ }
9442
+ interface GetIdpIntegrationDatadog {
9443
+ /**
9444
+ * Environment used to add service dependencies.
9445
+ */
9446
+ serviceDependenciesEnv: string;
9447
+ }
9448
+ interface GetIdpIntegrationDynatrace {
9449
+ /**
9450
+ * Secret reference to a Platform API token.
9451
+ */
9452
+ platformTokenRef: string;
9453
+ /**
9454
+ * Lower bound for incremental streams, RFC3339.
9455
+ */
9456
+ startDate: string;
9457
+ }
9458
+ interface GetIdpIntegrationEndpoint {
9459
+ /**
9460
+ * Kind.
9461
+ */
9462
+ kind: string;
9463
+ /**
9464
+ * HTTP method.
9465
+ */
9466
+ method: string;
9467
+ /**
9468
+ * Path relative to the integration manager, e.g. https://app.harness.io/gateway/integration.
9469
+ */
9470
+ url: string;
9471
+ }
9472
+ interface GetIdpIntegrationGcp {
9473
+ /**
9474
+ * The organization or folder whose assets are synced. Set exactly one field.
9475
+ */
9476
+ parents: outputs.platform.GetIdpIntegrationGcpParent[];
9477
+ }
9478
+ interface GetIdpIntegrationGcpParent {
9479
+ /**
9480
+ * Folder ID.
9481
+ */
9482
+ folderId: string;
9483
+ /**
9484
+ * Organization ID.
9485
+ */
9486
+ orgId: string;
9487
+ }
9488
+ interface GetIdpIntegrationGithub {
9489
+ /**
9490
+ * Agents file to detect in repositories.
9491
+ */
9492
+ agentFileName: string;
9493
+ /**
9494
+ * Organizations to sync.
9495
+ */
9496
+ orgs: string[];
9497
+ /**
9498
+ * Lower bound for the first sync, RFC3339.
9499
+ */
9500
+ startDate: string;
9501
+ }
9502
+ interface GetIdpIntegrationHarnessCd {
9503
+ /**
9504
+ * Days of deployments to read.
9505
+ */
9506
+ deploymentCycle: number;
9507
+ /**
9508
+ * Fields to map per kind; omit to map all.
9509
+ */
9510
+ mappingFields: outputs.platform.GetIdpIntegrationHarnessCdMappingField[];
9511
+ }
9512
+ interface GetIdpIntegrationHarnessCdMappingField {
9513
+ /**
9514
+ * Fields.
9515
+ */
9516
+ fields: string[];
9517
+ /**
9518
+ * Kind.
9519
+ */
9520
+ kind: string;
9521
+ }
9522
+ interface GetIdpIntegrationHarnessCode {
9523
+ /**
9524
+ * Agents file to detect in repositories.
9525
+ */
9526
+ agentFileName: string;
9527
+ }
9528
+ interface GetIdpIntegrationHarnessK8 {
9529
+ /**
9530
+ * Environment.
9531
+ */
9532
+ environmentIdentifier: string;
9533
+ /**
9534
+ * Service discovery agent.
9535
+ */
9536
+ serviceDiscoveryAgentIdentifier: string;
9537
+ }
9538
+ interface GetIdpIntegrationJira {
9539
+ /**
9540
+ * Custom field IDs to sync, like customfield_10456.
9541
+ */
9542
+ customFields: string[];
9543
+ /**
9544
+ * Lower bound for the first sync, RFC3339; 365 days back when omitted.
9545
+ */
9546
+ startDate: string;
9547
+ }
9548
+ interface GetIdpIntegrationKind {
9549
+ /**
9550
+ * register, merge or merge_register; the type's default when omitted.
9551
+ */
9552
+ action: string;
9553
+ /**
9554
+ * Import new entities automatically.
9555
+ */
9556
+ autoImport: boolean;
9557
+ /**
9558
+ * JQ that returns true for records to keep; the type's default when omitted.
9559
+ */
9560
+ filter: string;
9561
+ /**
9562
+ * Airbyte types: entity kind, e.g. component; the type's default when omitted. Set at create only; required for kinds with no default, such as ServiceNow's.
9563
+ */
9564
+ idpKind: string;
9565
+ /**
9566
+ * Airbyte types: entity type, e.g. service; the type's default when omitted. Set at create only.
9567
+ */
9568
+ idpType: string;
9569
+ /**
9570
+ * Kind name.
9571
+ */
9572
+ kind: string;
9573
+ /**
9574
+ * Airbyte types: the stream's sync mode, fullRefresh or incremental.
9575
+ */
9576
+ replicationMode: string;
9577
+ }
9578
+ interface GetIdpIntegrationKindMappingCorrelation {
9579
+ /**
9580
+ * Match operator; eq when omitted.
9581
+ */
9582
+ operator: string;
9583
+ /**
9584
+ * Field to match. Airbyte types: a path in the emitted entity data, e.g. identifier or spec.owner; Custom: a payload field.
9585
+ */
9586
+ sourcePath: string;
9587
+ /**
9588
+ * Entity field to match, e.g. metadata.identifier.
9589
+ */
9590
+ targetPath: string;
9591
+ }
9592
+ interface GetIdpIntegrationKindMappingEmission {
9593
+ identifier: string;
9594
+ name: string;
9595
+ /**
9596
+ * JSON object.
9597
+ */
9598
+ properties: string;
9599
+ }
9600
+ interface GetIdpIntegrationKindMappingFieldMapping {
9601
+ /**
9602
+ * Source field.
9603
+ */
9604
+ sourceField: string;
9605
+ /**
9606
+ * Entity field, e.g. spec.owner.
9607
+ */
9608
+ targetField: string;
9609
+ }
9610
+ interface GetIdpIntegrationKindMappingIngestion {
9611
+ /**
9612
+ * JQ for the entity identifier.
9613
+ */
9614
+ identifier: string;
9615
+ /**
9616
+ * JQ for the entity name.
9617
+ */
9618
+ name: string;
9619
+ /**
9620
+ * JQ per entity property; derived from the payload schema when omitted.
9621
+ */
9622
+ properties: {
9623
+ [key: string]: string;
9624
+ };
9625
+ }
9626
+ interface GetIdpIntegrationPagerduty {
9627
+ /**
9628
+ * Months of analytics to aggregate.
9629
+ */
9630
+ analyticsDurationMonths: number;
9631
+ /**
9632
+ * Lower bound for the first sync, RFC3339.
9633
+ */
9634
+ startDate: string;
9635
+ }
9636
+ interface GetIdpIntegrationScope {
9637
+ /**
9638
+ * Read from every scope.
9639
+ */
9640
+ all: boolean;
9641
+ /**
9642
+ * Scopes to read from: "" for the account, "org" or "org/project".
9643
+ */
9644
+ selecteds: string[];
9645
+ }
9646
+ interface GetIdpIntegrationSonarqube {
9647
+ /**
9648
+ * Set exactly one of server or cloud.
9649
+ */
9650
+ instances: outputs.platform.GetIdpIntegrationSonarqubeInstance[];
9651
+ /**
9652
+ * Filters for the issues stream.
9653
+ */
9654
+ issues: outputs.platform.GetIdpIntegrationSonarqubeIssue[];
9655
+ /**
9656
+ * Projects to sync; omit to sync all. Set exactly one of include or exclude.
9657
+ */
9658
+ projects: outputs.platform.GetIdpIntegrationSonarqubeProject[];
9659
+ /**
9660
+ * Lower bound for the first sync, RFC3339.
9661
+ */
9662
+ startDate: string;
9663
+ /**
9664
+ * Secret reference to a SonarQube user token.
9665
+ */
9666
+ tokenRef: string;
9667
+ }
9668
+ interface GetIdpIntegrationSonarqubeInstance {
9669
+ /**
9670
+ * SonarQube Cloud.
9671
+ */
9672
+ clouds: outputs.platform.GetIdpIntegrationSonarqubeInstanceCloud[];
9673
+ /**
9674
+ * Self-hosted SonarQube Server.
9675
+ */
9676
+ servers: outputs.platform.GetIdpIntegrationSonarqubeInstanceServer[];
9677
+ }
9678
+ interface GetIdpIntegrationSonarqubeInstanceCloud {
9679
+ /**
9680
+ * Cloud URL.
9681
+ */
9682
+ hostUrl: string;
9683
+ /**
9684
+ * Organization key.
9685
+ */
9686
+ organization: string;
9687
+ }
9688
+ interface GetIdpIntegrationSonarqubeInstanceServer {
9689
+ /**
9690
+ * Server URL.
9691
+ */
9692
+ hostUrl: string;
9693
+ }
9694
+ interface GetIdpIntegrationSonarqubeIssue {
9695
+ /**
9696
+ * INFO, LOW, MEDIUM, HIGH or BLOCKER.
9697
+ */
9698
+ impactSeverities: string[];
9699
+ /**
9700
+ * OPEN, CONFIRMED, FALSE_POSITIVE, ACCEPTED, FIXED or IN_SANDBOX.
9701
+ */
9702
+ issueStatuses: string[];
9703
+ /**
9704
+ * "true" for resolved issues only, "false" for unresolved only; omit for both.
9705
+ */
9706
+ resolved: string;
9707
+ /**
9708
+ * INFO, MINOR, MAJOR, CRITICAL or BLOCKER.
9709
+ */
9710
+ severities: string[];
9711
+ /**
9712
+ * CODE_SMELL, BUG or VULNERABILITY.
9713
+ */
9714
+ types: string[];
9715
+ }
9716
+ interface GetIdpIntegrationSonarqubeProject {
9717
+ /**
9718
+ * Every project except these keys.
9719
+ */
9720
+ excludes: string[];
9721
+ /**
9722
+ * Only these project keys.
9723
+ */
9724
+ includes: string[];
9725
+ }
9312
9726
  interface GetIdpPluginEnvVariable {
9313
9727
  /**
9314
9728
  * Name of the environment variable.
@@ -38815,6 +39229,458 @@ export declare namespace platform {
38815
39229
  */
38816
39230
  storeType: string;
38817
39231
  }
39232
+ interface IdpIntegrationBitbucketCloud {
39233
+ /**
39234
+ * Lower bound for the first sync, RFC3339.
39235
+ */
39236
+ startDate: string;
39237
+ }
39238
+ interface IdpIntegrationCatalogInfo {
39239
+ /**
39240
+ * Branch to read; omit for each repository's default branch.
39241
+ */
39242
+ branch?: string;
39243
+ /**
39244
+ * Catalog file glob, relative to the repository root.
39245
+ */
39246
+ catalogPath: string;
39247
+ /**
39248
+ * Writes converted Harness YAML to git.
39249
+ */
39250
+ gitSync?: outputs.platform.IdpIntegrationCatalogInfoGitSync;
39251
+ /**
39252
+ * Repositories to scan; omit to scan all.
39253
+ */
39254
+ repositories?: string[];
39255
+ /**
39256
+ * github or bitbucket.
39257
+ */
39258
+ sourceType: string;
39259
+ }
39260
+ interface IdpIntegrationCatalogInfoGitSync {
39261
+ /**
39262
+ * Directory the files are written to.
39263
+ */
39264
+ basePath: string;
39265
+ /**
39266
+ * Connector used to push.
39267
+ */
39268
+ connectorRef: string;
39269
+ /**
39270
+ * Where to push. Set exactly one of source*repo or repo.
39271
+ */
39272
+ target: outputs.platform.IdpIntegrationCatalogInfoGitSyncTarget;
39273
+ }
39274
+ interface IdpIntegrationCatalogInfoGitSyncTarget {
39275
+ /**
39276
+ * Push to one repository.
39277
+ */
39278
+ repo?: outputs.platform.IdpIntegrationCatalogInfoGitSyncTargetRepo;
39279
+ /**
39280
+ * Push to the repository each file was read from.
39281
+ */
39282
+ sourceRepo?: boolean;
39283
+ }
39284
+ interface IdpIntegrationCatalogInfoGitSyncTargetRepo {
39285
+ /**
39286
+ * Branch.
39287
+ */
39288
+ branch: string;
39289
+ /**
39290
+ * Repository.
39291
+ */
39292
+ name: string;
39293
+ }
39294
+ interface IdpIntegrationConnector {
39295
+ /**
39296
+ * Credentials stored on the integration.
39297
+ */
39298
+ inline?: outputs.platform.IdpIntegrationConnectorInline;
39299
+ /**
39300
+ * Reference to a standalone IDP connector.
39301
+ */
39302
+ ref?: string;
39303
+ }
39304
+ interface IdpIntegrationConnectorInline {
39305
+ /**
39306
+ * Harness connector reference, e.g. account.snow. Can't change.
39307
+ */
39308
+ credentialsRef: string;
39309
+ }
39310
+ interface IdpIntegrationCustom {
39311
+ /**
39312
+ * Columns shown for the integration's entities.
39313
+ */
39314
+ layout: outputs.platform.IdpIntegrationCustomLayout;
39315
+ /**
39316
+ * webhook or api.
39317
+ */
39318
+ mode: string;
39319
+ /**
39320
+ * Label for the sending system.
39321
+ */
39322
+ sourceLabel: string;
39323
+ /**
39324
+ * Webhook authentication. Required in webhook mode.
39325
+ */
39326
+ webhookAuth?: outputs.platform.IdpIntegrationCustomWebhookAuth;
39327
+ }
39328
+ interface IdpIntegrationCustomLayout {
39329
+ /**
39330
+ * A column.
39331
+ */
39332
+ columns: outputs.platform.IdpIntegrationCustomLayoutColumn[];
39333
+ }
39334
+ interface IdpIntegrationCustomLayoutColumn {
39335
+ /**
39336
+ * JQ path of the value.
39337
+ */
39338
+ path: string;
39339
+ /**
39340
+ * Column title.
39341
+ */
39342
+ title: string;
39343
+ }
39344
+ interface IdpIntegrationCustomWebhookAuth {
39345
+ /**
39346
+ * Header carrying the signature or token.
39347
+ */
39348
+ authHeader?: string;
39349
+ /**
39350
+ * hmac*auth or jwt*auth.
39351
+ */
39352
+ authType: string;
39353
+ /**
39354
+ * HMAC hash: hmac*sha224, hmac*sha256, hmac*sha384 or hmac*sha512.
39355
+ */
39356
+ hashAlgo?: string;
39357
+ /**
39358
+ * Secret reference holding the shared secret.
39359
+ */
39360
+ secretRef?: string;
39361
+ }
39362
+ interface IdpIntegrationDatadog {
39363
+ /**
39364
+ * Environment used to add service dependencies.
39365
+ */
39366
+ serviceDependenciesEnv?: string;
39367
+ }
39368
+ interface IdpIntegrationDynatrace {
39369
+ /**
39370
+ * Secret reference to a Platform API token.
39371
+ */
39372
+ platformTokenRef?: string;
39373
+ /**
39374
+ * Lower bound for incremental streams, RFC3339.
39375
+ */
39376
+ startDate: string;
39377
+ }
39378
+ interface IdpIntegrationEndpoint {
39379
+ /**
39380
+ * Kind.
39381
+ */
39382
+ kind: string;
39383
+ /**
39384
+ * HTTP method.
39385
+ */
39386
+ method: string;
39387
+ /**
39388
+ * Path relative to the integration manager, e.g. https://app.harness.io/gateway/integration.
39389
+ */
39390
+ url: string;
39391
+ }
39392
+ interface IdpIntegrationGcp {
39393
+ /**
39394
+ * The organization or folder whose assets are synced. Set exactly one field.
39395
+ */
39396
+ parent: outputs.platform.IdpIntegrationGcpParent;
39397
+ }
39398
+ interface IdpIntegrationGcpParent {
39399
+ /**
39400
+ * Folder ID.
39401
+ */
39402
+ folderId?: string;
39403
+ /**
39404
+ * Organization ID.
39405
+ */
39406
+ orgId?: string;
39407
+ }
39408
+ interface IdpIntegrationGithub {
39409
+ /**
39410
+ * Agents file to detect in repositories.
39411
+ */
39412
+ agentFileName: string;
39413
+ /**
39414
+ * Organizations to sync.
39415
+ */
39416
+ orgs: string[];
39417
+ /**
39418
+ * Lower bound for the first sync, RFC3339.
39419
+ */
39420
+ startDate: string;
39421
+ }
39422
+ interface IdpIntegrationHarnessCd {
39423
+ /**
39424
+ * Days of deployments to read.
39425
+ */
39426
+ deploymentCycle: number;
39427
+ /**
39428
+ * Fields to map per kind; omit to map all.
39429
+ */
39430
+ mappingFields?: outputs.platform.IdpIntegrationHarnessCdMappingField[];
39431
+ }
39432
+ interface IdpIntegrationHarnessCdMappingField {
39433
+ /**
39434
+ * Fields.
39435
+ */
39436
+ fields: string[];
39437
+ /**
39438
+ * Kind.
39439
+ */
39440
+ kind: string;
39441
+ }
39442
+ interface IdpIntegrationHarnessCode {
39443
+ /**
39444
+ * Agents file to detect in repositories.
39445
+ */
39446
+ agentFileName: string;
39447
+ }
39448
+ interface IdpIntegrationHarnessK8s {
39449
+ /**
39450
+ * Environment.
39451
+ */
39452
+ environmentIdentifier: string;
39453
+ /**
39454
+ * Service discovery agent.
39455
+ */
39456
+ serviceDiscoveryAgentIdentifier: string;
39457
+ }
39458
+ interface IdpIntegrationJira {
39459
+ /**
39460
+ * Custom field IDs to sync, like customfield_10456.
39461
+ */
39462
+ customFields?: string[];
39463
+ /**
39464
+ * Lower bound for the first sync, RFC3339; 365 days back when omitted.
39465
+ */
39466
+ startDate: string;
39467
+ }
39468
+ interface IdpIntegrationKind {
39469
+ /**
39470
+ * register, merge or merge_register; the type's default when omitted.
39471
+ */
39472
+ action: string;
39473
+ /**
39474
+ * Import new entities automatically.
39475
+ */
39476
+ autoImport?: boolean;
39477
+ /**
39478
+ * JQ that returns true for records to keep; the type's default when omitted.
39479
+ */
39480
+ filter: string;
39481
+ /**
39482
+ * Airbyte types: entity kind, e.g. component; the type's default when omitted. Set at create only; required for kinds with no default, such as ServiceNow's.
39483
+ */
39484
+ idpKind: string;
39485
+ /**
39486
+ * Airbyte types: entity type, e.g. service; the type's default when omitted. Set at create only.
39487
+ */
39488
+ idpType: string;
39489
+ /**
39490
+ * Kind name.
39491
+ */
39492
+ kind: string;
39493
+ /**
39494
+ * The kind's mapping, sent with the create so the first sync uses it. Omitted fields keep the type's defaults. Create only: it can't be added or changed afterwards, and removing it leaves the mapping as it is. Use harness*platform*idp*integration*kind_mapping to manage the mapping after the create, and don't use both for the same kind.
39495
+ */
39496
+ mapping?: outputs.platform.IdpIntegrationKindMapping;
39497
+ /**
39498
+ * Airbyte types: the stream's sync mode, fullRefresh or incremental.
39499
+ */
39500
+ replicationMode: string;
39501
+ }
39502
+ interface IdpIntegrationKindMapping {
39503
+ /**
39504
+ * Links records to existing entities; the server's when omitted.
39505
+ */
39506
+ correlation?: outputs.platform.IdpIntegrationKindMappingCorrelation;
39507
+ /**
39508
+ * Source field used as the entity's name.
39509
+ */
39510
+ displayNameField?: string;
39511
+ /**
39512
+ * 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.
39513
+ */
39514
+ fieldMappings?: outputs.platform.IdpIntegrationKindMappingFieldMapping[];
39515
+ /**
39516
+ * Entity kind, e.g. component.
39517
+ */
39518
+ idpKind?: string;
39519
+ /**
39520
+ * Entity type, e.g. service.
39521
+ */
39522
+ idpType?: string;
39523
+ /**
39524
+ * Custom types: JQ that builds the entity from a payload.
39525
+ */
39526
+ ingestion?: outputs.platform.IdpIntegrationKindMappingIngestion;
39527
+ /**
39528
+ * Custom types, custom kind: JSON Schema of the payload.
39529
+ */
39530
+ payloadSchema?: string;
39531
+ /**
39532
+ * Source field that identifies an entity. Can't change on Airbyte types.
39533
+ */
39534
+ uniqueIdentifierField?: string;
39535
+ }
39536
+ interface IdpIntegrationKindMappingCorrelation {
39537
+ /**
39538
+ * Match operator; eq when omitted.
39539
+ */
39540
+ operator: string;
39541
+ /**
39542
+ * Field to match. Airbyte types: a path in the emitted entity data, e.g. identifier or spec.owner; Custom: a payload field.
39543
+ */
39544
+ sourcePath: string;
39545
+ /**
39546
+ * Entity field to match, e.g. metadata.identifier.
39547
+ */
39548
+ targetPath: string;
39549
+ }
39550
+ interface IdpIntegrationKindMappingEmission {
39551
+ identifier: string;
39552
+ name: string;
39553
+ /**
39554
+ * JSON object.
39555
+ */
39556
+ properties: string;
39557
+ }
39558
+ interface IdpIntegrationKindMappingFieldMapping {
39559
+ /**
39560
+ * Source field.
39561
+ */
39562
+ sourceField: string;
39563
+ /**
39564
+ * Entity field, e.g. spec.owner.
39565
+ */
39566
+ targetField: string;
39567
+ }
39568
+ interface IdpIntegrationKindMappingIngestion {
39569
+ /**
39570
+ * JQ for the entity identifier.
39571
+ */
39572
+ identifier: string;
39573
+ /**
39574
+ * JQ for the entity name.
39575
+ */
39576
+ name?: string;
39577
+ /**
39578
+ * JQ per entity property; derived from the payload schema when omitted.
39579
+ */
39580
+ properties: {
39581
+ [key: string]: string;
39582
+ };
39583
+ }
39584
+ interface IdpIntegrationPagerduty {
39585
+ /**
39586
+ * Months of analytics to aggregate.
39587
+ */
39588
+ analyticsDurationMonths: number;
39589
+ /**
39590
+ * Lower bound for the first sync, RFC3339.
39591
+ */
39592
+ startDate: string;
39593
+ }
39594
+ interface IdpIntegrationScopes {
39595
+ /**
39596
+ * Read from every scope.
39597
+ */
39598
+ all?: boolean;
39599
+ /**
39600
+ * Scopes to read from: "" for the account, "org" or "org/project".
39601
+ */
39602
+ selecteds?: string[];
39603
+ }
39604
+ interface IdpIntegrationSonarqube {
39605
+ /**
39606
+ * Set exactly one of server or cloud.
39607
+ */
39608
+ instance: outputs.platform.IdpIntegrationSonarqubeInstance;
39609
+ /**
39610
+ * Filters for the issues stream.
39611
+ */
39612
+ issues?: outputs.platform.IdpIntegrationSonarqubeIssues;
39613
+ /**
39614
+ * Projects to sync; omit to sync all. Set exactly one of include or exclude.
39615
+ */
39616
+ projects?: outputs.platform.IdpIntegrationSonarqubeProjects;
39617
+ /**
39618
+ * Lower bound for the first sync, RFC3339.
39619
+ */
39620
+ startDate: string;
39621
+ /**
39622
+ * Secret reference to a SonarQube user token.
39623
+ */
39624
+ tokenRef: string;
39625
+ }
39626
+ interface IdpIntegrationSonarqubeInstance {
39627
+ /**
39628
+ * SonarQube Cloud.
39629
+ */
39630
+ cloud?: outputs.platform.IdpIntegrationSonarqubeInstanceCloud;
39631
+ /**
39632
+ * Self-hosted SonarQube Server.
39633
+ */
39634
+ server?: outputs.platform.IdpIntegrationSonarqubeInstanceServer;
39635
+ }
39636
+ interface IdpIntegrationSonarqubeInstanceCloud {
39637
+ /**
39638
+ * Cloud URL.
39639
+ */
39640
+ hostUrl: string;
39641
+ /**
39642
+ * Organization key.
39643
+ */
39644
+ organization: string;
39645
+ }
39646
+ interface IdpIntegrationSonarqubeInstanceServer {
39647
+ /**
39648
+ * Server URL.
39649
+ */
39650
+ hostUrl: string;
39651
+ }
39652
+ interface IdpIntegrationSonarqubeIssues {
39653
+ /**
39654
+ * INFO, LOW, MEDIUM, HIGH or BLOCKER.
39655
+ */
39656
+ impactSeverities?: string[];
39657
+ /**
39658
+ * OPEN, CONFIRMED, FALSE*POSITIVE, ACCEPTED, FIXED or IN*SANDBOX.
39659
+ */
39660
+ issueStatuses?: string[];
39661
+ /**
39662
+ * "true" for resolved issues only, "false" for unresolved only; omit for both.
39663
+ */
39664
+ resolved?: string;
39665
+ /**
39666
+ * INFO, MINOR, MAJOR, CRITICAL or BLOCKER.
39667
+ */
39668
+ severities?: string[];
39669
+ /**
39670
+ * CODE_SMELL, BUG or VULNERABILITY.
39671
+ */
39672
+ types?: string[];
39673
+ }
39674
+ interface IdpIntegrationSonarqubeProjects {
39675
+ /**
39676
+ * Every project except these keys.
39677
+ */
39678
+ excludes?: string[];
39679
+ /**
39680
+ * Only these project keys.
39681
+ */
39682
+ includes?: string[];
39683
+ }
38818
39684
  interface IdpPluginEnvVariable {
38819
39685
  /**
38820
39686
  * Name of the environment variable.