1. Registry
  2. Packages
  3. Harness Provider
  4. API Docs
  5. platform
  6. IdpScorecard
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

    Resource for creating IDP scorecards.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as harness from "@pulumi/harness";
    
    const readme = new harness.platform.IdpScorecardCheck("readme", {
        identifier: "readme_exists",
        name: "README exists",
        description: "Ensure the repository has a README file",
        ruleStrategy: "ALL_OF",
        defaultBehaviour: "FAIL",
        rules: [{
            dataSourceIdentifier: "github",
            dataPointIdentifier: "isFileExists",
            operator: "==",
            value: "true",
            inputValues: [{
                key: "filePath",
                value: "README.md",
            }],
        }],
    });
    const gold = new harness.platform.IdpScorecard("gold", {
        identifier: "gold_standard",
        name: "Gold Standard",
        description: "Baseline production quality scorecard",
        published: true,
        weightageStrategy: "EQUAL_WEIGHTS",
        filter: {
            kind: "component",
            type: "service",
        },
        checks: [{
            identifier: readme.identifier,
            custom: true,
        }],
    });
    
    import pulumi
    import pulumi_harness as harness
    
    readme = harness.platform.IdpScorecardCheck("readme",
        identifier="readme_exists",
        name="README exists",
        description="Ensure the repository has a README file",
        rule_strategy="ALL_OF",
        default_behaviour="FAIL",
        rules=[{
            "data_source_identifier": "github",
            "data_point_identifier": "isFileExists",
            "operator": "==",
            "value": "true",
            "input_values": [{
                "key": "filePath",
                "value": "README.md",
            }],
        }])
    gold = harness.platform.IdpScorecard("gold",
        identifier="gold_standard",
        name="Gold Standard",
        description="Baseline production quality scorecard",
        published=True,
        weightage_strategy="EQUAL_WEIGHTS",
        filter={
            "kind": "component",
            "type": "service",
        },
        checks=[{
            "identifier": readme.identifier,
            "custom": True,
        }])
    
    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 {
    		readme, err := platform.NewIdpScorecardCheck(ctx, "readme", &platform.IdpScorecardCheckArgs{
    			Identifier:       pulumi.String("readme_exists"),
    			Name:             pulumi.String("README exists"),
    			Description:      pulumi.String("Ensure the repository has a README file"),
    			RuleStrategy:     pulumi.String("ALL_OF"),
    			DefaultBehaviour: pulumi.String("FAIL"),
    			Rules: platform.IdpScorecardCheckRuleArray{
    				&platform.IdpScorecardCheckRuleArgs{
    					DataSourceIdentifier: pulumi.String("github"),
    					DataPointIdentifier:  pulumi.String("isFileExists"),
    					Operator:             pulumi.String("=="),
    					Value:                pulumi.String("true"),
    					InputValues: platform.IdpScorecardCheckRuleInputValueArray{
    						&platform.IdpScorecardCheckRuleInputValueArgs{
    							Key:   pulumi.String("filePath"),
    							Value: pulumi.String("README.md"),
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = platform.NewIdpScorecard(ctx, "gold", &platform.IdpScorecardArgs{
    			Identifier:        pulumi.String("gold_standard"),
    			Name:              pulumi.String("Gold Standard"),
    			Description:       pulumi.String("Baseline production quality scorecard"),
    			Published:         pulumi.Bool(true),
    			WeightageStrategy: pulumi.String("EQUAL_WEIGHTS"),
    			Filter: &platform.IdpScorecardFilterArgs{
    				Kind: pulumi.String("component"),
    				Type: pulumi.String("service"),
    			},
    			Checks: platform.IdpScorecardCheckTypeArray{
    				&platform.IdpScorecardCheckTypeArgs{
    					Identifier: readme.Identifier,
    					Custom:     pulumi.Bool(true),
    				},
    			},
    		})
    		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 readme = new Harness.Platform.IdpScorecardCheck("readme", new()
        {
            Identifier = "readme_exists",
            Name = "README exists",
            Description = "Ensure the repository has a README file",
            RuleStrategy = "ALL_OF",
            DefaultBehaviour = "FAIL",
            Rules = new[]
            {
                new Harness.Platform.Inputs.IdpScorecardCheckRuleArgs
                {
                    DataSourceIdentifier = "github",
                    DataPointIdentifier = "isFileExists",
                    Operator = "==",
                    Value = "true",
                    InputValues = new[]
                    {
                        new Harness.Platform.Inputs.IdpScorecardCheckRuleInputValueArgs
                        {
                            Key = "filePath",
                            Value = "README.md",
                        },
                    },
                },
            },
        });
    
        var gold = new Harness.Platform.IdpScorecard("gold", new()
        {
            Identifier = "gold_standard",
            Name = "Gold Standard",
            Description = "Baseline production quality scorecard",
            Published = true,
            WeightageStrategy = "EQUAL_WEIGHTS",
            Filter = new Harness.Platform.Inputs.IdpScorecardFilterArgs
            {
                Kind = "component",
                Type = "service",
            },
            Checks = new[]
            {
                new Harness.Platform.Inputs.IdpScorecardCheckArgs
                {
                    Identifier = readme.Identifier,
                    Custom = true,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.harness.platform.IdpScorecardCheck;
    import com.pulumi.harness.platform.inputs.IdpScorecardCheckRuleArgs;
    import com.pulumi.harness.platform.inputs.IdpScorecardCheckRuleInputValueArgs;
    import com.pulumi.harness.platform.IdpScorecard;
    import com.pulumi.harness.platform.IdpScorecardArgs;
    import com.pulumi.harness.platform.inputs.IdpScorecardFilterArgs;
    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) {
            var readme = new IdpScorecardCheck("readme", IdpScorecardCheckArgs.builder()
                .identifier("readme_exists")
                .name("README exists")
                .description("Ensure the repository has a README file")
                .ruleStrategy("ALL_OF")
                .defaultBehaviour("FAIL")
                .rules(IdpScorecardCheckRuleArgs.builder()
                    .dataSourceIdentifier("github")
                    .dataPointIdentifier("isFileExists")
                    .operator("==")
                    .value("true")
                    .inputValues(IdpScorecardCheckRuleInputValueArgs.builder()
                        .key("filePath")
                        .value("README.md")
                        .build())
                    .build())
                .build());
    
            var gold = new IdpScorecard("gold", IdpScorecardArgs.builder()
                .identifier("gold_standard")
                .name("Gold Standard")
                .description("Baseline production quality scorecard")
                .published(true)
                .weightageStrategy("EQUAL_WEIGHTS")
                .filter(IdpScorecardFilterArgs.builder()
                    .kind("component")
                    .type("service")
                    .build())
                .checks(com.pulumi.harness.platform.inputs.IdpScorecardCheckArgs.builder()
                    .identifier(readme.identifier())
                    .custom(true)
                    .build())
                .build());
    
        }
    }
    
    resources:
      readme:
        type: harness:platform:IdpScorecardCheck
        properties:
          identifier: readme_exists
          name: README exists
          description: Ensure the repository has a README file
          ruleStrategy: ALL_OF
          defaultBehaviour: FAIL
          rules:
            - dataSourceIdentifier: github
              dataPointIdentifier: isFileExists
              operator: ==
              value: 'true'
              inputValues:
                - key: filePath
                  value: README.md
      gold:
        type: harness:platform:IdpScorecard
        properties:
          identifier: gold_standard
          name: Gold Standard
          description: Baseline production quality scorecard
          published: true
          weightageStrategy: EQUAL_WEIGHTS
          filter:
            kind: component
            type: service
          checks:
            - identifier: ${readme.identifier}
              custom: true
    
    pulumi {
      required_providers {
        harness = {
          source = "pulumi/harness"
        }
      }
    }
    
    resource "harness_platform_idpscorecardcheck" "readme" {
      identifier        = "readme_exists"
      name              = "README exists"
      description       = "Ensure the repository has a README file"
      rule_strategy     = "ALL_OF"
      default_behaviour = "FAIL"
      rules {
        data_source_identifier = "github"
        data_point_identifier  = "isFileExists"
        operator               = "=="
        value                  = "true"
        input_values {
          key   = "filePath"
          value = "README.md"
        }
      }
    }
    resource "harness_platform_idpscorecard" "gold" {
      identifier         = "gold_standard"
      name               = "Gold Standard"
      description        = "Baseline production quality scorecard"
      published          = true
      weightage_strategy = "EQUAL_WEIGHTS"
      filter = {
        kind = "component"
        type = "service"
      }
      checks {
        identifier = harness_platform_idpscorecardcheck.readme.identifier
        custom     = true
      }
    }
    

    Create IdpScorecard Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new IdpScorecard(name: string, args: IdpScorecardArgs, opts?: CustomResourceOptions);
    @overload
    def IdpScorecard(resource_name: str,
                     args: IdpScorecardArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def IdpScorecard(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     checks: Optional[Sequence[IdpScorecardCheckArgs]] = None,
                     filter: Optional[IdpScorecardFilterArgs] = None,
                     identifier: Optional[str] = None,
                     published: Optional[bool] = None,
                     description: Optional[str] = None,
                     name: Optional[str] = None,
                     on_demand: Optional[bool] = None,
                     tier_group_identifier: Optional[str] = None,
                     weightage_strategy: Optional[str] = None)
    func NewIdpScorecard(ctx *Context, name string, args IdpScorecardArgs, opts ...ResourceOption) (*IdpScorecard, error)
    public IdpScorecard(string name, IdpScorecardArgs args, CustomResourceOptions? opts = null)
    public IdpScorecard(String name, IdpScorecardArgs args)
    public IdpScorecard(String name, IdpScorecardArgs args, CustomResourceOptions options)
    
    type: harness:platform:IdpScorecard
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "harness_platform_idp_scorecard" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args IdpScorecardArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args IdpScorecardArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args IdpScorecardArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IdpScorecardArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IdpScorecardArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var idpScorecardResource = new Harness.Platform.IdpScorecard("idpScorecardResource", new()
    {
        Checks = new[]
        {
            new Harness.Platform.Inputs.IdpScorecardCheckArgs
            {
                Custom = false,
                Identifier = "string",
                Description = "string",
                Name = "string",
                Weightage = 0.0,
            },
        },
        Filter = new Harness.Platform.Inputs.IdpScorecardFilterArgs
        {
            Kind = "string",
            Lifecycles = new[]
            {
                "string",
            },
            Owners = new[]
            {
                "string",
            },
            Scopes = new[]
            {
                "string",
            },
            Tags = new[]
            {
                "string",
            },
            Type = "string",
        },
        Identifier = "string",
        Published = false,
        Description = "string",
        Name = "string",
        OnDemand = false,
        TierGroupIdentifier = "string",
        WeightageStrategy = "string",
    });
    
    example, err := platform.NewIdpScorecard(ctx, "idpScorecardResource", &platform.IdpScorecardArgs{
    	Checks: platform.IdpScorecardCheckTypeArray{
    		&platform.IdpScorecardCheckTypeArgs{
    			Custom:      pulumi.Bool(false),
    			Identifier:  pulumi.String("string"),
    			Description: pulumi.String("string"),
    			Name:        pulumi.String("string"),
    			Weightage:   pulumi.Float64(0),
    		},
    	},
    	Filter: &platform.IdpScorecardFilterArgs{
    		Kind: pulumi.String("string"),
    		Lifecycles: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Owners: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Scopes: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Tags: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Type: pulumi.String("string"),
    	},
    	Identifier:          pulumi.String("string"),
    	Published:           pulumi.Bool(false),
    	Description:         pulumi.String("string"),
    	Name:                pulumi.String("string"),
    	OnDemand:            pulumi.Bool(false),
    	TierGroupIdentifier: pulumi.String("string"),
    	WeightageStrategy:   pulumi.String("string"),
    })
    
    resource "harness_platform_idp_scorecard" "idpScorecardResource" {
      lifecycle {
        create_before_destroy = true
      }
      checks {
        custom      = false
        identifier  = "string"
        description = "string"
        name        = "string"
        weightage   = 0
      }
      filter = {
        kind       = "string"
        lifecycles = ["string"]
        owners     = ["string"]
        scopes     = ["string"]
        tags       = ["string"]
        type       = "string"
      }
      identifier            = "string"
      published             = false
      description           = "string"
      name                  = "string"
      on_demand             = false
      tier_group_identifier = "string"
      weightage_strategy    = "string"
    }
    
    var idpScorecardResource = new IdpScorecard("idpScorecardResource", IdpScorecardArgs.builder()
        .checks(com.pulumi.harness.platform.inputs.IdpScorecardCheckArgs.builder()
            .custom(false)
            .identifier("string")
            .description("string")
            .name("string")
            .weightage(0.0)
            .build())
        .filter(IdpScorecardFilterArgs.builder()
            .kind("string")
            .lifecycles("string")
            .owners("string")
            .scopes("string")
            .tags("string")
            .type("string")
            .build())
        .identifier("string")
        .published(false)
        .description("string")
        .name("string")
        .onDemand(false)
        .tierGroupIdentifier("string")
        .weightageStrategy("string")
        .build());
    
    idp_scorecard_resource = harness.platform.IdpScorecard("idpScorecardResource",
        checks=[{
            "custom": False,
            "identifier": "string",
            "description": "string",
            "name": "string",
            "weightage": float(0),
        }],
        filter={
            "kind": "string",
            "lifecycles": ["string"],
            "owners": ["string"],
            "scopes": ["string"],
            "tags": ["string"],
            "type": "string",
        },
        identifier="string",
        published=False,
        description="string",
        name="string",
        on_demand=False,
        tier_group_identifier="string",
        weightage_strategy="string")
    
    const idpScorecardResource = new harness.platform.IdpScorecard("idpScorecardResource", {
        checks: [{
            custom: false,
            identifier: "string",
            description: "string",
            name: "string",
            weightage: 0,
        }],
        filter: {
            kind: "string",
            lifecycles: ["string"],
            owners: ["string"],
            scopes: ["string"],
            tags: ["string"],
            type: "string",
        },
        identifier: "string",
        published: false,
        description: "string",
        name: "string",
        onDemand: false,
        tierGroupIdentifier: "string",
        weightageStrategy: "string",
    });
    
    type: harness:platform:IdpScorecard
    properties:
        checks:
            - custom: false
              description: string
              identifier: string
              name: string
              weightage: 0
        description: string
        filter:
            kind: string
            lifecycles:
                - string
            owners:
                - string
            scopes:
                - string
            tags:
                - string
            type: string
        identifier: string
        name: string
        onDemand: false
        published: false
        tierGroupIdentifier: string
        weightageStrategy: string
    

    IdpScorecard Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The IdpScorecard resource accepts the following input properties:

    Checks List<IdpScorecardCheck>
    Checks included in the scorecard.
    Filter IdpScorecardFilter
    Filters that select catalog entities evaluated by the scorecard.
    Identifier string
    Unique identifier of the resource.
    Published bool
    Whether the scorecard is published.
    Description string
    Description of the resource.
    Name string
    Name of the resource.
    OnDemand bool
    Whether the scorecard is evaluated on demand.
    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 []IdpScorecardCheckTypeArgs
    Checks included in the scorecard.
    Filter IdpScorecardFilterArgs
    Filters that select catalog entities evaluated by the scorecard.
    Identifier string
    Unique identifier of the resource.
    Published bool
    Whether the scorecard is published.
    Description string
    Description of the resource.
    Name string
    Name of the resource.
    OnDemand bool
    Whether the scorecard is evaluated on demand.
    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.
    filter object
    Filters that select catalog entities evaluated by the scorecard.
    identifier string
    Unique identifier of the resource.
    published bool
    Whether the scorecard is published.
    description string
    Description of the resource.
    name string
    Name of the resource.
    on_demand bool
    Whether the scorecard is evaluated on demand.
    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<IdpScorecardCheck>
    Checks included in the scorecard.
    filter IdpScorecardFilter
    Filters that select catalog entities evaluated by the scorecard.
    identifier String
    Unique identifier of the resource.
    published Boolean
    Whether the scorecard is published.
    description String
    Description of the resource.
    name String
    Name of the resource.
    onDemand Boolean
    Whether the scorecard is evaluated on demand.
    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 IdpScorecardCheck[]
    Checks included in the scorecard.
    filter IdpScorecardFilter
    Filters that select catalog entities evaluated by the scorecard.
    identifier string
    Unique identifier of the resource.
    published boolean
    Whether the scorecard is published.
    description string
    Description of the resource.
    name string
    Name of the resource.
    onDemand boolean
    Whether the scorecard is evaluated on demand.
    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[IdpScorecardCheckArgs]
    Checks included in the scorecard.
    filter IdpScorecardFilterArgs
    Filters that select catalog entities evaluated by the scorecard.
    identifier str
    Unique identifier of the resource.
    published bool
    Whether the scorecard is published.
    description str
    Description of the resource.
    name str
    Name of the resource.
    on_demand bool
    Whether the scorecard is evaluated on demand.
    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.
    filter Property Map
    Filters that select catalog entities evaluated by the scorecard.
    identifier String
    Unique identifier of the resource.
    published Boolean
    Whether the scorecard is published.
    description String
    Description of the resource.
    name String
    Name of the resource.
    onDemand Boolean
    Whether the scorecard is evaluated on demand.
    tierGroupIdentifier String
    Identifier of the tier group used to classify scores.
    weightageStrategy String
    Weightage strategy for checks. Valid values are EQUAL_WEIGHTS and CUSTOM.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the IdpScorecard resource produces the following output properties:

    ChecksMissings List<string>
    Identifiers of checks referenced by the scorecard that are missing.
    Components int
    Number of components evaluated by the scorecard.
    Id string
    The provider-assigned unique ID for this managed resource.
    Percentage double
    Overall scorecard percentage.
    TierAnalytics List<IdpScorecardTierAnalytic>
    Component distribution across scorecard tiers.
    ChecksMissings []string
    Identifiers of checks referenced by the scorecard that are missing.
    Components int
    Number of components evaluated by the scorecard.
    Id string
    The provider-assigned unique ID for this managed resource.
    Percentage float64
    Overall scorecard percentage.
    TierAnalytics []IdpScorecardTierAnalytic
    Component distribution across scorecard tiers.
    checks_missings list(string)
    Identifiers of checks referenced by the scorecard that are missing.
    components number
    Number of components evaluated by the scorecard.
    id string
    The provider-assigned unique ID for this managed resource.
    percentage number
    Overall scorecard percentage.
    tier_analytics list(object)
    Component distribution across scorecard tiers.
    checksMissings List<String>
    Identifiers of checks referenced by the scorecard that are missing.
    components Integer
    Number of components evaluated by the scorecard.
    id String
    The provider-assigned unique ID for this managed resource.
    percentage Double
    Overall scorecard percentage.
    tierAnalytics List<IdpScorecardTierAnalytic>
    Component distribution across scorecard tiers.
    checksMissings string[]
    Identifiers of checks referenced by the scorecard that are missing.
    components number
    Number of components evaluated by the scorecard.
    id string
    The provider-assigned unique ID for this managed resource.
    percentage number
    Overall scorecard percentage.
    tierAnalytics IdpScorecardTierAnalytic[]
    Component distribution across scorecard tiers.
    checks_missings Sequence[str]
    Identifiers of checks referenced by the scorecard that are missing.
    components int
    Number of components evaluated by the scorecard.
    id str
    The provider-assigned unique ID for this managed resource.
    percentage float
    Overall scorecard percentage.
    tier_analytics Sequence[IdpScorecardTierAnalytic]
    Component distribution across scorecard tiers.
    checksMissings List<String>
    Identifiers of checks referenced by the scorecard that are missing.
    components Number
    Number of components evaluated by the scorecard.
    id String
    The provider-assigned unique ID for this managed resource.
    percentage Number
    Overall scorecard percentage.
    tierAnalytics List<Property Map>
    Component distribution across scorecard tiers.

    Look up Existing IdpScorecard Resource

    Get an existing IdpScorecard resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: IdpScorecardState, opts?: CustomResourceOptions): IdpScorecard
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            checks: Optional[Sequence[IdpScorecardCheckArgs]] = None,
            checks_missings: Optional[Sequence[str]] = None,
            components: Optional[int] = None,
            description: Optional[str] = None,
            filter: Optional[IdpScorecardFilterArgs] = None,
            identifier: Optional[str] = None,
            name: Optional[str] = None,
            on_demand: Optional[bool] = None,
            percentage: Optional[float] = None,
            published: Optional[bool] = None,
            tier_analytics: Optional[Sequence[IdpScorecardTierAnalyticArgs]] = None,
            tier_group_identifier: Optional[str] = None,
            weightage_strategy: Optional[str] = None) -> IdpScorecard
    func GetIdpScorecard(ctx *Context, name string, id IDInput, state *IdpScorecardState, opts ...ResourceOption) (*IdpScorecard, error)
    public static IdpScorecard Get(string name, Input<string> id, IdpScorecardState? state, CustomResourceOptions? opts = null)
    public static IdpScorecard get(String name, Output<String> id, IdpScorecardState state, CustomResourceOptions options)
    resources:  _:    type: harness:platform:IdpScorecard    get:      id: ${id}
    import {
      to = harness_platform_idp_scorecard.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Checks List<IdpScorecardCheck>
    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.
    Filter IdpScorecardFilter
    Filters that select catalog entities evaluated by the scorecard.
    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<IdpScorecardTierAnalytic>
    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 []IdpScorecardCheckTypeArgs
    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.
    Filter IdpScorecardFilterArgs
    Filters that select catalog entities evaluated by the scorecard.
    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 []IdpScorecardTierAnalyticArgs
    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.
    filter object
    Filters that select catalog entities evaluated by the scorecard.
    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<IdpScorecardCheck>
    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.
    filter IdpScorecardFilter
    Filters that select catalog entities evaluated by the scorecard.
    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<IdpScorecardTierAnalytic>
    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 IdpScorecardCheck[]
    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.
    filter IdpScorecardFilter
    Filters that select catalog entities evaluated by the scorecard.
    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 IdpScorecardTierAnalytic[]
    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[IdpScorecardCheckArgs]
    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.
    filter IdpScorecardFilterArgs
    Filters that select catalog entities evaluated by the scorecard.
    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[IdpScorecardTierAnalyticArgs]
    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.
    filter Property Map
    Filters that select catalog entities evaluated by the scorecard.
    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

    IdpScorecardCheck, IdpScorecardCheckArgs

    Custom bool
    Whether the referenced check is custom.
    Identifier string
    Identifier of the check.
    Description string
    Description 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.
    Identifier string
    Identifier of the check.
    Description string
    Description 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.
    identifier string
    Identifier of the check.
    description string
    Description 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.
    identifier String
    Identifier of the check.
    description String
    Description 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.
    identifier string
    Identifier of the check.
    description string
    Description 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.
    identifier str
    Identifier of the check.
    description str
    Description 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.
    identifier String
    Identifier of the check.
    description String
    Description of the check.
    name String
    Name of the check.
    weightage Number
    Weightage of the check when using CUSTOM.

    IdpScorecardFilter, IdpScorecardFilterArgs

    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.

    IdpScorecardTierAnalytic, IdpScorecardTierAnalyticArgs

    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.

    Import

    The pulumi import command can be used, for example:

    Import an IDP scorecard

    $ pulumi import harness:platform/idpScorecard:IdpScorecard example <scorecard_id>
    

    To learn more about importing existing cloud resources, see Importing resources.

    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