Viewing docs for Harness v0.16.5
published on Saturday, Sep 12, 2026 by Pulumi
published on Saturday, Sep 12, 2026 by Pulumi
Viewing docs for Harness v0.16.5
published on Saturday, Sep 12, 2026 by Pulumi
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 dictionarydata "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.
- 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 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<Get
Idp Scorecard Check Rule> - Basic rules evaluated by the check.
- 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.
- 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 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
[]Get
Idp Scorecard Check Rule - Basic rules evaluated by the check.
- []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.
- 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.
- fail
Message String - Message shown when the check fails.
- harness
Managed 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.
- 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<Get
Idp Scorecard Check Rule> - Basic rules evaluated by the check.
- 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.
- fail
Message string - Message shown when the check fails.
- harness
Managed 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.
- 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
Get
Idp Scorecard Check Rule[] - Basic rules evaluated by the check.
- 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[Get
Idp Scorecard Check Rule] - Basic rules evaluated by the check.
- 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.
- fail
Message String - Message shown when the check fails.
- harness
Managed 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.
- 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.
- List<String>
- Tags to associate with the resource.
Supporting Types
GetIdpScorecardCheckRule
- Data
Point stringIdentifier - Identifier of the data point evaluated by the rule.
- Data
Source stringIdentifier - Identifier of the data source used by the rule.
- Identifier string
- Identifier of the rule.
- Input
Values List<GetIdp Scorecard Check Rule Input Value> - Input values passed to the data point.
- Operator string
- Comparison operator.
- 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.
- Identifier string
- Identifier of the rule.
- Input
Values []GetIdp Scorecard Check Rule Input Value - Input values passed to the data point.
- Operator string
- Comparison operator.
- 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.
- 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.
- data
Point StringIdentifier - Identifier of the data point evaluated by the rule.
- data
Source StringIdentifier - Identifier of the data source used by the rule.
- identifier String
- Identifier of the rule.
- input
Values List<GetIdp Scorecard Check Rule Input Value> - Input values passed to the data point.
- operator String
- Comparison operator.
- 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.
- identifier string
- Identifier of the rule.
- input
Values GetIdp Scorecard Check Rule Input Value[] - Input values passed to the data point.
- operator string
- Comparison operator.
- 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.
- identifier str
- Identifier of the rule.
- input_
values Sequence[GetIdp Scorecard Check Rule Input Value] - Input values passed to the data point.
- operator str
- Comparison operator.
- 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.
- identifier String
- Identifier of the rule.
- input
Values List<Property Map> - Input values passed to the data point.
- operator String
- Comparison operator.
- rule
Description String - Description of the rule.
- value String
- Value to compare against.
GetIdpScorecardCheckRuleInputValue
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harnessTerraform Provider.
Viewing docs for Harness v0.16.5
published on Saturday, Sep 12, 2026 by Pulumi
published on Saturday, Sep 12, 2026 by Pulumi