1. Registry
  2. Packages
  3. Harness Provider
  4. API Docs
  5. platform
  6. getIdpScorecard
Viewing docs for Harness v0.16.5
published on Saturday, Sep 12, 2026 by Pulumi
harness logo
Viewing docs for Harness v0.16.5
published on Saturday, Sep 12, 2026 by Pulumi

    Data source for retrieving an IDP scorecard.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as harness from "@pulumi/harness";
    
    const gold = harness.platform.getIdpScorecard({
        identifier: "gold_standard",
    });
    
    import pulumi
    import pulumi_harness as harness
    
    gold = harness.platform.get_idp_scorecard(identifier="gold_standard")
    
    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.LookupIdpScorecard(ctx, &platform.LookupIdpScorecardArgs{
    			Identifier: "gold_standard",
    		}, 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 gold = Harness.Platform.GetIdpScorecard.Invoke(new()
        {
            Identifier = "gold_standard",
        });
    
    });
    
    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.GetIdpScorecardArgs;
    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 gold = PlatformFunctions.getIdpScorecard(GetIdpScorecardArgs.builder()
                .identifier("gold_standard")
                .build());
    
        }
    }
    
    variables:
      gold:
        fn::invoke:
          function: harness:platform:getIdpScorecard
          arguments:
            identifier: gold_standard
    
    pulumi {
      required_providers {
        harness = {
          source = "pulumi/harness"
        }
      }
    }
    
    data "harness_platform_getidpscorecard" "gold" {
      identifier = "gold_standard"
    }
    

    Using getIdpScorecard

    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 getIdpScorecard(args: GetIdpScorecardArgs, opts?: InvokeOptions): Promise<GetIdpScorecardResult>
    function getIdpScorecardOutput(args: GetIdpScorecardOutputArgs, opts?: InvokeOutputOptions): Output<GetIdpScorecardResult>
    def get_idp_scorecard(identifier: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetIdpScorecardResult
    def get_idp_scorecard_output(identifier: pulumi.Input[Optional[str]] = None,
                          opts: Optional[InvokeOutputOptions] = None) -> Output[GetIdpScorecardResult]
    func LookupIdpScorecard(ctx *Context, args *LookupIdpScorecardArgs, opts ...InvokeOption) (*LookupIdpScorecardResult, error)
    func LookupIdpScorecardOutput(ctx *Context, args *LookupIdpScorecardOutputArgs, opts ...InvokeOption) LookupIdpScorecardResultOutput

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

    public static class GetIdpScorecard 
    {
        public static Task<GetIdpScorecardResult> InvokeAsync(GetIdpScorecardArgs args, InvokeOptions? opts = null)
        public static Output<GetIdpScorecardResult> Invoke(GetIdpScorecardInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetIdpScorecardResult> Invoke(GetIdpScorecardInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetIdpScorecardResult> getIdpScorecard(GetIdpScorecardArgs args, InvokeOptions options)
    public static Output<GetIdpScorecardResult> getIdpScorecard(GetIdpScorecardArgs args, InvokeOptions options)
    public static Output<GetIdpScorecardResult> getIdpScorecard(GetIdpScorecardArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: harness:platform/getIdpScorecard:getIdpScorecard
      arguments:
        # arguments dictionary
    data "harness_platform_get_idp_scorecard" "name" {
        # arguments
    }

    The following arguments are supported:

    Identifier string
    Unique identifier of the resource.
    Identifier string
    Unique identifier of the resource.
    identifier string
    Unique identifier of the resource.
    identifier String
    Unique identifier of the resource.
    identifier string
    Unique identifier of the resource.
    identifier str
    Unique identifier of the resource.
    identifier String
    Unique identifier of the resource.

    getIdpScorecard Result

    The following output properties are available:

    Checks List<GetIdpScorecardCheck>
    Checks included in the scorecard.
    ChecksMissings List<string>
    Identifiers of checks referenced by the scorecard that are missing.
    Components int
    Number of components evaluated by the scorecard.
    Description string
    Description of the resource.
    Filters List<GetIdpScorecardFilter>
    Filters that select catalog entities evaluated by the scorecard.
    Id string
    The provider-assigned unique ID for this managed resource.
    Identifier string
    Unique identifier of the resource.
    Name string
    Name of the resource.
    OnDemand bool
    Whether the scorecard is evaluated on demand.
    Percentage double
    Overall scorecard percentage.
    Published bool
    Whether the scorecard is published.
    TierAnalytics List<GetIdpScorecardTierAnalytic>
    Component distribution across scorecard tiers.
    TierGroupIdentifier string
    Identifier of the tier group used to classify scores.
    WeightageStrategy string
    Weightage strategy for checks. Valid values are EQUAL_WEIGHTS and CUSTOM.
    Checks []GetIdpScorecardCheckType
    Checks included in the scorecard.
    ChecksMissings []string
    Identifiers of checks referenced by the scorecard that are missing.
    Components int
    Number of components evaluated by the scorecard.
    Description string
    Description of the resource.
    Filters []GetIdpScorecardFilter
    Filters that select catalog entities evaluated by the scorecard.
    Id string
    The provider-assigned unique ID for this managed resource.
    Identifier string
    Unique identifier of the resource.
    Name string
    Name of the resource.
    OnDemand bool
    Whether the scorecard is evaluated on demand.
    Percentage float64
    Overall scorecard percentage.
    Published bool
    Whether the scorecard is published.
    TierAnalytics []GetIdpScorecardTierAnalytic
    Component distribution across scorecard tiers.
    TierGroupIdentifier string
    Identifier of the tier group used to classify scores.
    WeightageStrategy string
    Weightage strategy for checks. Valid values are EQUAL_WEIGHTS and CUSTOM.
    checks list(object)
    Checks included in the scorecard.
    checks_missings list(string)
    Identifiers of checks referenced by the scorecard that are missing.
    components number
    Number of components evaluated by the scorecard.
    description string
    Description of the resource.
    filters list(object)
    Filters that select catalog entities evaluated by the scorecard.
    id string
    The provider-assigned unique ID for this managed resource.
    identifier string
    Unique identifier of the resource.
    name string
    Name of the resource.
    on_demand bool
    Whether the scorecard is evaluated on demand.
    percentage number
    Overall scorecard percentage.
    published bool
    Whether the scorecard is published.
    tier_analytics list(object)
    Component distribution across scorecard tiers.
    tier_group_identifier string
    Identifier of the tier group used to classify scores.
    weightage_strategy string
    Weightage strategy for checks. Valid values are EQUAL_WEIGHTS and CUSTOM.
    checks List<GetIdpScorecardCheck>
    Checks included in the scorecard.
    checksMissings List<String>
    Identifiers of checks referenced by the scorecard that are missing.
    components Integer
    Number of components evaluated by the scorecard.
    description String
    Description of the resource.
    filters List<GetIdpScorecardFilter>
    Filters that select catalog entities evaluated by the scorecard.
    id String
    The provider-assigned unique ID for this managed resource.
    identifier String
    Unique identifier of the resource.
    name String
    Name of the resource.
    onDemand Boolean
    Whether the scorecard is evaluated on demand.
    percentage Double
    Overall scorecard percentage.
    published Boolean
    Whether the scorecard is published.
    tierAnalytics List<GetIdpScorecardTierAnalytic>
    Component distribution across scorecard tiers.
    tierGroupIdentifier String
    Identifier of the tier group used to classify scores.
    weightageStrategy String
    Weightage strategy for checks. Valid values are EQUAL_WEIGHTS and CUSTOM.
    checks GetIdpScorecardCheck[]
    Checks included in the scorecard.
    checksMissings string[]
    Identifiers of checks referenced by the scorecard that are missing.
    components number
    Number of components evaluated by the scorecard.
    description string
    Description of the resource.
    filters GetIdpScorecardFilter[]
    Filters that select catalog entities evaluated by the scorecard.
    id string
    The provider-assigned unique ID for this managed resource.
    identifier string
    Unique identifier of the resource.
    name string
    Name of the resource.
    onDemand boolean
    Whether the scorecard is evaluated on demand.
    percentage number
    Overall scorecard percentage.
    published boolean
    Whether the scorecard is published.
    tierAnalytics GetIdpScorecardTierAnalytic[]
    Component distribution across scorecard tiers.
    tierGroupIdentifier string
    Identifier of the tier group used to classify scores.
    weightageStrategy string
    Weightage strategy for checks. Valid values are EQUAL_WEIGHTS and CUSTOM.
    checks Sequence[GetIdpScorecardCheck]
    Checks included in the scorecard.
    checks_missings Sequence[str]
    Identifiers of checks referenced by the scorecard that are missing.
    components int
    Number of components evaluated by the scorecard.
    description str
    Description of the resource.
    filters Sequence[GetIdpScorecardFilter]
    Filters that select catalog entities evaluated by the scorecard.
    id str
    The provider-assigned unique ID for this managed resource.
    identifier str
    Unique identifier of the resource.
    name str
    Name of the resource.
    on_demand bool
    Whether the scorecard is evaluated on demand.
    percentage float
    Overall scorecard percentage.
    published bool
    Whether the scorecard is published.
    tier_analytics Sequence[GetIdpScorecardTierAnalytic]
    Component distribution across scorecard tiers.
    tier_group_identifier str
    Identifier of the tier group used to classify scores.
    weightage_strategy str
    Weightage strategy for checks. Valid values are EQUAL_WEIGHTS and CUSTOM.
    checks List<Property Map>
    Checks included in the scorecard.
    checksMissings List<String>
    Identifiers of checks referenced by the scorecard that are missing.
    components Number
    Number of components evaluated by the scorecard.
    description String
    Description of the resource.
    filters List<Property Map>
    Filters that select catalog entities evaluated by the scorecard.
    id String
    The provider-assigned unique ID for this managed resource.
    identifier String
    Unique identifier of the resource.
    name String
    Name of the resource.
    onDemand Boolean
    Whether the scorecard is evaluated on demand.
    percentage Number
    Overall scorecard percentage.
    published Boolean
    Whether the scorecard is published.
    tierAnalytics List<Property Map>
    Component distribution across scorecard tiers.
    tierGroupIdentifier String
    Identifier of the tier group used to classify scores.
    weightageStrategy String
    Weightage strategy for checks. Valid values are EQUAL_WEIGHTS and CUSTOM.

    Supporting Types

    GetIdpScorecardCheck

    Custom bool
    Whether the referenced check is custom.
    Description string
    Description of the check.
    Identifier string
    Identifier of the check.
    Name string
    Name of the check.
    Weightage double
    Weightage of the check when using CUSTOM.
    Custom bool
    Whether the referenced check is custom.
    Description string
    Description of the check.
    Identifier string
    Identifier of the check.
    Name string
    Name of the check.
    Weightage float64
    Weightage of the check when using CUSTOM.
    custom bool
    Whether the referenced check is custom.
    description string
    Description of the check.
    identifier string
    Identifier of the check.
    name string
    Name of the check.
    weightage number
    Weightage of the check when using CUSTOM.
    custom Boolean
    Whether the referenced check is custom.
    description String
    Description of the check.
    identifier String
    Identifier of the check.
    name String
    Name of the check.
    weightage Double
    Weightage of the check when using CUSTOM.
    custom boolean
    Whether the referenced check is custom.
    description string
    Description of the check.
    identifier string
    Identifier of the check.
    name string
    Name of the check.
    weightage number
    Weightage of the check when using CUSTOM.
    custom bool
    Whether the referenced check is custom.
    description str
    Description of the check.
    identifier str
    Identifier of the check.
    name str
    Name of the check.
    weightage float
    Weightage of the check when using CUSTOM.
    custom Boolean
    Whether the referenced check is custom.
    description String
    Description of the check.
    identifier String
    Identifier of the check.
    name String
    Name of the check.
    weightage Number
    Weightage of the check when using CUSTOM.

    GetIdpScorecardFilter

    Kind string
    Catalog entity kind to evaluate.
    Lifecycles List<string>
    Entity lifecycle stages to include.
    Owners List<string>
    Entity owners to include.
    Scopes List<string>
    Evaluation scopes (for example ACCOUNT, ORGANIZATION, or PROJECT).
    Tags List<string>
    Entity tags to include.
    Type string
    Catalog entity type to evaluate.
    Kind string
    Catalog entity kind to evaluate.
    Lifecycles []string
    Entity lifecycle stages to include.
    Owners []string
    Entity owners to include.
    Scopes []string
    Evaluation scopes (for example ACCOUNT, ORGANIZATION, or PROJECT).
    Tags []string
    Entity tags to include.
    Type string
    Catalog entity type to evaluate.
    kind string
    Catalog entity kind to evaluate.
    lifecycles list(string)
    Entity lifecycle stages to include.
    owners list(string)
    Entity owners to include.
    scopes list(string)
    Evaluation scopes (for example ACCOUNT, ORGANIZATION, or PROJECT).
    tags list(string)
    Entity tags to include.
    type string
    Catalog entity type to evaluate.
    kind String
    Catalog entity kind to evaluate.
    lifecycles List<String>
    Entity lifecycle stages to include.
    owners List<String>
    Entity owners to include.
    scopes List<String>
    Evaluation scopes (for example ACCOUNT, ORGANIZATION, or PROJECT).
    tags List<String>
    Entity tags to include.
    type String
    Catalog entity type to evaluate.
    kind string
    Catalog entity kind to evaluate.
    lifecycles string[]
    Entity lifecycle stages to include.
    owners string[]
    Entity owners to include.
    scopes string[]
    Evaluation scopes (for example ACCOUNT, ORGANIZATION, or PROJECT).
    tags string[]
    Entity tags to include.
    type string
    Catalog entity type to evaluate.
    kind str
    Catalog entity kind to evaluate.
    lifecycles Sequence[str]
    Entity lifecycle stages to include.
    owners Sequence[str]
    Entity owners to include.
    scopes Sequence[str]
    Evaluation scopes (for example ACCOUNT, ORGANIZATION, or PROJECT).
    tags Sequence[str]
    Entity tags to include.
    type str
    Catalog entity type to evaluate.
    kind String
    Catalog entity kind to evaluate.
    lifecycles List<String>
    Entity lifecycle stages to include.
    owners List<String>
    Entity owners to include.
    scopes List<String>
    Evaluation scopes (for example ACCOUNT, ORGANIZATION, or PROJECT).
    tags List<String>
    Entity tags to include.
    type String
    Catalog entity type to evaluate.

    GetIdpScorecardTierAnalytic

    ComponentCount int
    Number of components in the tier.
    MaxScore int
    Maximum score for the tier.
    MinScore int
    Minimum score for the tier.
    Percentage double
    Percentage of components in the tier.
    TierColour string
    Colour of the tier.
    TierName string
    Name of the tier.
    ComponentCount int
    Number of components in the tier.
    MaxScore int
    Maximum score for the tier.
    MinScore int
    Minimum score for the tier.
    Percentage float64
    Percentage of components in the tier.
    TierColour string
    Colour of the tier.
    TierName string
    Name of the tier.
    component_count number
    Number of components in the tier.
    max_score number
    Maximum score for the tier.
    min_score number
    Minimum score for the tier.
    percentage number
    Percentage of components in the tier.
    tier_colour string
    Colour of the tier.
    tier_name string
    Name of the tier.
    componentCount Integer
    Number of components in the tier.
    maxScore Integer
    Maximum score for the tier.
    minScore Integer
    Minimum score for the tier.
    percentage Double
    Percentage of components in the tier.
    tierColour String
    Colour of the tier.
    tierName String
    Name of the tier.
    componentCount number
    Number of components in the tier.
    maxScore number
    Maximum score for the tier.
    minScore number
    Minimum score for the tier.
    percentage number
    Percentage of components in the tier.
    tierColour string
    Colour of the tier.
    tierName string
    Name of the tier.
    component_count int
    Number of components in the tier.
    max_score int
    Maximum score for the tier.
    min_score int
    Minimum score for the tier.
    percentage float
    Percentage of components in the tier.
    tier_colour str
    Colour of the tier.
    tier_name str
    Name of the tier.
    componentCount Number
    Number of components in the tier.
    maxScore Number
    Maximum score for the tier.
    minScore Number
    Minimum score for the tier.
    percentage Number
    Percentage of components in the tier.
    tierColour String
    Colour of the tier.
    tierName String
    Name of the tier.

    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.16.5
    published on Saturday, Sep 12, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial