1. Registry
  2. Packages
  3. Harness Provider
  4. API Docs
  5. platform
  6. getIdpIntegrationKindMapping
Viewing docs for Harness v0.17.9
published on Thursday, Nov 12, 2026 by Pulumi
harness logo
Viewing docs for Harness v0.17.9
published on Thursday, Nov 12, 2026 by Pulumi

    Data source for the mapping of one kind of an IDP integration.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as harness from "@pulumi/harness";
    
    const example = harness.platform.getIdpIntegrationKindMapping({
        integrationId: "servicenow_prod",
        orgId: "default",
        kind: "cmdb_ci_service",
    });
    
    import pulumi
    import pulumi_harness as harness
    
    example = harness.platform.get_idp_integration_kind_mapping(integration_id="servicenow_prod",
        org_id="default",
        kind="cmdb_ci_service")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-harness/sdk/go/harness/platform"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := platform.LookupIdpIntegrationKindMapping(ctx, &platform.LookupIdpIntegrationKindMappingArgs{
    			IntegrationId: "servicenow_prod",
    			OrgId:         pulumi.StringRef("default"),
    			Kind:          "cmdb_ci_service",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Harness = Pulumi.Harness;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Harness.Platform.GetIdpIntegrationKindMapping.Invoke(new()
        {
            IntegrationId = "servicenow_prod",
            OrgId = "default",
            Kind = "cmdb_ci_service",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.harness.platform.PlatformFunctions;
    import com.pulumi.harness.platform.inputs.GetIdpIntegrationKindMappingArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var example = PlatformFunctions.getIdpIntegrationKindMapping(GetIdpIntegrationKindMappingArgs.builder()
                .integrationId("servicenow_prod")
                .orgId("default")
                .kind("cmdb_ci_service")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: harness:platform:getIdpIntegrationKindMapping
          arguments:
            integrationId: servicenow_prod
            orgId: default
            kind: cmdb_ci_service
    
    terraform {
      required_providers {
        harness = {
          source = "pulumi/harness"
        }
      }
    }
    
    data "harness_platform_idp_integration_kind_mapping" "example" {
      integration_id = "servicenow_prod"
      org_id         = "default"
      kind           = "cmdb_ci_service"
    }
    

    Using getIdpIntegrationKindMapping

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getIdpIntegrationKindMapping(args: GetIdpIntegrationKindMappingArgs, opts?: InvokeOptions): Promise<GetIdpIntegrationKindMappingResult>
    function getIdpIntegrationKindMappingOutput(args: GetIdpIntegrationKindMappingOutputArgs, opts?: InvokeOutputOptions): Output<GetIdpIntegrationKindMappingResult>
    def get_idp_integration_kind_mapping(integration_id: Optional[str] = None,
                                         kind: Optional[str] = None,
                                         org_id: Optional[str] = None,
                                         project_id: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetIdpIntegrationKindMappingResult
    def get_idp_integration_kind_mapping_output(integration_id: pulumi.Input[Optional[str]] = None,
                                         kind: pulumi.Input[Optional[str]] = None,
                                         org_id: pulumi.Input[Optional[str]] = None,
                                         project_id: pulumi.Input[Optional[str]] = None,
                                         opts: Optional[InvokeOutputOptions] = None) -> Output[GetIdpIntegrationKindMappingResult]
    func LookupIdpIntegrationKindMapping(ctx *Context, args *LookupIdpIntegrationKindMappingArgs, opts ...InvokeOption) (*LookupIdpIntegrationKindMappingResult, error)
    func LookupIdpIntegrationKindMappingOutput(ctx *Context, args *LookupIdpIntegrationKindMappingOutputArgs, opts ...InvokeOption) LookupIdpIntegrationKindMappingResultOutput

    > Note: This function is named LookupIdpIntegrationKindMapping in the Go SDK.

    public static class GetIdpIntegrationKindMapping 
    {
        public static Task<GetIdpIntegrationKindMappingResult> InvokeAsync(GetIdpIntegrationKindMappingArgs args, InvokeOptions? opts = null)
        public static Output<GetIdpIntegrationKindMappingResult> Invoke(GetIdpIntegrationKindMappingInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetIdpIntegrationKindMappingResult> Invoke(GetIdpIntegrationKindMappingInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetIdpIntegrationKindMappingResult> getIdpIntegrationKindMapping(GetIdpIntegrationKindMappingArgs args, InvokeOptions options)
    public static Output<GetIdpIntegrationKindMappingResult> getIdpIntegrationKindMapping(GetIdpIntegrationKindMappingArgs args, InvokeOptions options)
    public static Output<GetIdpIntegrationKindMappingResult> getIdpIntegrationKindMapping(GetIdpIntegrationKindMappingArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: harness:platform/getIdpIntegrationKindMapping:getIdpIntegrationKindMapping
      arguments:
        # arguments dictionary
    data "harness_platform_get_idp_integration_kind_mapping" "name" {
        # arguments
    }

    The following arguments are supported:

    IntegrationId string
    Identifier of the integration.
    Kind string
    Kind.
    OrgId string
    Unique identifier of the organization.
    ProjectId string
    Unique identifier of the project.
    IntegrationId string
    Identifier of the integration.
    Kind string
    Kind.
    OrgId string
    Unique identifier of the organization.
    ProjectId string
    Unique identifier of the project.
    integration_id string
    Identifier of the integration.
    kind string
    Kind.
    org_id string
    Unique identifier of the organization.
    project_id string
    Unique identifier of the project.
    integrationId String
    Identifier of the integration.
    kind String
    Kind.
    orgId String
    Unique identifier of the organization.
    projectId String
    Unique identifier of the project.
    integrationId string
    Identifier of the integration.
    kind string
    Kind.
    orgId string
    Unique identifier of the organization.
    projectId string
    Unique identifier of the project.
    integration_id str
    Identifier of the integration.
    kind str
    Kind.
    org_id str
    Unique identifier of the organization.
    project_id str
    Unique identifier of the project.
    integrationId String
    Identifier of the integration.
    kind String
    Kind.
    orgId String
    Unique identifier of the organization.
    projectId String
    Unique identifier of the project.

    getIdpIntegrationKindMapping Result

    The following output properties are available:

    Correlations List<GetIdpIntegrationKindMappingCorrelation>
    Links records to existing entities; the server's when omitted.
    DisplayNameField string
    Source field used as the entity's name.
    Emissions List<GetIdpIntegrationKindMappingEmission>
    How entities are emitted; read-only.
    FieldMappings List<GetIdpIntegrationKindMappingFieldMapping>
    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.
    Id string
    The provider-assigned unique ID for this managed resource.
    IdpKind string
    Entity kind, e.g. component.
    IdpType string
    Entity type, e.g. service.
    Ingestions List<GetIdpIntegrationKindMappingIngestion>
    Custom types: JQ that builds the entity from a payload.
    IntegrationId string
    Identifier of the integration.
    Kind string
    Kind.
    PayloadSchema string
    JSON schema of the payload; read-only.
    Revision int
    The integration's revision.
    UniqueIdentifierField string
    Source field that identifies an entity. Can't change on Airbyte types.
    Updated int
    Last update time, in milliseconds since the epoch.
    OrgId string
    Unique identifier of the organization.
    ProjectId string
    Unique identifier of the project.
    Correlations []GetIdpIntegrationKindMappingCorrelation
    Links records to existing entities; the server's when omitted.
    DisplayNameField string
    Source field used as the entity's name.
    Emissions []GetIdpIntegrationKindMappingEmission
    How entities are emitted; read-only.
    FieldMappings []GetIdpIntegrationKindMappingFieldMapping
    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.
    Id string
    The provider-assigned unique ID for this managed resource.
    IdpKind string
    Entity kind, e.g. component.
    IdpType string
    Entity type, e.g. service.
    Ingestions []GetIdpIntegrationKindMappingIngestion
    Custom types: JQ that builds the entity from a payload.
    IntegrationId string
    Identifier of the integration.
    Kind string
    Kind.
    PayloadSchema string
    JSON schema of the payload; read-only.
    Revision int
    The integration's revision.
    UniqueIdentifierField string
    Source field that identifies an entity. Can't change on Airbyte types.
    Updated int
    Last update time, in milliseconds since the epoch.
    OrgId string
    Unique identifier of the organization.
    ProjectId string
    Unique identifier of the project.
    correlations list(object)
    Links records to existing entities; the server's when omitted.
    display_name_field string
    Source field used as the entity's name.
    emissions list(object)
    How entities are emitted; read-only.
    field_mappings list(object)
    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.
    id string
    The provider-assigned unique ID for this managed resource.
    idp_kind string
    Entity kind, e.g. component.
    idp_type string
    Entity type, e.g. service.
    ingestions list(object)
    Custom types: JQ that builds the entity from a payload.
    integration_id string
    Identifier of the integration.
    kind string
    Kind.
    payload_schema string
    JSON schema of the payload; read-only.
    revision number
    The integration's revision.
    unique_identifier_field string
    Source field that identifies an entity. Can't change on Airbyte types.
    updated number
    Last update time, in milliseconds since the epoch.
    org_id string
    Unique identifier of the organization.
    project_id string
    Unique identifier of the project.
    correlations List<GetIdpIntegrationKindMappingCorrelation>
    Links records to existing entities; the server's when omitted.
    displayNameField String
    Source field used as the entity's name.
    emissions List<GetIdpIntegrationKindMappingEmission>
    How entities are emitted; read-only.
    fieldMappings List<GetIdpIntegrationKindMappingFieldMapping>
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    idpKind String
    Entity kind, e.g. component.
    idpType String
    Entity type, e.g. service.
    ingestions List<GetIdpIntegrationKindMappingIngestion>
    Custom types: JQ that builds the entity from a payload.
    integrationId String
    Identifier of the integration.
    kind String
    Kind.
    payloadSchema String
    JSON schema of the payload; read-only.
    revision Integer
    The integration's revision.
    uniqueIdentifierField String
    Source field that identifies an entity. Can't change on Airbyte types.
    updated Integer
    Last update time, in milliseconds since the epoch.
    orgId String
    Unique identifier of the organization.
    projectId String
    Unique identifier of the project.
    correlations GetIdpIntegrationKindMappingCorrelation[]
    Links records to existing entities; the server's when omitted.
    displayNameField string
    Source field used as the entity's name.
    emissions GetIdpIntegrationKindMappingEmission[]
    How entities are emitted; read-only.
    fieldMappings GetIdpIntegrationKindMappingFieldMapping[]
    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.
    id string
    The provider-assigned unique ID for this managed resource.
    idpKind string
    Entity kind, e.g. component.
    idpType string
    Entity type, e.g. service.
    ingestions GetIdpIntegrationKindMappingIngestion[]
    Custom types: JQ that builds the entity from a payload.
    integrationId string
    Identifier of the integration.
    kind string
    Kind.
    payloadSchema string
    JSON schema of the payload; read-only.
    revision number
    The integration's revision.
    uniqueIdentifierField string
    Source field that identifies an entity. Can't change on Airbyte types.
    updated number
    Last update time, in milliseconds since the epoch.
    orgId string
    Unique identifier of the organization.
    projectId string
    Unique identifier of the project.
    correlations Sequence[GetIdpIntegrationKindMappingCorrelation]
    Links records to existing entities; the server's when omitted.
    display_name_field str
    Source field used as the entity's name.
    emissions Sequence[GetIdpIntegrationKindMappingEmission]
    How entities are emitted; read-only.
    field_mappings Sequence[GetIdpIntegrationKindMappingFieldMapping]
    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.
    id str
    The provider-assigned unique ID for this managed resource.
    idp_kind str
    Entity kind, e.g. component.
    idp_type str
    Entity type, e.g. service.
    ingestions Sequence[GetIdpIntegrationKindMappingIngestion]
    Custom types: JQ that builds the entity from a payload.
    integration_id str
    Identifier of the integration.
    kind str
    Kind.
    payload_schema str
    JSON schema of the payload; read-only.
    revision int
    The integration's revision.
    unique_identifier_field str
    Source field that identifies an entity. Can't change on Airbyte types.
    updated int
    Last update time, in milliseconds since the epoch.
    org_id str
    Unique identifier of the organization.
    project_id str
    Unique identifier of the project.
    correlations List<Property Map>
    Links records to existing entities; the server's when omitted.
    displayNameField String
    Source field used as the entity's name.
    emissions List<Property Map>
    How entities are emitted; read-only.
    fieldMappings List<Property Map>
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    idpKind String
    Entity kind, e.g. component.
    idpType String
    Entity type, e.g. service.
    ingestions List<Property Map>
    Custom types: JQ that builds the entity from a payload.
    integrationId String
    Identifier of the integration.
    kind String
    Kind.
    payloadSchema String
    JSON schema of the payload; read-only.
    revision Number
    The integration's revision.
    uniqueIdentifierField String
    Source field that identifies an entity. Can't change on Airbyte types.
    updated Number
    Last update time, in milliseconds since the epoch.
    orgId String
    Unique identifier of the organization.
    projectId String
    Unique identifier of the project.

    Supporting Types

    GetIdpIntegrationKindMappingCorrelation

    Operator string
    Match operator; eq when omitted.
    SourcePath string
    Field to match. Airbyte types: a path in the emitted entity data, e.g. identifier or spec.owner; Custom: a payload field.
    TargetPath string
    Entity field to match, e.g. metadata.identifier.
    Operator string
    Match operator; eq when omitted.
    SourcePath string
    Field to match. Airbyte types: a path in the emitted entity data, e.g. identifier or spec.owner; Custom: a payload field.
    TargetPath string
    Entity field to match, e.g. metadata.identifier.
    operator string
    Match operator; eq when omitted.
    source_path string
    Field to match. Airbyte types: a path in the emitted entity data, e.g. identifier or spec.owner; Custom: a payload field.
    target_path string
    Entity field to match, e.g. metadata.identifier.
    operator String
    Match operator; eq when omitted.
    sourcePath String
    Field to match. Airbyte types: a path in the emitted entity data, e.g. identifier or spec.owner; Custom: a payload field.
    targetPath String
    Entity field to match, e.g. metadata.identifier.
    operator string
    Match operator; eq when omitted.
    sourcePath string
    Field to match. Airbyte types: a path in the emitted entity data, e.g. identifier or spec.owner; Custom: a payload field.
    targetPath string
    Entity field to match, e.g. metadata.identifier.
    operator str
    Match operator; eq when omitted.
    source_path str
    Field to match. Airbyte types: a path in the emitted entity data, e.g. identifier or spec.owner; Custom: a payload field.
    target_path str
    Entity field to match, e.g. metadata.identifier.
    operator String
    Match operator; eq when omitted.
    sourcePath String
    Field to match. Airbyte types: a path in the emitted entity data, e.g. identifier or spec.owner; Custom: a payload field.
    targetPath String
    Entity field to match, e.g. metadata.identifier.

    GetIdpIntegrationKindMappingEmission

    Identifier string
    Name string
    Properties string
    JSON object.
    Identifier string
    Name string
    Properties string
    JSON object.
    identifier string
    name string
    properties string
    JSON object.
    identifier String
    name String
    properties String
    JSON object.
    identifier string
    name string
    properties string
    JSON object.
    identifier str
    name str
    properties str
    JSON object.
    identifier String
    name String
    properties String
    JSON object.

    GetIdpIntegrationKindMappingFieldMapping

    SourceField string
    Source field.
    TargetField string
    Entity field, e.g. spec.owner.
    SourceField string
    Source field.
    TargetField string
    Entity field, e.g. spec.owner.
    source_field string
    Source field.
    target_field string
    Entity field, e.g. spec.owner.
    sourceField String
    Source field.
    targetField String
    Entity field, e.g. spec.owner.
    sourceField string
    Source field.
    targetField string
    Entity field, e.g. spec.owner.
    source_field str
    Source field.
    target_field str
    Entity field, e.g. spec.owner.
    sourceField String
    Source field.
    targetField String
    Entity field, e.g. spec.owner.

    GetIdpIntegrationKindMappingIngestion

    Identifier string
    JQ for the entity identifier.
    Name string
    JQ for the entity name.
    Properties Dictionary<string, string>
    JQ per entity property; derived from the payload schema when omitted.
    Identifier string
    JQ for the entity identifier.
    Name string
    JQ for the entity name.
    Properties map[string]string
    JQ per entity property; derived from the payload schema when omitted.
    identifier string
    JQ for the entity identifier.
    name string
    JQ for the entity name.
    properties map(string)
    JQ per entity property; derived from the payload schema when omitted.
    identifier String
    JQ for the entity identifier.
    name String
    JQ for the entity name.
    properties Map<String,String>
    JQ per entity property; derived from the payload schema when omitted.
    identifier string
    JQ for the entity identifier.
    name string
    JQ for the entity name.
    properties {[key: string]: string}
    JQ per entity property; derived from the payload schema when omitted.
    identifier str
    JQ for the entity identifier.
    name str
    JQ for the entity name.
    properties Mapping[str, str]
    JQ per entity property; derived from the payload schema when omitted.
    identifier String
    JQ for the entity identifier.
    name String
    JQ for the entity name.
    properties Map<String>
    JQ per entity property; derived from the payload schema when omitted.

    Package Details

    Repository
    harness pulumi/pulumi-harness
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the harness Terraform Provider.
    harness logo
    Viewing docs for Harness v0.17.9
    published on Thursday, Nov 12, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial