published on Saturday, Sep 12, 2026 by Pulumi
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:
- 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<Idp
Scorecard Check Rule> - Basic rules evaluated by the check. Required when rulestrategy is ALLOF or ANY_OF.
- List<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
[]Idp
Scorecard Check Rule Args - Basic rules evaluated by the check. Required when rulestrategy is ALLOF or ANY_OF.
- []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.
- list(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<Idp
Scorecard Check Rule> - Basic rules evaluated by the check. Required when rulestrategy is ALLOF or ANY_OF.
- List<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
Idp
Scorecard Check Rule[] - Basic rules evaluated by the check. Required when rulestrategy is ALLOF or ANY_OF.
- 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[Idp
Scorecard Check Rule Args] - Basic rules evaluated by the check. Required when rulestrategy is ALLOF or ANY_OF.
- Sequence[str]
- 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<Property Map>
- Basic rules evaluated by the check. Required when rulestrategy is ALLOF or ANY_OF.
- 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.
- Harness
Managed 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.
- Harness
Managed 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.
- harness
Managed 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.
- harness
Managed 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.
- harness
Managed 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) -> IdpScorecardCheckfunc 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.
- 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 double
- 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<Idp
Scorecard Check Rule> - Basic rules evaluated by the check. Required when rulestrategy is ALLOF or ANY_OF.
- List<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 float64
- 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
[]Idp
Scorecard Check Rule Args - Basic rules evaluated by the check. Required when rulestrategy is ALLOF or ANY_OF.
- []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.
- list(string)
- Tags to associate with the resource.
- custom Boolean
- 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 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.
- 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<Idp
Scorecard Check Rule> - Basic rules evaluated by the check. Required when rulestrategy is ALLOF or ANY_OF.
- List<String>
- Tags to associate with the resource.
- custom boolean
- 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 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.
- 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
Idp
Scorecard Check Rule[] - Basic rules evaluated by the check. Required when rulestrategy is ALLOF or ANY_OF.
- 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[Idp
Scorecard Check Rule Args] - Basic rules evaluated by the check. Required when rulestrategy is ALLOF or ANY_OF.
- Sequence[str]
- Tags to associate with the resource.
- custom Boolean
- 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 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.
- 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<Property Map>
- Basic rules evaluated by the check. Required when rulestrategy is ALLOF or ANY_OF.
- List<String>
- Tags to associate with the resource.
Supporting Types
IdpScorecardCheckRule, IdpScorecardCheckRuleArgs
- Data
Point stringIdentifier - Identifier of the data point evaluated by the rule.
- Data
Source stringIdentifier - Identifier of the data source used by the rule.
- Operator string
- Comparison operator.
- Identifier string
- Identifier of the rule.
- Input
Values List<IdpScorecard Check Rule Input Value> - Input values passed to the data point.
- Rule
Description string - Description of the rule.
- Value string
- Value to compare against.
- Data
Point stringIdentifier - Identifier of the data point evaluated by the rule.
- Data
Source stringIdentifier - Identifier of the data source used by the rule.
- Operator string
- Comparison operator.
- Identifier string
- Identifier of the rule.
- Input
Values []IdpScorecard Check Rule Input Value - Input values passed to the data point.
- Rule
Description string - Description of the rule.
- Value string
- Value to compare against.
- data_
point_ stringidentifier - Identifier of the data point evaluated by the rule.
- data_
source_ stringidentifier - 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.
- data
Point StringIdentifier - Identifier of the data point evaluated by the rule.
- data
Source StringIdentifier - Identifier of the data source used by the rule.
- operator String
- Comparison operator.
- identifier String
- Identifier of the rule.
- input
Values List<IdpScorecard Check Rule Input Value> - Input values passed to the data point.
- rule
Description String - Description of the rule.
- value String
- Value to compare against.
- data
Point stringIdentifier - Identifier of the data point evaluated by the rule.
- data
Source stringIdentifier - Identifier of the data source used by the rule.
- operator string
- Comparison operator.
- identifier string
- Identifier of the rule.
- input
Values IdpScorecard Check Rule Input Value[] - Input values passed to the data point.
- rule
Description string - Description of the rule.
- value string
- Value to compare against.
- data_
point_ stridentifier - Identifier of the data point evaluated by the rule.
- data_
source_ stridentifier - Identifier of the data source used by the rule.
- operator str
- Comparison operator.
- identifier str
- Identifier of the rule.
- input_
values Sequence[IdpScorecard Check Rule Input Value] - Input values passed to the data point.
- rule_
description str - Description of the rule.
- value str
- Value to compare against.
- data
Point StringIdentifier - Identifier of the data point evaluated by the rule.
- data
Source StringIdentifier - Identifier of the data source used by the rule.
- operator String
- Comparison operator.
- identifier String
- Identifier of the rule.
- input
Values List<Property Map> - Input values passed to the data point.
- rule
Description String - Description of the rule.
- value String
- Value to compare against.
IdpScorecardCheckRuleInputValue, IdpScorecardCheckRuleInputValueArgs
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
harnessTerraform Provider.
published on Saturday, Sep 12, 2026 by Pulumi