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

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as harness from "@pulumi/harness";
    
    const readme = harness.platform.getIdpScorecardCheck({
        identifier: "readme_exists",
    });
    
    import pulumi
    import pulumi_harness as harness
    
    readme = harness.platform.get_idp_scorecard_check(identifier="readme_exists")
    
    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.LookupIdpScorecardCheck(ctx, &platform.LookupIdpScorecardCheckArgs{
    			Identifier: "readme_exists",
    		}, 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 readme = Harness.Platform.GetIdpScorecardCheck.Invoke(new()
        {
            Identifier = "readme_exists",
        });
    
    });
    
    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.GetIdpScorecardCheckArgs;
    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 readme = PlatformFunctions.getIdpScorecardCheck(GetIdpScorecardCheckArgs.builder()
                .identifier("readme_exists")
                .build());
    
        }
    }
    
    variables:
      readme:
        fn::invoke:
          function: harness:platform:getIdpScorecardCheck
          arguments:
            identifier: readme_exists
    
    pulumi {
      required_providers {
        harness = {
          source = "pulumi/harness"
        }
      }
    }
    
    data "harness_platform_getidpscorecardcheck" "readme" {
      identifier = "readme_exists"
    }
    

    Using getIdpScorecardCheck

    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 getIdpScorecardCheck(args: GetIdpScorecardCheckArgs, opts?: InvokeOptions): Promise<GetIdpScorecardCheckResult>
    function getIdpScorecardCheckOutput(args: GetIdpScorecardCheckOutputArgs, opts?: InvokeOutputOptions): Output<GetIdpScorecardCheckResult>
    def get_idp_scorecard_check(identifier: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetIdpScorecardCheckResult
    def get_idp_scorecard_check_output(identifier: pulumi.Input[Optional[str]] = None,
                                opts: Optional[InvokeOutputOptions] = None) -> Output[GetIdpScorecardCheckResult]
    func LookupIdpScorecardCheck(ctx *Context, args *LookupIdpScorecardCheckArgs, opts ...InvokeOption) (*LookupIdpScorecardCheckResult, error)
    func LookupIdpScorecardCheckOutput(ctx *Context, args *LookupIdpScorecardCheckOutputArgs, opts ...InvokeOption) LookupIdpScorecardCheckResultOutput

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

    public static class GetIdpScorecardCheck 
    {
        public static Task<GetIdpScorecardCheckResult> InvokeAsync(GetIdpScorecardCheckArgs args, InvokeOptions? opts = null)
        public static Output<GetIdpScorecardCheckResult> Invoke(GetIdpScorecardCheckInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetIdpScorecardCheckResult> Invoke(GetIdpScorecardCheckInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetIdpScorecardCheckResult> getIdpScorecardCheck(GetIdpScorecardCheckArgs args, InvokeOptions options)
    public static Output<GetIdpScorecardCheckResult> getIdpScorecardCheck(GetIdpScorecardCheckArgs args, InvokeOptions options)
    public static Output<GetIdpScorecardCheckResult> getIdpScorecardCheck(GetIdpScorecardCheckArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: harness:platform/getIdpScorecardCheck:getIdpScorecardCheck
      arguments:
        # arguments dictionary
    data "harness_platform_get_idp_scorecard_check" "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.

    getIdpScorecardCheck Result

    The following output properties are available:

    Custom bool
    Whether this is a custom check. Always true for checks created through Terraform.
    DefaultBehaviour string
    Default behaviour when the check cannot be evaluated. Valid values are PASS and FAIL.
    Description string
    Description of the resource.
    Expression string
    JEXL expression used for advanced check rules.
    FailMessage string
    Message shown when the check fails.
    HarnessManaged bool
    Whether the check is managed by Harness.
    Id string
    The provider-assigned unique ID for this managed resource.
    Identifier string
    Unique identifier of the resource.
    Name string
    Name of the resource.
    Percentage double
    Pass percentage for the check.
    RuleDescription string
    Description of the check rule set.
    RuleStrategy string
    How multiple rules are combined. Valid values are ALLOF, ANYOF, and ADVANCED.
    Rules List<GetIdpScorecardCheckRule>
    Basic rules evaluated by the check.
    Tags List<string>
    Tags to associate with the resource.
    Custom bool
    Whether this is a custom check. Always true for checks created through Terraform.
    DefaultBehaviour string
    Default behaviour when the check cannot be evaluated. Valid values are PASS and FAIL.
    Description string
    Description of the resource.
    Expression string
    JEXL expression used for advanced check rules.
    FailMessage string
    Message shown when the check fails.
    HarnessManaged bool
    Whether the check is managed by Harness.
    Id string
    The provider-assigned unique ID for this managed resource.
    Identifier string
    Unique identifier of the resource.
    Name string
    Name of the resource.
    Percentage float64
    Pass percentage for the check.
    RuleDescription string
    Description of the check rule set.
    RuleStrategy string
    How multiple rules are combined. Valid values are ALLOF, ANYOF, and ADVANCED.
    Rules []GetIdpScorecardCheckRule
    Basic rules evaluated by the check.
    Tags []string
    Tags to associate with the resource.
    custom bool
    Whether this is a custom check. Always true for checks created through Terraform.
    default_behaviour string
    Default behaviour when the check cannot be evaluated. Valid values are PASS and FAIL.
    description string
    Description of the resource.
    expression string
    JEXL expression used for advanced check rules.
    fail_message string
    Message shown when the check fails.
    harness_managed bool
    Whether the check is managed by Harness.
    id string
    The provider-assigned unique ID for this managed resource.
    identifier string
    Unique identifier of the resource.
    name string
    Name of the resource.
    percentage number
    Pass percentage for the check.
    rule_description string
    Description of the check rule set.
    rule_strategy string
    How multiple rules are combined. Valid values are ALLOF, ANYOF, and ADVANCED.
    rules list(object)
    Basic rules evaluated by the check.
    tags list(string)
    Tags to associate with the resource.
    custom Boolean
    Whether this is a custom check. Always true for checks created through Terraform.
    defaultBehaviour String
    Default behaviour when the check cannot be evaluated. Valid values are PASS and FAIL.
    description String
    Description of the resource.
    expression String
    JEXL expression used for advanced check rules.
    failMessage String
    Message shown when the check fails.
    harnessManaged Boolean
    Whether the check is managed by Harness.
    id String
    The provider-assigned unique ID for this managed resource.
    identifier String
    Unique identifier of the resource.
    name String
    Name of the resource.
    percentage Double
    Pass percentage for the check.
    ruleDescription String
    Description of the check rule set.
    ruleStrategy String
    How multiple rules are combined. Valid values are ALLOF, ANYOF, and ADVANCED.
    rules List<GetIdpScorecardCheckRule>
    Basic rules evaluated by the check.
    tags List<String>
    Tags to associate with the resource.
    custom boolean
    Whether this is a custom check. Always true for checks created through Terraform.
    defaultBehaviour string
    Default behaviour when the check cannot be evaluated. Valid values are PASS and FAIL.
    description string
    Description of the resource.
    expression string
    JEXL expression used for advanced check rules.
    failMessage string
    Message shown when the check fails.
    harnessManaged boolean
    Whether the check is managed by Harness.
    id string
    The provider-assigned unique ID for this managed resource.
    identifier string
    Unique identifier of the resource.
    name string
    Name of the resource.
    percentage number
    Pass percentage for the check.
    ruleDescription string
    Description of the check rule set.
    ruleStrategy string
    How multiple rules are combined. Valid values are ALLOF, ANYOF, and ADVANCED.
    rules GetIdpScorecardCheckRule[]
    Basic rules evaluated by the check.
    tags string[]
    Tags to associate with the resource.
    custom bool
    Whether this is a custom check. Always true for checks created through Terraform.
    default_behaviour str
    Default behaviour when the check cannot be evaluated. Valid values are PASS and FAIL.
    description str
    Description of the resource.
    expression str
    JEXL expression used for advanced check rules.
    fail_message str
    Message shown when the check fails.
    harness_managed bool
    Whether the check is managed by Harness.
    id str
    The provider-assigned unique ID for this managed resource.
    identifier str
    Unique identifier of the resource.
    name str
    Name of the resource.
    percentage float
    Pass percentage for the check.
    rule_description str
    Description of the check rule set.
    rule_strategy str
    How multiple rules are combined. Valid values are ALLOF, ANYOF, and ADVANCED.
    rules Sequence[GetIdpScorecardCheckRule]
    Basic rules evaluated by the check.
    tags Sequence[str]
    Tags to associate with the resource.
    custom Boolean
    Whether this is a custom check. Always true for checks created through Terraform.
    defaultBehaviour String
    Default behaviour when the check cannot be evaluated. Valid values are PASS and FAIL.
    description String
    Description of the resource.
    expression String
    JEXL expression used for advanced check rules.
    failMessage String
    Message shown when the check fails.
    harnessManaged Boolean
    Whether the check is managed by Harness.
    id String
    The provider-assigned unique ID for this managed resource.
    identifier String
    Unique identifier of the resource.
    name String
    Name of the resource.
    percentage Number
    Pass percentage for the check.
    ruleDescription String
    Description of the check rule set.
    ruleStrategy String
    How multiple rules are combined. Valid values are ALLOF, ANYOF, and ADVANCED.
    rules List<Property Map>
    Basic rules evaluated by the check.
    tags List<String>
    Tags to associate with the resource.

    Supporting Types

    GetIdpScorecardCheckRule

    DataPointIdentifier string
    Identifier of the data point evaluated by the rule.
    DataSourceIdentifier string
    Identifier of the data source used by the rule.
    Identifier string
    Identifier of the rule.
    InputValues List<GetIdpScorecardCheckRuleInputValue>
    Input values passed to the data point.
    Operator string
    Comparison operator.
    RuleDescription string
    Description of the rule.
    Value string
    Value to compare against.
    DataPointIdentifier string
    Identifier of the data point evaluated by the rule.
    DataSourceIdentifier string
    Identifier of the data source used by the rule.
    Identifier string
    Identifier of the rule.
    InputValues []GetIdpScorecardCheckRuleInputValue
    Input values passed to the data point.
    Operator string
    Comparison operator.
    RuleDescription string
    Description of the rule.
    Value string
    Value to compare against.
    data_point_identifier string
    Identifier of the data point evaluated by the rule.
    data_source_identifier string
    Identifier of the data source used by the rule.
    identifier string
    Identifier of the rule.
    input_values list(object)
    Input values passed to the data point.
    operator string
    Comparison operator.
    rule_description string
    Description of the rule.
    value string
    Value to compare against.
    dataPointIdentifier String
    Identifier of the data point evaluated by the rule.
    dataSourceIdentifier String
    Identifier of the data source used by the rule.
    identifier String
    Identifier of the rule.
    inputValues List<GetIdpScorecardCheckRuleInputValue>
    Input values passed to the data point.
    operator String
    Comparison operator.
    ruleDescription String
    Description of the rule.
    value String
    Value to compare against.
    dataPointIdentifier string
    Identifier of the data point evaluated by the rule.
    dataSourceIdentifier string
    Identifier of the data source used by the rule.
    identifier string
    Identifier of the rule.
    inputValues GetIdpScorecardCheckRuleInputValue[]
    Input values passed to the data point.
    operator string
    Comparison operator.
    ruleDescription string
    Description of the rule.
    value string
    Value to compare against.
    data_point_identifier str
    Identifier of the data point evaluated by the rule.
    data_source_identifier str
    Identifier of the data source used by the rule.
    identifier str
    Identifier of the rule.
    input_values Sequence[GetIdpScorecardCheckRuleInputValue]
    Input values passed to the data point.
    operator str
    Comparison operator.
    rule_description str
    Description of the rule.
    value str
    Value to compare against.
    dataPointIdentifier String
    Identifier of the data point evaluated by the rule.
    dataSourceIdentifier String
    Identifier of the data source used by the rule.
    identifier String
    Identifier of the rule.
    inputValues List<Property Map>
    Input values passed to the data point.
    operator String
    Comparison operator.
    ruleDescription String
    Description of the rule.
    value String
    Value to compare against.

    GetIdpScorecardCheckRuleInputValue

    Key string
    Input key.
    Value string
    Input value.
    Key string
    Input key.
    Value string
    Input value.
    key string
    Input key.
    value string
    Input value.
    key String
    Input key.
    value String
    Input value.
    key string
    Input key.
    value string
    Input value.
    key str
    Input key.
    value str
    Input value.
    key String
    Input key.
    value String
    Input value.

    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