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

    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",
            ruleDescription: "Repository has a README",
            inputValues: [{
                key: "filePath",
                value: "README.md",
            }],
        }],
    });
    
    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",
            "rule_description": "Repository has a README",
            "input_values": [{
                "key": "filePath",
                "value": "README.md",
            }],
        }])
    
    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.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"),
    					RuleDescription:      pulumi.String("Repository has a README"),
    					InputValues: platform.IdpScorecardCheckRuleInputValueArray{
    						&platform.IdpScorecardCheckRuleInputValueArgs{
    							Key:   pulumi.String("filePath"),
    							Value: pulumi.String("README.md"),
    						},
    					},
    				},
    			},
    		})
    		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",
                    RuleDescription = "Repository has a README",
                    InputValues = new[]
                    {
                        new Harness.Platform.Inputs.IdpScorecardCheckRuleInputValueArgs
                        {
                            Key = "filePath",
                            Value = "README.md",
                        },
                    },
                },
            },
        });
    
    });
    
    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.IdpScorecardCheckArgs;
    import com.pulumi.harness.platform.inputs.IdpScorecardCheckRuleArgs;
    import com.pulumi.harness.platform.inputs.IdpScorecardCheckRuleInputValueArgs;
    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")
                    .ruleDescription("Repository has a README")
                    .inputValues(IdpScorecardCheckRuleInputValueArgs.builder()
                        .key("filePath")
                        .value("README.md")
                        .build())
                    .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'
              ruleDescription: Repository has a README
              inputValues:
                - key: filePath
                  value: README.md
    
    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"
        rule_description       = "Repository has a README"
        input_values {
          key   = "filePath"
          value = "README.md"
        }
      }
    }
    

    Create IdpScorecardCheck Resource

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

    Constructor syntax

    new IdpScorecardCheck(name: string, args: IdpScorecardCheckArgs, opts?: CustomResourceOptions);
    @overload
    def IdpScorecardCheck(resource_name: str,
                          args: IdpScorecardCheckInitArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def IdpScorecardCheck(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          default_behaviour: Optional[str] = None,
                          identifier: Optional[str] = None,
                          rule_strategy: Optional[str] = None,
                          description: Optional[str] = None,
                          expression: Optional[str] = None,
                          fail_message: Optional[str] = None,
                          name: Optional[str] = None,
                          rule_description: Optional[str] = None,
                          rules: Optional[Sequence[IdpScorecardCheckRuleArgs]] = None,
                          tags: Optional[Sequence[str]] = None)
    func NewIdpScorecardCheck(ctx *Context, name string, args IdpScorecardCheckArgs, opts ...ResourceOption) (*IdpScorecardCheck, error)
    public IdpScorecardCheck(string name, IdpScorecardCheckArgs args, CustomResourceOptions? opts = null)
    public IdpScorecardCheck(String name, IdpScorecardCheckArgs args)
    public IdpScorecardCheck(String name, IdpScorecardCheckArgs args, CustomResourceOptions options)
    
    type: harness:platform:IdpScorecardCheck
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "harness_platform_idp_scorecard_check" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args IdpScorecardCheckArgs
    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 IdpScorecardCheckInitArgs
    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 IdpScorecardCheckArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IdpScorecardCheckArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IdpScorecardCheckArgs
    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 idpScorecardCheckResource = new Harness.Platform.IdpScorecardCheck("idpScorecardCheckResource", new()
    {
        DefaultBehaviour = "string",
        Identifier = "string",
        RuleStrategy = "string",
        Description = "string",
        Expression = "string",
        FailMessage = "string",
        Name = "string",
        RuleDescription = "string",
        Rules = new[]
        {
            new Harness.Platform.Inputs.IdpScorecardCheckRuleArgs
            {
                DataPointIdentifier = "string",
                DataSourceIdentifier = "string",
                Operator = "string",
                Identifier = "string",
                InputValues = new[]
                {
                    new Harness.Platform.Inputs.IdpScorecardCheckRuleInputValueArgs
                    {
                        Key = "string",
                        Value = "string",
                    },
                },
                RuleDescription = "string",
                Value = "string",
            },
        },
        Tags = new[]
        {
            "string",
        },
    });
    
    example, err := platform.NewIdpScorecardCheck(ctx, "idpScorecardCheckResource", &platform.IdpScorecardCheckArgs{
    	DefaultBehaviour: pulumi.String("string"),
    	Identifier:       pulumi.String("string"),
    	RuleStrategy:     pulumi.String("string"),
    	Description:      pulumi.String("string"),
    	Expression:       pulumi.String("string"),
    	FailMessage:      pulumi.String("string"),
    	Name:             pulumi.String("string"),
    	RuleDescription:  pulumi.String("string"),
    	Rules: platform.IdpScorecardCheckRuleArray{
    		&platform.IdpScorecardCheckRuleArgs{
    			DataPointIdentifier:  pulumi.String("string"),
    			DataSourceIdentifier: pulumi.String("string"),
    			Operator:             pulumi.String("string"),
    			Identifier:           pulumi.String("string"),
    			InputValues: platform.IdpScorecardCheckRuleInputValueArray{
    				&platform.IdpScorecardCheckRuleInputValueArgs{
    					Key:   pulumi.String("string"),
    					Value: pulumi.String("string"),
    				},
    			},
    			RuleDescription: pulumi.String("string"),
    			Value:           pulumi.String("string"),
    		},
    	},
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    resource "harness_platform_idp_scorecard_check" "idpScorecardCheckResource" {
      lifecycle {
        create_before_destroy = true
      }
      default_behaviour = "string"
      identifier        = "string"
      rule_strategy     = "string"
      description       = "string"
      expression        = "string"
      fail_message      = "string"
      name              = "string"
      rule_description  = "string"
      rules {
        data_point_identifier  = "string"
        data_source_identifier = "string"
        operator               = "string"
        identifier             = "string"
        input_values {
          key   = "string"
          value = "string"
        }
        rule_description = "string"
        value            = "string"
      }
      tags = ["string"]
    }
    
    var idpScorecardCheckResource = new IdpScorecardCheck("idpScorecardCheckResource", IdpScorecardCheckArgs.builder()
        .defaultBehaviour("string")
        .identifier("string")
        .ruleStrategy("string")
        .description("string")
        .expression("string")
        .failMessage("string")
        .name("string")
        .ruleDescription("string")
        .rules(IdpScorecardCheckRuleArgs.builder()
            .dataPointIdentifier("string")
            .dataSourceIdentifier("string")
            .operator("string")
            .identifier("string")
            .inputValues(IdpScorecardCheckRuleInputValueArgs.builder()
                .key("string")
                .value("string")
                .build())
            .ruleDescription("string")
            .value("string")
            .build())
        .tags("string")
        .build());
    
    idp_scorecard_check_resource = harness.platform.IdpScorecardCheck("idpScorecardCheckResource",
        default_behaviour="string",
        identifier="string",
        rule_strategy="string",
        description="string",
        expression="string",
        fail_message="string",
        name="string",
        rule_description="string",
        rules=[{
            "data_point_identifier": "string",
            "data_source_identifier": "string",
            "operator": "string",
            "identifier": "string",
            "input_values": [{
                "key": "string",
                "value": "string",
            }],
            "rule_description": "string",
            "value": "string",
        }],
        tags=["string"])
    
    const idpScorecardCheckResource = new harness.platform.IdpScorecardCheck("idpScorecardCheckResource", {
        defaultBehaviour: "string",
        identifier: "string",
        ruleStrategy: "string",
        description: "string",
        expression: "string",
        failMessage: "string",
        name: "string",
        ruleDescription: "string",
        rules: [{
            dataPointIdentifier: "string",
            dataSourceIdentifier: "string",
            operator: "string",
            identifier: "string",
            inputValues: [{
                key: "string",
                value: "string",
            }],
            ruleDescription: "string",
            value: "string",
        }],
        tags: ["string"],
    });
    
    type: harness:platform:IdpScorecardCheck
    properties:
        defaultBehaviour: string
        description: string
        expression: string
        failMessage: string
        identifier: string
        name: string
        ruleDescription: string
        ruleStrategy: string
        rules:
            - dataPointIdentifier: string
              dataSourceIdentifier: string
              identifier: string
              inputValues:
                - key: string
                  value: string
              operator: string
              ruleDescription: string
              value: string
        tags:
            - string
    

    IdpScorecardCheck 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 IdpScorecardCheck resource accepts the following input properties:

    DefaultBehaviour string
    Default behaviour when the check cannot be evaluated. Valid values are PASS and FAIL.
    Identifier string
    Unique identifier of the resource.
    RuleStrategy string
    How multiple rules are combined. Valid values are ALLOF, ANYOF, and ADVANCED.
    Description string
    Description of the resource.
    Expression string
    JEXL expression used for advanced check rules. Required when ruleStrategy is ADVANCED.
    FailMessage string
    Message shown when the check fails.
    Name string
    Name of the resource.
    RuleDescription string
    Description of the check rule set.
    Rules List<IdpScorecardCheckRule>
    Basic rules evaluated by the check. Required when rulestrategy is ALLOF or ANY_OF.
    Tags List<string>
    Tags to associate with the resource.
    DefaultBehaviour string
    Default behaviour when the check cannot be evaluated. Valid values are PASS and FAIL.
    Identifier string
    Unique identifier of the resource.
    RuleStrategy string
    How multiple rules are combined. Valid values are ALLOF, ANYOF, and ADVANCED.
    Description string
    Description of the resource.
    Expression string
    JEXL expression used for advanced check rules. Required when ruleStrategy is ADVANCED.
    FailMessage string
    Message shown when the check fails.
    Name string
    Name of the resource.
    RuleDescription string
    Description of the check rule set.
    Rules []IdpScorecardCheckRuleArgs
    Basic rules evaluated by the check. Required when rulestrategy is ALLOF or ANY_OF.
    Tags []string
    Tags to associate with the resource.
    default_behaviour string
    Default behaviour when the check cannot be evaluated. Valid values are PASS and FAIL.
    identifier string
    Unique identifier of the resource.
    rule_strategy string
    How multiple rules are combined. Valid values are ALLOF, ANYOF, and ADVANCED.
    description string
    Description of the resource.
    expression string
    JEXL expression used for advanced check rules. Required when ruleStrategy is ADVANCED.
    fail_message string
    Message shown when the check fails.
    name string
    Name of the resource.
    rule_description string
    Description of the check rule set.
    rules list(object)
    Basic rules evaluated by the check. Required when rulestrategy is ALLOF or ANY_OF.
    tags list(string)
    Tags to associate with the resource.
    defaultBehaviour String
    Default behaviour when the check cannot be evaluated. Valid values are PASS and FAIL.
    identifier String
    Unique identifier of the resource.
    ruleStrategy String
    How multiple rules are combined. Valid values are ALLOF, ANYOF, and ADVANCED.
    description String
    Description of the resource.
    expression String
    JEXL expression used for advanced check rules. Required when ruleStrategy is ADVANCED.
    failMessage String
    Message shown when the check fails.
    name String
    Name of the resource.
    ruleDescription String
    Description of the check rule set.
    rules List<IdpScorecardCheckRule>
    Basic rules evaluated by the check. Required when rulestrategy is ALLOF or ANY_OF.
    tags List<String>
    Tags to associate with the resource.
    defaultBehaviour string
    Default behaviour when the check cannot be evaluated. Valid values are PASS and FAIL.
    identifier string
    Unique identifier of the resource.
    ruleStrategy string
    How multiple rules are combined. Valid values are ALLOF, ANYOF, and ADVANCED.
    description string
    Description of the resource.
    expression string
    JEXL expression used for advanced check rules. Required when ruleStrategy is ADVANCED.
    failMessage string
    Message shown when the check fails.
    name string
    Name of the resource.
    ruleDescription string
    Description of the check rule set.
    rules IdpScorecardCheckRule[]
    Basic rules evaluated by the check. Required when rulestrategy is ALLOF or ANY_OF.
    tags string[]
    Tags to associate with the resource.
    default_behaviour str
    Default behaviour when the check cannot be evaluated. Valid values are PASS and FAIL.
    identifier str
    Unique identifier of the resource.
    rule_strategy str
    How multiple rules are combined. Valid values are ALLOF, ANYOF, and ADVANCED.
    description str
    Description of the resource.
    expression str
    JEXL expression used for advanced check rules. Required when ruleStrategy is ADVANCED.
    fail_message str
    Message shown when the check fails.
    name str
    Name of the resource.
    rule_description str
    Description of the check rule set.
    rules Sequence[IdpScorecardCheckRuleArgs]
    Basic rules evaluated by the check. Required when rulestrategy is ALLOF or ANY_OF.
    tags Sequence[str]
    Tags to associate with the resource.
    defaultBehaviour String
    Default behaviour when the check cannot be evaluated. Valid values are PASS and FAIL.
    identifier String
    Unique identifier of the resource.
    ruleStrategy String
    How multiple rules are combined. Valid values are ALLOF, ANYOF, and ADVANCED.
    description String
    Description of the resource.
    expression String
    JEXL expression used for advanced check rules. Required when ruleStrategy is ADVANCED.
    failMessage String
    Message shown when the check fails.
    name String
    Name of the resource.
    ruleDescription String
    Description of the check rule set.
    rules List<Property Map>
    Basic rules evaluated by the check. Required when rulestrategy is ALLOF or ANY_OF.
    tags List<String>
    Tags to associate with the resource.

    Outputs

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

    Custom bool
    Whether this is a custom check. Always true for checks created through Terraform.
    HarnessManaged bool
    Whether the check is managed by Harness.
    Id string
    The provider-assigned unique ID for this managed resource.
    Percentage double
    Pass percentage for the check.
    Custom bool
    Whether this is a custom check. Always true for checks created through Terraform.
    HarnessManaged bool
    Whether the check is managed by Harness.
    Id string
    The provider-assigned unique ID for this managed resource.
    Percentage float64
    Pass percentage for the check.
    custom bool
    Whether this is a custom check. Always true for checks created through Terraform.
    harness_managed bool
    Whether the check is managed by Harness.
    id string
    The provider-assigned unique ID for this managed resource.
    percentage number
    Pass percentage for the check.
    custom Boolean
    Whether this is a custom check. Always true for checks created through Terraform.
    harnessManaged Boolean
    Whether the check is managed by Harness.
    id String
    The provider-assigned unique ID for this managed resource.
    percentage Double
    Pass percentage for the check.
    custom boolean
    Whether this is a custom check. Always true for checks created through Terraform.
    harnessManaged boolean
    Whether the check is managed by Harness.
    id string
    The provider-assigned unique ID for this managed resource.
    percentage number
    Pass percentage for the check.
    custom bool
    Whether this is a custom check. Always true for checks created through Terraform.
    harness_managed bool
    Whether the check is managed by Harness.
    id str
    The provider-assigned unique ID for this managed resource.
    percentage float
    Pass percentage for the check.
    custom Boolean
    Whether this is a custom check. Always true for checks created through Terraform.
    harnessManaged Boolean
    Whether the check is managed by Harness.
    id String
    The provider-assigned unique ID for this managed resource.
    percentage Number
    Pass percentage for the check.

    Look up Existing IdpScorecardCheck Resource

    Get an existing IdpScorecardCheck 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?: IdpScorecardCheckState, opts?: CustomResourceOptions): IdpScorecardCheck
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            custom: Optional[bool] = None,
            default_behaviour: Optional[str] = None,
            description: Optional[str] = None,
            expression: Optional[str] = None,
            fail_message: Optional[str] = None,
            harness_managed: Optional[bool] = None,
            identifier: Optional[str] = None,
            name: Optional[str] = None,
            percentage: Optional[float] = None,
            rule_description: Optional[str] = None,
            rule_strategy: Optional[str] = None,
            rules: Optional[Sequence[IdpScorecardCheckRuleArgs]] = None,
            tags: Optional[Sequence[str]] = None) -> IdpScorecardCheck
    func GetIdpScorecardCheck(ctx *Context, name string, id IDInput, state *IdpScorecardCheckState, opts ...ResourceOption) (*IdpScorecardCheck, error)
    public static IdpScorecardCheck Get(string name, Input<string> id, IdpScorecardCheckState? state, CustomResourceOptions? opts = null)
    public static IdpScorecardCheck get(String name, Output<String> id, IdpScorecardCheckState state, CustomResourceOptions options)
    resources:  _:    type: harness:platform:IdpScorecardCheck    get:      id: ${id}
    import {
      to = harness_platform_idp_scorecard_check.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:
    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. Required when ruleStrategy is ADVANCED.
    FailMessage string
    Message shown when the check fails.
    HarnessManaged bool
    Whether the check is managed by Harness.
    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<IdpScorecardCheckRule>
    Basic rules evaluated by the check. Required when rulestrategy is ALLOF or ANY_OF.
    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. Required when ruleStrategy is ADVANCED.
    FailMessage string
    Message shown when the check fails.
    HarnessManaged bool
    Whether the check is managed by Harness.
    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 []IdpScorecardCheckRuleArgs
    Basic rules evaluated by the check. Required when rulestrategy is ALLOF or ANY_OF.
    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. Required when ruleStrategy is ADVANCED.
    fail_message string
    Message shown when the check fails.
    harness_managed bool
    Whether the check is managed by Harness.
    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. Required when rulestrategy is ALLOF or ANY_OF.
    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. Required when ruleStrategy is ADVANCED.
    failMessage String
    Message shown when the check fails.
    harnessManaged Boolean
    Whether the check is managed by Harness.
    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<IdpScorecardCheckRule>
    Basic rules evaluated by the check. Required when rulestrategy is ALLOF or ANY_OF.
    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. Required when ruleStrategy is ADVANCED.
    failMessage string
    Message shown when the check fails.
    harnessManaged boolean
    Whether the check is managed by Harness.
    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 IdpScorecardCheckRule[]
    Basic rules evaluated by the check. Required when rulestrategy is ALLOF or ANY_OF.
    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. Required when ruleStrategy is ADVANCED.
    fail_message str
    Message shown when the check fails.
    harness_managed bool
    Whether the check is managed by Harness.
    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[IdpScorecardCheckRuleArgs]
    Basic rules evaluated by the check. Required when rulestrategy is ALLOF or ANY_OF.
    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. Required when ruleStrategy is ADVANCED.
    failMessage String
    Message shown when the check fails.
    harnessManaged Boolean
    Whether the check is managed by Harness.
    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. Required when rulestrategy is ALLOF or ANY_OF.
    tags List<String>
    Tags to associate with the resource.

    Supporting Types

    IdpScorecardCheckRule, IdpScorecardCheckRuleArgs

    DataPointIdentifier string
    Identifier of the data point evaluated by the rule.
    DataSourceIdentifier string
    Identifier of the data source used by the rule.
    Operator string
    Comparison operator.
    Identifier string
    Identifier of the rule.
    InputValues List<IdpScorecardCheckRuleInputValue>
    Input values passed to the data point.
    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.
    Operator string
    Comparison operator.
    Identifier string
    Identifier of the rule.
    InputValues []IdpScorecardCheckRuleInputValue
    Input values passed to the data point.
    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.
    operator string
    Comparison operator.
    identifier string
    Identifier of the rule.
    input_values list(object)
    Input values passed to the data point.
    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.
    operator String
    Comparison operator.
    identifier String
    Identifier of the rule.
    inputValues List<IdpScorecardCheckRuleInputValue>
    Input values passed to the data point.
    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.
    operator string
    Comparison operator.
    identifier string
    Identifier of the rule.
    inputValues IdpScorecardCheckRuleInputValue[]
    Input values passed to the data point.
    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.
    operator str
    Comparison operator.
    identifier str
    Identifier of the rule.
    input_values Sequence[IdpScorecardCheckRuleInputValue]
    Input values passed to the data point.
    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.
    operator String
    Comparison operator.
    identifier String
    Identifier of the rule.
    inputValues List<Property Map>
    Input values passed to the data point.
    ruleDescription String
    Description of the rule.
    value String
    Value to compare against.

    IdpScorecardCheckRuleInputValue, IdpScorecardCheckRuleInputValueArgs

    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.

    Import

    The pulumi import command can be used, for example:

    Import an IDP scorecard check

    $ pulumi import harness:platform/idpScorecardCheck:IdpScorecardCheck example <check_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