1. Packages
  2. Ibm Provider
  3. API Docs
  4. CdToolchainToolSecuritycompliance
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.CdToolchainToolSecuritycompliance

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Create, update, and delete cd_toolchain_tool_securitycompliances with this resource.

    See the tool integration page for more information.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const cdToolchainToolSecuritycomplianceInstance = new ibm.CdToolchainToolSecuritycompliance("cdToolchainToolSecuritycomplianceInstance", {
        parameters: {
            name: "compliance",
            evidenceNamespace: "cd",
            evidenceRepoUrl: "https://github.example.com/<username>/compliance-evidence-<datestamp>",
        },
        toolchainId: ibm_cd_toolchain.cd_toolchain.id,
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    cd_toolchain_tool_securitycompliance_instance = ibm.CdToolchainToolSecuritycompliance("cdToolchainToolSecuritycomplianceInstance",
        parameters={
            "name": "compliance",
            "evidence_namespace": "cd",
            "evidence_repo_url": "https://github.example.com/<username>/compliance-evidence-<datestamp>",
        },
        toolchain_id=ibm_cd_toolchain["cd_toolchain"]["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.NewCdToolchainToolSecuritycompliance(ctx, "cdToolchainToolSecuritycomplianceInstance", &ibm.CdToolchainToolSecuritycomplianceArgs{
    			Parameters: &ibm.CdToolchainToolSecuritycomplianceParametersArgs{
    				Name:              pulumi.String("compliance"),
    				EvidenceNamespace: pulumi.String("cd"),
    				EvidenceRepoUrl:   pulumi.String("https://github.example.com/<username>/compliance-evidence-<datestamp>"),
    			},
    			ToolchainId: pulumi.Any(ibm_cd_toolchain.Cd_toolchain.Id),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var cdToolchainToolSecuritycomplianceInstance = new Ibm.CdToolchainToolSecuritycompliance("cdToolchainToolSecuritycomplianceInstance", new()
        {
            Parameters = new Ibm.Inputs.CdToolchainToolSecuritycomplianceParametersArgs
            {
                Name = "compliance",
                EvidenceNamespace = "cd",
                EvidenceRepoUrl = "https://github.example.com/<username>/compliance-evidence-<datestamp>",
            },
            ToolchainId = ibm_cd_toolchain.Cd_toolchain.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.CdToolchainToolSecuritycompliance;
    import com.pulumi.ibm.CdToolchainToolSecuritycomplianceArgs;
    import com.pulumi.ibm.inputs.CdToolchainToolSecuritycomplianceParametersArgs;
    import java.util.List;
    import java.util.ArrayList;
    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 cdToolchainToolSecuritycomplianceInstance = new CdToolchainToolSecuritycompliance("cdToolchainToolSecuritycomplianceInstance", CdToolchainToolSecuritycomplianceArgs.builder()
                .parameters(CdToolchainToolSecuritycomplianceParametersArgs.builder()
                    .name("compliance")
                    .evidenceNamespace("cd")
                    .evidenceRepoUrl("https://github.example.com/<username>/compliance-evidence-<datestamp>")
                    .build())
                .toolchainId(ibm_cd_toolchain.cd_toolchain().id())
                .build());
    
        }
    }
    
    resources:
      cdToolchainToolSecuritycomplianceInstance:
        type: ibm:CdToolchainToolSecuritycompliance
        properties:
          parameters:
            name: compliance
            evidenceNamespace: cd
            evidenceRepoUrl: https://github.example.com/<username>/compliance-evidence-<datestamp>
          toolchainId: ${ibm_cd_toolchain.cd_toolchain.id}
    

    Create CdToolchainToolSecuritycompliance Resource

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

    Constructor syntax

    new CdToolchainToolSecuritycompliance(name: string, args: CdToolchainToolSecuritycomplianceArgs, opts?: CustomResourceOptions);
    @overload
    def CdToolchainToolSecuritycompliance(resource_name: str,
                                          args: CdToolchainToolSecuritycomplianceArgs,
                                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def CdToolchainToolSecuritycompliance(resource_name: str,
                                          opts: Optional[ResourceOptions] = None,
                                          parameters: Optional[CdToolchainToolSecuritycomplianceParametersArgs] = None,
                                          toolchain_id: Optional[str] = None,
                                          cd_toolchain_tool_securitycompliance_id: Optional[str] = None,
                                          name: Optional[str] = None)
    func NewCdToolchainToolSecuritycompliance(ctx *Context, name string, args CdToolchainToolSecuritycomplianceArgs, opts ...ResourceOption) (*CdToolchainToolSecuritycompliance, error)
    public CdToolchainToolSecuritycompliance(string name, CdToolchainToolSecuritycomplianceArgs args, CustomResourceOptions? opts = null)
    public CdToolchainToolSecuritycompliance(String name, CdToolchainToolSecuritycomplianceArgs args)
    public CdToolchainToolSecuritycompliance(String name, CdToolchainToolSecuritycomplianceArgs args, CustomResourceOptions options)
    
    type: ibm:CdToolchainToolSecuritycompliance
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args CdToolchainToolSecuritycomplianceArgs
    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 CdToolchainToolSecuritycomplianceArgs
    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 CdToolchainToolSecuritycomplianceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CdToolchainToolSecuritycomplianceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CdToolchainToolSecuritycomplianceArgs
    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 cdToolchainToolSecuritycomplianceResource = new Ibm.CdToolchainToolSecuritycompliance("cdToolchainToolSecuritycomplianceResource", new()
    {
        Parameters = new Ibm.Inputs.CdToolchainToolSecuritycomplianceParametersArgs
        {
            EvidenceRepoUrl = "string",
            Name = "string",
            AttachmentId = "string",
            EvidenceNamespace = "string",
            InstanceCrn = "string",
            ProfileName = "string",
            ProfileVersion = "string",
            SccApiKey = "string",
            UseProfileAttachment = "string",
        },
        ToolchainId = "string",
        CdToolchainToolSecuritycomplianceId = "string",
        Name = "string",
    });
    
    example, err := ibm.NewCdToolchainToolSecuritycompliance(ctx, "cdToolchainToolSecuritycomplianceResource", &ibm.CdToolchainToolSecuritycomplianceArgs{
    	Parameters: &ibm.CdToolchainToolSecuritycomplianceParametersArgs{
    		EvidenceRepoUrl:      pulumi.String("string"),
    		Name:                 pulumi.String("string"),
    		AttachmentId:         pulumi.String("string"),
    		EvidenceNamespace:    pulumi.String("string"),
    		InstanceCrn:          pulumi.String("string"),
    		ProfileName:          pulumi.String("string"),
    		ProfileVersion:       pulumi.String("string"),
    		SccApiKey:            pulumi.String("string"),
    		UseProfileAttachment: pulumi.String("string"),
    	},
    	ToolchainId:                         pulumi.String("string"),
    	CdToolchainToolSecuritycomplianceId: pulumi.String("string"),
    	Name:                                pulumi.String("string"),
    })
    
    var cdToolchainToolSecuritycomplianceResource = new CdToolchainToolSecuritycompliance("cdToolchainToolSecuritycomplianceResource", CdToolchainToolSecuritycomplianceArgs.builder()
        .parameters(CdToolchainToolSecuritycomplianceParametersArgs.builder()
            .evidenceRepoUrl("string")
            .name("string")
            .attachmentId("string")
            .evidenceNamespace("string")
            .instanceCrn("string")
            .profileName("string")
            .profileVersion("string")
            .sccApiKey("string")
            .useProfileAttachment("string")
            .build())
        .toolchainId("string")
        .cdToolchainToolSecuritycomplianceId("string")
        .name("string")
        .build());
    
    cd_toolchain_tool_securitycompliance_resource = ibm.CdToolchainToolSecuritycompliance("cdToolchainToolSecuritycomplianceResource",
        parameters={
            "evidence_repo_url": "string",
            "name": "string",
            "attachment_id": "string",
            "evidence_namespace": "string",
            "instance_crn": "string",
            "profile_name": "string",
            "profile_version": "string",
            "scc_api_key": "string",
            "use_profile_attachment": "string",
        },
        toolchain_id="string",
        cd_toolchain_tool_securitycompliance_id="string",
        name="string")
    
    const cdToolchainToolSecuritycomplianceResource = new ibm.CdToolchainToolSecuritycompliance("cdToolchainToolSecuritycomplianceResource", {
        parameters: {
            evidenceRepoUrl: "string",
            name: "string",
            attachmentId: "string",
            evidenceNamespace: "string",
            instanceCrn: "string",
            profileName: "string",
            profileVersion: "string",
            sccApiKey: "string",
            useProfileAttachment: "string",
        },
        toolchainId: "string",
        cdToolchainToolSecuritycomplianceId: "string",
        name: "string",
    });
    
    type: ibm:CdToolchainToolSecuritycompliance
    properties:
        cdToolchainToolSecuritycomplianceId: string
        name: string
        parameters:
            attachmentId: string
            evidenceNamespace: string
            evidenceRepoUrl: string
            instanceCrn: string
            name: string
            profileName: string
            profileVersion: string
            sccApiKey: string
            useProfileAttachment: string
        toolchainId: string
    

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

    Parameters CdToolchainToolSecuritycomplianceParameters
    Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. Nested schema for parameters:
    ToolchainId string
    ID of the toolchain to bind the tool to.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/.
    CdToolchainToolSecuritycomplianceId string
    The unique identifier of the cd_toolchain_tool_securitycompliance.
    Name string
    Name of the tool.

    • Constraints: The maximum length is 128 characters. The minimum length is 0 characters. The value must match regular expression /^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/.
    Parameters CdToolchainToolSecuritycomplianceParametersArgs
    Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. Nested schema for parameters:
    ToolchainId string
    ID of the toolchain to bind the tool to.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/.
    CdToolchainToolSecuritycomplianceId string
    The unique identifier of the cd_toolchain_tool_securitycompliance.
    Name string
    Name of the tool.

    • Constraints: The maximum length is 128 characters. The minimum length is 0 characters. The value must match regular expression /^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/.
    parameters CdToolchainToolSecuritycomplianceParameters
    Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. Nested schema for parameters:
    toolchainId String
    ID of the toolchain to bind the tool to.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/.
    cdToolchainToolSecuritycomplianceId String
    The unique identifier of the cd_toolchain_tool_securitycompliance.
    name String
    Name of the tool.

    • Constraints: The maximum length is 128 characters. The minimum length is 0 characters. The value must match regular expression /^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/.
    parameters CdToolchainToolSecuritycomplianceParameters
    Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. Nested schema for parameters:
    toolchainId string
    ID of the toolchain to bind the tool to.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/.
    cdToolchainToolSecuritycomplianceId string
    The unique identifier of the cd_toolchain_tool_securitycompliance.
    name string
    Name of the tool.

    • Constraints: The maximum length is 128 characters. The minimum length is 0 characters. The value must match regular expression /^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/.
    parameters CdToolchainToolSecuritycomplianceParametersArgs
    Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. Nested schema for parameters:
    toolchain_id str
    ID of the toolchain to bind the tool to.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/.
    cd_toolchain_tool_securitycompliance_id str
    The unique identifier of the cd_toolchain_tool_securitycompliance.
    name str
    Name of the tool.

    • Constraints: The maximum length is 128 characters. The minimum length is 0 characters. The value must match regular expression /^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/.
    parameters Property Map
    Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. Nested schema for parameters:
    toolchainId String
    ID of the toolchain to bind the tool to.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/.
    cdToolchainToolSecuritycomplianceId String
    The unique identifier of the cd_toolchain_tool_securitycompliance.
    name String
    Name of the tool.

    • Constraints: The maximum length is 128 characters. The minimum length is 0 characters. The value must match regular expression /^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/.

    Outputs

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

    Crn string
    (String) Tool CRN.
    Href string
    (String) URI representing the tool.
    Id string
    The provider-assigned unique ID for this managed resource.
    Referents List<CdToolchainToolSecuritycomplianceReferent>
    (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
    ResourceGroupId string
    (String) Resource group where the tool is located.
    State string
    (String) Current configuration state of the tool.

    • Constraints: Allowable values are: configured, configuring, misconfigured, unconfigured.
    ToolId string
    (String) Tool ID.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/.
    ToolchainCrn string
    (String) CRN of toolchain which the tool is bound to.
    UpdatedAt string
    (String) Latest tool update timestamp.
    Crn string
    (String) Tool CRN.
    Href string
    (String) URI representing the tool.
    Id string
    The provider-assigned unique ID for this managed resource.
    Referents []CdToolchainToolSecuritycomplianceReferent
    (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
    ResourceGroupId string
    (String) Resource group where the tool is located.
    State string
    (String) Current configuration state of the tool.

    • Constraints: Allowable values are: configured, configuring, misconfigured, unconfigured.
    ToolId string
    (String) Tool ID.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/.
    ToolchainCrn string
    (String) CRN of toolchain which the tool is bound to.
    UpdatedAt string
    (String) Latest tool update timestamp.
    crn String
    (String) Tool CRN.
    href String
    (String) URI representing the tool.
    id String
    The provider-assigned unique ID for this managed resource.
    referents List<CdToolchainToolSecuritycomplianceReferent>
    (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
    resourceGroupId String
    (String) Resource group where the tool is located.
    state String
    (String) Current configuration state of the tool.

    • Constraints: Allowable values are: configured, configuring, misconfigured, unconfigured.
    toolId String
    (String) Tool ID.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/.
    toolchainCrn String
    (String) CRN of toolchain which the tool is bound to.
    updatedAt String
    (String) Latest tool update timestamp.
    crn string
    (String) Tool CRN.
    href string
    (String) URI representing the tool.
    id string
    The provider-assigned unique ID for this managed resource.
    referents CdToolchainToolSecuritycomplianceReferent[]
    (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
    resourceGroupId string
    (String) Resource group where the tool is located.
    state string
    (String) Current configuration state of the tool.

    • Constraints: Allowable values are: configured, configuring, misconfigured, unconfigured.
    toolId string
    (String) Tool ID.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/.
    toolchainCrn string
    (String) CRN of toolchain which the tool is bound to.
    updatedAt string
    (String) Latest tool update timestamp.
    crn str
    (String) Tool CRN.
    href str
    (String) URI representing the tool.
    id str
    The provider-assigned unique ID for this managed resource.
    referents Sequence[CdToolchainToolSecuritycomplianceReferent]
    (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
    resource_group_id str
    (String) Resource group where the tool is located.
    state str
    (String) Current configuration state of the tool.

    • Constraints: Allowable values are: configured, configuring, misconfigured, unconfigured.
    tool_id str
    (String) Tool ID.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/.
    toolchain_crn str
    (String) CRN of toolchain which the tool is bound to.
    updated_at str
    (String) Latest tool update timestamp.
    crn String
    (String) Tool CRN.
    href String
    (String) URI representing the tool.
    id String
    The provider-assigned unique ID for this managed resource.
    referents List<Property Map>
    (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
    resourceGroupId String
    (String) Resource group where the tool is located.
    state String
    (String) Current configuration state of the tool.

    • Constraints: Allowable values are: configured, configuring, misconfigured, unconfigured.
    toolId String
    (String) Tool ID.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/.
    toolchainCrn String
    (String) CRN of toolchain which the tool is bound to.
    updatedAt String
    (String) Latest tool update timestamp.

    Look up Existing CdToolchainToolSecuritycompliance Resource

    Get an existing CdToolchainToolSecuritycompliance 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?: CdToolchainToolSecuritycomplianceState, opts?: CustomResourceOptions): CdToolchainToolSecuritycompliance
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cd_toolchain_tool_securitycompliance_id: Optional[str] = None,
            crn: Optional[str] = None,
            href: Optional[str] = None,
            name: Optional[str] = None,
            parameters: Optional[CdToolchainToolSecuritycomplianceParametersArgs] = None,
            referents: Optional[Sequence[CdToolchainToolSecuritycomplianceReferentArgs]] = None,
            resource_group_id: Optional[str] = None,
            state: Optional[str] = None,
            tool_id: Optional[str] = None,
            toolchain_crn: Optional[str] = None,
            toolchain_id: Optional[str] = None,
            updated_at: Optional[str] = None) -> CdToolchainToolSecuritycompliance
    func GetCdToolchainToolSecuritycompliance(ctx *Context, name string, id IDInput, state *CdToolchainToolSecuritycomplianceState, opts ...ResourceOption) (*CdToolchainToolSecuritycompliance, error)
    public static CdToolchainToolSecuritycompliance Get(string name, Input<string> id, CdToolchainToolSecuritycomplianceState? state, CustomResourceOptions? opts = null)
    public static CdToolchainToolSecuritycompliance get(String name, Output<String> id, CdToolchainToolSecuritycomplianceState state, CustomResourceOptions options)
    resources:  _:    type: ibm:CdToolchainToolSecuritycompliance    get:      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:
    CdToolchainToolSecuritycomplianceId string
    The unique identifier of the cd_toolchain_tool_securitycompliance.
    Crn string
    (String) Tool CRN.
    Href string
    (String) URI representing the tool.
    Name string
    Name of the tool.

    • Constraints: The maximum length is 128 characters. The minimum length is 0 characters. The value must match regular expression /^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/.
    Parameters CdToolchainToolSecuritycomplianceParameters
    Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. Nested schema for parameters:
    Referents List<CdToolchainToolSecuritycomplianceReferent>
    (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
    ResourceGroupId string
    (String) Resource group where the tool is located.
    State string
    (String) Current configuration state of the tool.

    • Constraints: Allowable values are: configured, configuring, misconfigured, unconfigured.
    ToolId string
    (String) Tool ID.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/.
    ToolchainCrn string
    (String) CRN of toolchain which the tool is bound to.
    ToolchainId string
    ID of the toolchain to bind the tool to.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/.
    UpdatedAt string
    (String) Latest tool update timestamp.
    CdToolchainToolSecuritycomplianceId string
    The unique identifier of the cd_toolchain_tool_securitycompliance.
    Crn string
    (String) Tool CRN.
    Href string
    (String) URI representing the tool.
    Name string
    Name of the tool.

    • Constraints: The maximum length is 128 characters. The minimum length is 0 characters. The value must match regular expression /^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/.
    Parameters CdToolchainToolSecuritycomplianceParametersArgs
    Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. Nested schema for parameters:
    Referents []CdToolchainToolSecuritycomplianceReferentArgs
    (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
    ResourceGroupId string
    (String) Resource group where the tool is located.
    State string
    (String) Current configuration state of the tool.

    • Constraints: Allowable values are: configured, configuring, misconfigured, unconfigured.
    ToolId string
    (String) Tool ID.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/.
    ToolchainCrn string
    (String) CRN of toolchain which the tool is bound to.
    ToolchainId string
    ID of the toolchain to bind the tool to.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/.
    UpdatedAt string
    (String) Latest tool update timestamp.
    cdToolchainToolSecuritycomplianceId String
    The unique identifier of the cd_toolchain_tool_securitycompliance.
    crn String
    (String) Tool CRN.
    href String
    (String) URI representing the tool.
    name String
    Name of the tool.

    • Constraints: The maximum length is 128 characters. The minimum length is 0 characters. The value must match regular expression /^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/.
    parameters CdToolchainToolSecuritycomplianceParameters
    Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. Nested schema for parameters:
    referents List<CdToolchainToolSecuritycomplianceReferent>
    (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
    resourceGroupId String
    (String) Resource group where the tool is located.
    state String
    (String) Current configuration state of the tool.

    • Constraints: Allowable values are: configured, configuring, misconfigured, unconfigured.
    toolId String
    (String) Tool ID.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/.
    toolchainCrn String
    (String) CRN of toolchain which the tool is bound to.
    toolchainId String
    ID of the toolchain to bind the tool to.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/.
    updatedAt String
    (String) Latest tool update timestamp.
    cdToolchainToolSecuritycomplianceId string
    The unique identifier of the cd_toolchain_tool_securitycompliance.
    crn string
    (String) Tool CRN.
    href string
    (String) URI representing the tool.
    name string
    Name of the tool.

    • Constraints: The maximum length is 128 characters. The minimum length is 0 characters. The value must match regular expression /^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/.
    parameters CdToolchainToolSecuritycomplianceParameters
    Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. Nested schema for parameters:
    referents CdToolchainToolSecuritycomplianceReferent[]
    (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
    resourceGroupId string
    (String) Resource group where the tool is located.
    state string
    (String) Current configuration state of the tool.

    • Constraints: Allowable values are: configured, configuring, misconfigured, unconfigured.
    toolId string
    (String) Tool ID.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/.
    toolchainCrn string
    (String) CRN of toolchain which the tool is bound to.
    toolchainId string
    ID of the toolchain to bind the tool to.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/.
    updatedAt string
    (String) Latest tool update timestamp.
    cd_toolchain_tool_securitycompliance_id str
    The unique identifier of the cd_toolchain_tool_securitycompliance.
    crn str
    (String) Tool CRN.
    href str
    (String) URI representing the tool.
    name str
    Name of the tool.

    • Constraints: The maximum length is 128 characters. The minimum length is 0 characters. The value must match regular expression /^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/.
    parameters CdToolchainToolSecuritycomplianceParametersArgs
    Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. Nested schema for parameters:
    referents Sequence[CdToolchainToolSecuritycomplianceReferentArgs]
    (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
    resource_group_id str
    (String) Resource group where the tool is located.
    state str
    (String) Current configuration state of the tool.

    • Constraints: Allowable values are: configured, configuring, misconfigured, unconfigured.
    tool_id str
    (String) Tool ID.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/.
    toolchain_crn str
    (String) CRN of toolchain which the tool is bound to.
    toolchain_id str
    ID of the toolchain to bind the tool to.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/.
    updated_at str
    (String) Latest tool update timestamp.
    cdToolchainToolSecuritycomplianceId String
    The unique identifier of the cd_toolchain_tool_securitycompliance.
    crn String
    (String) Tool CRN.
    href String
    (String) URI representing the tool.
    name String
    Name of the tool.

    • Constraints: The maximum length is 128 characters. The minimum length is 0 characters. The value must match regular expression /^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/.
    parameters Property Map
    Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. Nested schema for parameters:
    referents List<Property Map>
    (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
    resourceGroupId String
    (String) Resource group where the tool is located.
    state String
    (String) Current configuration state of the tool.

    • Constraints: Allowable values are: configured, configuring, misconfigured, unconfigured.
    toolId String
    (String) Tool ID.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/.
    toolchainCrn String
    (String) CRN of toolchain which the tool is bound to.
    toolchainId String
    ID of the toolchain to bind the tool to.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$/.
    updatedAt String
    (String) Latest tool update timestamp.

    Supporting Types

    CdToolchainToolSecuritycomplianceParameters, CdToolchainToolSecuritycomplianceParametersArgs

    EvidenceRepoUrl string
    The URL to a Git repository evidence locker. The DevSecOps toolchain templates will collect and store evidence for scans and tasks in an evidence repository. This evidence URL should match the repo_url for a Git tool integration in this toolchain. The DevSecOps toolchain goals in the Security and Compliance Center will check the evidence repository for the pass or fail results for those goals.
    Name string
    The name for this tool integration, shown on the toolchain page.
    AttachmentId string
    An attachment ID. An attachment is configured under a profile to define how a scan will be run. To find the attachment ID, in the browser, in the attachments list, click on the attachment link, and a panel appears with a button to copy the attachment ID. This parameter is only relevant when the use_profile_attachment parameter is enabled.

    • Constraints: The value must match regular expression /^[-0-9a-f]{32,36}$/.
    EvidenceNamespace string
    The kind of pipeline evidence to be displayed in Security and Compliance Center for this toolchain. The values are; cd which will use evidence generated by a Continuous Deployment (CD) pipeline, or cc which will use evidence generated by a Continuous Compliance (CC) pipeline. The default behavior is to use the CD evidence.

    • Constraints: Allowable values are: cd, cc.
    InstanceCrn string
    The Security and Compliance Center service instance CRN (Cloud Resource Name). It is recommended to provide an instance CRN, but when absent, the oldest service instance will be used. This parameter is only relevant when the use_profile_attachment parameter is enabled.

    • Constraints: The value must match regular expression /^crn:v1:(?:bluemix|staging):public:compliance:[a-zA-Z0-9-]*\\b:a\/[0-9a-fA-F]*\\b:[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}\\b::$/.
    ProfileName string
    The name of a Security and Compliance Center profile. Usually, use the "IBM Cloud Framework for Financial Services" predefined profile, which contains the DevSecOps Toolchain rules. Or use a user-authored customized profile that has been configured to contain those rules. This parameter is only relevant when the use_profile_attachment parameter is enabled.
    ProfileVersion string
    The version of a Security and Compliance Center profile, in SemVer format, like '0.0.0'. This parameter is only relevant when the use_profile_attachment parameter is enabled.
    SccApiKey string
    The IBM Cloud API key used to access the Security and Compliance Center service, for the use profile with attachment setting. This parameter is only relevant when the use_profile_attachment parameter is enabled. You can use a toolchain secret reference for this parameter. For more information, see Protecting your sensitive data in Continuous Delivery.
    UseProfileAttachment string
    Set to enabled to enable use profile with attachment, so that the scripts in the pipeline can interact with the Security and Compliance Center service to perform pre-deploy validation against compliance rules for Continuous Deployment (CD) and compliance monitoring for Continuous Compliance (CC). When enabled, other parameters become relevant; scc_api_key, instance_crn, profile_name, profile_version, attachment_id.

    • Constraints: Allowable values are: disabled, enabled.
    EvidenceRepoUrl string
    The URL to a Git repository evidence locker. The DevSecOps toolchain templates will collect and store evidence for scans and tasks in an evidence repository. This evidence URL should match the repo_url for a Git tool integration in this toolchain. The DevSecOps toolchain goals in the Security and Compliance Center will check the evidence repository for the pass or fail results for those goals.
    Name string
    The name for this tool integration, shown on the toolchain page.
    AttachmentId string
    An attachment ID. An attachment is configured under a profile to define how a scan will be run. To find the attachment ID, in the browser, in the attachments list, click on the attachment link, and a panel appears with a button to copy the attachment ID. This parameter is only relevant when the use_profile_attachment parameter is enabled.

    • Constraints: The value must match regular expression /^[-0-9a-f]{32,36}$/.
    EvidenceNamespace string
    The kind of pipeline evidence to be displayed in Security and Compliance Center for this toolchain. The values are; cd which will use evidence generated by a Continuous Deployment (CD) pipeline, or cc which will use evidence generated by a Continuous Compliance (CC) pipeline. The default behavior is to use the CD evidence.

    • Constraints: Allowable values are: cd, cc.
    InstanceCrn string
    The Security and Compliance Center service instance CRN (Cloud Resource Name). It is recommended to provide an instance CRN, but when absent, the oldest service instance will be used. This parameter is only relevant when the use_profile_attachment parameter is enabled.

    • Constraints: The value must match regular expression /^crn:v1:(?:bluemix|staging):public:compliance:[a-zA-Z0-9-]*\\b:a\/[0-9a-fA-F]*\\b:[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}\\b::$/.
    ProfileName string
    The name of a Security and Compliance Center profile. Usually, use the "IBM Cloud Framework for Financial Services" predefined profile, which contains the DevSecOps Toolchain rules. Or use a user-authored customized profile that has been configured to contain those rules. This parameter is only relevant when the use_profile_attachment parameter is enabled.
    ProfileVersion string
    The version of a Security and Compliance Center profile, in SemVer format, like '0.0.0'. This parameter is only relevant when the use_profile_attachment parameter is enabled.
    SccApiKey string
    The IBM Cloud API key used to access the Security and Compliance Center service, for the use profile with attachment setting. This parameter is only relevant when the use_profile_attachment parameter is enabled. You can use a toolchain secret reference for this parameter. For more information, see Protecting your sensitive data in Continuous Delivery.
    UseProfileAttachment string
    Set to enabled to enable use profile with attachment, so that the scripts in the pipeline can interact with the Security and Compliance Center service to perform pre-deploy validation against compliance rules for Continuous Deployment (CD) and compliance monitoring for Continuous Compliance (CC). When enabled, other parameters become relevant; scc_api_key, instance_crn, profile_name, profile_version, attachment_id.

    • Constraints: Allowable values are: disabled, enabled.
    evidenceRepoUrl String
    The URL to a Git repository evidence locker. The DevSecOps toolchain templates will collect and store evidence for scans and tasks in an evidence repository. This evidence URL should match the repo_url for a Git tool integration in this toolchain. The DevSecOps toolchain goals in the Security and Compliance Center will check the evidence repository for the pass or fail results for those goals.
    name String
    The name for this tool integration, shown on the toolchain page.
    attachmentId String
    An attachment ID. An attachment is configured under a profile to define how a scan will be run. To find the attachment ID, in the browser, in the attachments list, click on the attachment link, and a panel appears with a button to copy the attachment ID. This parameter is only relevant when the use_profile_attachment parameter is enabled.

    • Constraints: The value must match regular expression /^[-0-9a-f]{32,36}$/.
    evidenceNamespace String
    The kind of pipeline evidence to be displayed in Security and Compliance Center for this toolchain. The values are; cd which will use evidence generated by a Continuous Deployment (CD) pipeline, or cc which will use evidence generated by a Continuous Compliance (CC) pipeline. The default behavior is to use the CD evidence.

    • Constraints: Allowable values are: cd, cc.
    instanceCrn String
    The Security and Compliance Center service instance CRN (Cloud Resource Name). It is recommended to provide an instance CRN, but when absent, the oldest service instance will be used. This parameter is only relevant when the use_profile_attachment parameter is enabled.

    • Constraints: The value must match regular expression /^crn:v1:(?:bluemix|staging):public:compliance:[a-zA-Z0-9-]*\\b:a\/[0-9a-fA-F]*\\b:[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}\\b::$/.
    profileName String
    The name of a Security and Compliance Center profile. Usually, use the "IBM Cloud Framework for Financial Services" predefined profile, which contains the DevSecOps Toolchain rules. Or use a user-authored customized profile that has been configured to contain those rules. This parameter is only relevant when the use_profile_attachment parameter is enabled.
    profileVersion String
    The version of a Security and Compliance Center profile, in SemVer format, like '0.0.0'. This parameter is only relevant when the use_profile_attachment parameter is enabled.
    sccApiKey String
    The IBM Cloud API key used to access the Security and Compliance Center service, for the use profile with attachment setting. This parameter is only relevant when the use_profile_attachment parameter is enabled. You can use a toolchain secret reference for this parameter. For more information, see Protecting your sensitive data in Continuous Delivery.
    useProfileAttachment String
    Set to enabled to enable use profile with attachment, so that the scripts in the pipeline can interact with the Security and Compliance Center service to perform pre-deploy validation against compliance rules for Continuous Deployment (CD) and compliance monitoring for Continuous Compliance (CC). When enabled, other parameters become relevant; scc_api_key, instance_crn, profile_name, profile_version, attachment_id.

    • Constraints: Allowable values are: disabled, enabled.
    evidenceRepoUrl string
    The URL to a Git repository evidence locker. The DevSecOps toolchain templates will collect and store evidence for scans and tasks in an evidence repository. This evidence URL should match the repo_url for a Git tool integration in this toolchain. The DevSecOps toolchain goals in the Security and Compliance Center will check the evidence repository for the pass or fail results for those goals.
    name string
    The name for this tool integration, shown on the toolchain page.
    attachmentId string
    An attachment ID. An attachment is configured under a profile to define how a scan will be run. To find the attachment ID, in the browser, in the attachments list, click on the attachment link, and a panel appears with a button to copy the attachment ID. This parameter is only relevant when the use_profile_attachment parameter is enabled.

    • Constraints: The value must match regular expression /^[-0-9a-f]{32,36}$/.
    evidenceNamespace string
    The kind of pipeline evidence to be displayed in Security and Compliance Center for this toolchain. The values are; cd which will use evidence generated by a Continuous Deployment (CD) pipeline, or cc which will use evidence generated by a Continuous Compliance (CC) pipeline. The default behavior is to use the CD evidence.

    • Constraints: Allowable values are: cd, cc.
    instanceCrn string
    The Security and Compliance Center service instance CRN (Cloud Resource Name). It is recommended to provide an instance CRN, but when absent, the oldest service instance will be used. This parameter is only relevant when the use_profile_attachment parameter is enabled.

    • Constraints: The value must match regular expression /^crn:v1:(?:bluemix|staging):public:compliance:[a-zA-Z0-9-]*\\b:a\/[0-9a-fA-F]*\\b:[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}\\b::$/.
    profileName string
    The name of a Security and Compliance Center profile. Usually, use the "IBM Cloud Framework for Financial Services" predefined profile, which contains the DevSecOps Toolchain rules. Or use a user-authored customized profile that has been configured to contain those rules. This parameter is only relevant when the use_profile_attachment parameter is enabled.
    profileVersion string
    The version of a Security and Compliance Center profile, in SemVer format, like '0.0.0'. This parameter is only relevant when the use_profile_attachment parameter is enabled.
    sccApiKey string
    The IBM Cloud API key used to access the Security and Compliance Center service, for the use profile with attachment setting. This parameter is only relevant when the use_profile_attachment parameter is enabled. You can use a toolchain secret reference for this parameter. For more information, see Protecting your sensitive data in Continuous Delivery.
    useProfileAttachment string
    Set to enabled to enable use profile with attachment, so that the scripts in the pipeline can interact with the Security and Compliance Center service to perform pre-deploy validation against compliance rules for Continuous Deployment (CD) and compliance monitoring for Continuous Compliance (CC). When enabled, other parameters become relevant; scc_api_key, instance_crn, profile_name, profile_version, attachment_id.

    • Constraints: Allowable values are: disabled, enabled.
    evidence_repo_url str
    The URL to a Git repository evidence locker. The DevSecOps toolchain templates will collect and store evidence for scans and tasks in an evidence repository. This evidence URL should match the repo_url for a Git tool integration in this toolchain. The DevSecOps toolchain goals in the Security and Compliance Center will check the evidence repository for the pass or fail results for those goals.
    name str
    The name for this tool integration, shown on the toolchain page.
    attachment_id str
    An attachment ID. An attachment is configured under a profile to define how a scan will be run. To find the attachment ID, in the browser, in the attachments list, click on the attachment link, and a panel appears with a button to copy the attachment ID. This parameter is only relevant when the use_profile_attachment parameter is enabled.

    • Constraints: The value must match regular expression /^[-0-9a-f]{32,36}$/.
    evidence_namespace str
    The kind of pipeline evidence to be displayed in Security and Compliance Center for this toolchain. The values are; cd which will use evidence generated by a Continuous Deployment (CD) pipeline, or cc which will use evidence generated by a Continuous Compliance (CC) pipeline. The default behavior is to use the CD evidence.

    • Constraints: Allowable values are: cd, cc.
    instance_crn str
    The Security and Compliance Center service instance CRN (Cloud Resource Name). It is recommended to provide an instance CRN, but when absent, the oldest service instance will be used. This parameter is only relevant when the use_profile_attachment parameter is enabled.

    • Constraints: The value must match regular expression /^crn:v1:(?:bluemix|staging):public:compliance:[a-zA-Z0-9-]*\\b:a\/[0-9a-fA-F]*\\b:[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}\\b::$/.
    profile_name str
    The name of a Security and Compliance Center profile. Usually, use the "IBM Cloud Framework for Financial Services" predefined profile, which contains the DevSecOps Toolchain rules. Or use a user-authored customized profile that has been configured to contain those rules. This parameter is only relevant when the use_profile_attachment parameter is enabled.
    profile_version str
    The version of a Security and Compliance Center profile, in SemVer format, like '0.0.0'. This parameter is only relevant when the use_profile_attachment parameter is enabled.
    scc_api_key str
    The IBM Cloud API key used to access the Security and Compliance Center service, for the use profile with attachment setting. This parameter is only relevant when the use_profile_attachment parameter is enabled. You can use a toolchain secret reference for this parameter. For more information, see Protecting your sensitive data in Continuous Delivery.
    use_profile_attachment str
    Set to enabled to enable use profile with attachment, so that the scripts in the pipeline can interact with the Security and Compliance Center service to perform pre-deploy validation against compliance rules for Continuous Deployment (CD) and compliance monitoring for Continuous Compliance (CC). When enabled, other parameters become relevant; scc_api_key, instance_crn, profile_name, profile_version, attachment_id.

    • Constraints: Allowable values are: disabled, enabled.
    evidenceRepoUrl String
    The URL to a Git repository evidence locker. The DevSecOps toolchain templates will collect and store evidence for scans and tasks in an evidence repository. This evidence URL should match the repo_url for a Git tool integration in this toolchain. The DevSecOps toolchain goals in the Security and Compliance Center will check the evidence repository for the pass or fail results for those goals.
    name String
    The name for this tool integration, shown on the toolchain page.
    attachmentId String
    An attachment ID. An attachment is configured under a profile to define how a scan will be run. To find the attachment ID, in the browser, in the attachments list, click on the attachment link, and a panel appears with a button to copy the attachment ID. This parameter is only relevant when the use_profile_attachment parameter is enabled.

    • Constraints: The value must match regular expression /^[-0-9a-f]{32,36}$/.
    evidenceNamespace String
    The kind of pipeline evidence to be displayed in Security and Compliance Center for this toolchain. The values are; cd which will use evidence generated by a Continuous Deployment (CD) pipeline, or cc which will use evidence generated by a Continuous Compliance (CC) pipeline. The default behavior is to use the CD evidence.

    • Constraints: Allowable values are: cd, cc.
    instanceCrn String
    The Security and Compliance Center service instance CRN (Cloud Resource Name). It is recommended to provide an instance CRN, but when absent, the oldest service instance will be used. This parameter is only relevant when the use_profile_attachment parameter is enabled.

    • Constraints: The value must match regular expression /^crn:v1:(?:bluemix|staging):public:compliance:[a-zA-Z0-9-]*\\b:a\/[0-9a-fA-F]*\\b:[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}\\b::$/.
    profileName String
    The name of a Security and Compliance Center profile. Usually, use the "IBM Cloud Framework for Financial Services" predefined profile, which contains the DevSecOps Toolchain rules. Or use a user-authored customized profile that has been configured to contain those rules. This parameter is only relevant when the use_profile_attachment parameter is enabled.
    profileVersion String
    The version of a Security and Compliance Center profile, in SemVer format, like '0.0.0'. This parameter is only relevant when the use_profile_attachment parameter is enabled.
    sccApiKey String
    The IBM Cloud API key used to access the Security and Compliance Center service, for the use profile with attachment setting. This parameter is only relevant when the use_profile_attachment parameter is enabled. You can use a toolchain secret reference for this parameter. For more information, see Protecting your sensitive data in Continuous Delivery.
    useProfileAttachment String
    Set to enabled to enable use profile with attachment, so that the scripts in the pipeline can interact with the Security and Compliance Center service to perform pre-deploy validation against compliance rules for Continuous Deployment (CD) and compliance monitoring for Continuous Compliance (CC). When enabled, other parameters become relevant; scc_api_key, instance_crn, profile_name, profile_version, attachment_id.

    • Constraints: Allowable values are: disabled, enabled.

    CdToolchainToolSecuritycomplianceReferent, CdToolchainToolSecuritycomplianceReferentArgs

    ApiHref string
    (String) URI representing this resource through an API.
    UiHref string
    (String) URI representing this resource through the UI.
    ApiHref string
    (String) URI representing this resource through an API.
    UiHref string
    (String) URI representing this resource through the UI.
    apiHref String
    (String) URI representing this resource through an API.
    uiHref String
    (String) URI representing this resource through the UI.
    apiHref string
    (String) URI representing this resource through an API.
    uiHref string
    (String) URI representing this resource through the UI.
    api_href str
    (String) URI representing this resource through an API.
    ui_href str
    (String) URI representing this resource through the UI.
    apiHref String
    (String) URI representing this resource through an API.
    uiHref String
    (String) URI representing this resource through the UI.

    Import

    You can import the ibm_cd_toolchain_tool_securitycompliance resource by using id.

    The id property can be formed from toolchain_id, and tool_id in the following format:

    <toolchain_id>/<tool_id>

    • toolchain_id: A string. ID of the toolchain to bind the tool to.

    • tool_id: A string. ID of the tool bound to the toolchain.

    Syntax

    $ pulumi import ibm:index/cdToolchainToolSecuritycompliance:CdToolchainToolSecuritycompliance cd_toolchain_tool_securitycompliance <toolchain_id>/<tool_id>
    

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

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud