1. Packages
  2. Ibm Provider
  3. API Docs
  4. getCdToolchainToolSecuritycompliance
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

ibm.getCdToolchainToolSecuritycompliance

Explore with Pulumi AI

Provides a read-only data source to retrieve information about a cd_toolchain_tool_securitycompliance. You can then reference the fields of the data source in other resources within the same configuration by using interpolation syntax.

See the tool integration page for more information.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";

const cdToolchainToolSecuritycompliance = ibm.getCdToolchainToolSecuritycompliance({
    toolId: "9603dcd4-3c86-44f8-8d0a-9427369878cf",
    toolchainId: data.ibm_cd_toolchain.cd_toolchain.id,
});
Copy
import pulumi
import pulumi_ibm as ibm

cd_toolchain_tool_securitycompliance = ibm.get_cd_toolchain_tool_securitycompliance(tool_id="9603dcd4-3c86-44f8-8d0a-9427369878cf",
    toolchain_id=data["ibm_cd_toolchain"]["cd_toolchain"]["id"])
Copy
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.LookupCdToolchainToolSecuritycompliance(ctx, &ibm.LookupCdToolchainToolSecuritycomplianceArgs{
			ToolId:      "9603dcd4-3c86-44f8-8d0a-9427369878cf",
			ToolchainId: data.Ibm_cd_toolchain.Cd_toolchain.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;

return await Deployment.RunAsync(() => 
{
    var cdToolchainToolSecuritycompliance = Ibm.GetCdToolchainToolSecuritycompliance.Invoke(new()
    {
        ToolId = "9603dcd4-3c86-44f8-8d0a-9427369878cf",
        ToolchainId = data.Ibm_cd_toolchain.Cd_toolchain.Id,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IbmFunctions;
import com.pulumi.ibm.inputs.GetCdToolchainToolSecuritycomplianceArgs;
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) {
        final var cdToolchainToolSecuritycompliance = IbmFunctions.getCdToolchainToolSecuritycompliance(GetCdToolchainToolSecuritycomplianceArgs.builder()
            .toolId("9603dcd4-3c86-44f8-8d0a-9427369878cf")
            .toolchainId(data.ibm_cd_toolchain().cd_toolchain().id())
            .build());

    }
}
Copy
variables:
  cdToolchainToolSecuritycompliance:
    fn::invoke:
      function: ibm:getCdToolchainToolSecuritycompliance
      arguments:
        toolId: 9603dcd4-3c86-44f8-8d0a-9427369878cf
        toolchainId: ${data.ibm_cd_toolchain.cd_toolchain.id}
Copy

Using getCdToolchainToolSecuritycompliance

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 getCdToolchainToolSecuritycompliance(args: GetCdToolchainToolSecuritycomplianceArgs, opts?: InvokeOptions): Promise<GetCdToolchainToolSecuritycomplianceResult>
function getCdToolchainToolSecuritycomplianceOutput(args: GetCdToolchainToolSecuritycomplianceOutputArgs, opts?: InvokeOptions): Output<GetCdToolchainToolSecuritycomplianceResult>
Copy
def get_cd_toolchain_tool_securitycompliance(id: Optional[str] = None,
                                             tool_id: Optional[str] = None,
                                             toolchain_id: Optional[str] = None,
                                             opts: Optional[InvokeOptions] = None) -> GetCdToolchainToolSecuritycomplianceResult
def get_cd_toolchain_tool_securitycompliance_output(id: Optional[pulumi.Input[str]] = None,
                                             tool_id: Optional[pulumi.Input[str]] = None,
                                             toolchain_id: Optional[pulumi.Input[str]] = None,
                                             opts: Optional[InvokeOptions] = None) -> Output[GetCdToolchainToolSecuritycomplianceResult]
Copy
func LookupCdToolchainToolSecuritycompliance(ctx *Context, args *LookupCdToolchainToolSecuritycomplianceArgs, opts ...InvokeOption) (*LookupCdToolchainToolSecuritycomplianceResult, error)
func LookupCdToolchainToolSecuritycomplianceOutput(ctx *Context, args *LookupCdToolchainToolSecuritycomplianceOutputArgs, opts ...InvokeOption) LookupCdToolchainToolSecuritycomplianceResultOutput
Copy

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

public static class GetCdToolchainToolSecuritycompliance 
{
    public static Task<GetCdToolchainToolSecuritycomplianceResult> InvokeAsync(GetCdToolchainToolSecuritycomplianceArgs args, InvokeOptions? opts = null)
    public static Output<GetCdToolchainToolSecuritycomplianceResult> Invoke(GetCdToolchainToolSecuritycomplianceInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetCdToolchainToolSecuritycomplianceResult> getCdToolchainToolSecuritycompliance(GetCdToolchainToolSecuritycomplianceArgs args, InvokeOptions options)
public static Output<GetCdToolchainToolSecuritycomplianceResult> getCdToolchainToolSecuritycompliance(GetCdToolchainToolSecuritycomplianceArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: ibm:index/getCdToolchainToolSecuritycompliance:getCdToolchainToolSecuritycompliance
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ToolId This property is required. string
ID of the tool bound to the toolchain.

  • 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}$/.
ToolchainId This property is required. string
ID of the toolchain.

  • 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}$/.
Id string
The unique identifier of the cd_toolchain_tool_securitycompliance.
ToolId This property is required. string
ID of the tool bound to the toolchain.

  • 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}$/.
ToolchainId This property is required. string
ID of the toolchain.

  • 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}$/.
Id string
The unique identifier of the cd_toolchain_tool_securitycompliance.
toolId This property is required. String
ID of the tool bound to the toolchain.

  • 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}$/.
toolchainId This property is required. String
ID of the toolchain.

  • 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}$/.
id String
The unique identifier of the cd_toolchain_tool_securitycompliance.
toolId This property is required. string
ID of the tool bound to the toolchain.

  • 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}$/.
toolchainId This property is required. string
ID of the toolchain.

  • 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}$/.
id string
The unique identifier of the cd_toolchain_tool_securitycompliance.
tool_id This property is required. str
ID of the tool bound to the toolchain.

  • 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_id This property is required. str
ID of the toolchain.

  • 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}$/.
id str
The unique identifier of the cd_toolchain_tool_securitycompliance.
toolId This property is required. String
ID of the tool bound to the toolchain.

  • 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}$/.
toolchainId This property is required. String
ID of the toolchain.

  • 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}$/.
id String
The unique identifier of the cd_toolchain_tool_securitycompliance.

getCdToolchainToolSecuritycompliance Result

The following output properties are available:

Crn string
(String) Tool CRN.
Href string
(String) URI representing the tool.
Id string
The unique identifier of the cd_toolchain_tool_securitycompliance.
Name string
(String) The name for this tool integration, shown on the toolchain page.
Parameters List<GetCdToolchainToolSecuritycomplianceParameter>
(List) 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<GetCdToolchainToolSecuritycomplianceReferent>
(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
ToolchainCrn string
(String) CRN of toolchain which the tool is bound to.
ToolchainId string
UpdatedAt string
(String) Latest tool update timestamp.
Crn string
(String) Tool CRN.
Href string
(String) URI representing the tool.
Id string
The unique identifier of the cd_toolchain_tool_securitycompliance.
Name string
(String) The name for this tool integration, shown on the toolchain page.
Parameters []GetCdToolchainToolSecuritycomplianceParameter
(List) 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 []GetCdToolchainToolSecuritycomplianceReferent
(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
ToolchainCrn string
(String) CRN of toolchain which the tool is bound to.
ToolchainId string
UpdatedAt string
(String) Latest tool update timestamp.
crn String
(String) Tool CRN.
href String
(String) URI representing the tool.
id String
The unique identifier of the cd_toolchain_tool_securitycompliance.
name String
(String) The name for this tool integration, shown on the toolchain page.
parameters List<GetCdToolchainToolSecuritycomplianceParameter>
(List) 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<GetCdToolchainToolSecuritycomplianceReferent>
(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
toolchainCrn String
(String) CRN of toolchain which the tool is bound to.
toolchainId String
updatedAt String
(String) Latest tool update timestamp.
crn string
(String) Tool CRN.
href string
(String) URI representing the tool.
id string
The unique identifier of the cd_toolchain_tool_securitycompliance.
name string
(String) The name for this tool integration, shown on the toolchain page.
parameters GetCdToolchainToolSecuritycomplianceParameter[]
(List) 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 GetCdToolchainToolSecuritycomplianceReferent[]
(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
toolchainCrn string
(String) CRN of toolchain which the tool is bound to.
toolchainId string
updatedAt string
(String) Latest tool update timestamp.
crn str
(String) Tool CRN.
href str
(String) URI representing the tool.
id str
The unique identifier of the cd_toolchain_tool_securitycompliance.
name str
(String) The name for this tool integration, shown on the toolchain page.
parameters Sequence[GetCdToolchainToolSecuritycomplianceParameter]
(List) 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[GetCdToolchainToolSecuritycomplianceReferent]
(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
toolchain_crn str
(String) CRN of toolchain which the tool is bound to.
toolchain_id str
updated_at str
(String) Latest tool update timestamp.
crn String
(String) Tool CRN.
href String
(String) URI representing the tool.
id String
The unique identifier of the cd_toolchain_tool_securitycompliance.
name String
(String) The name for this tool integration, shown on the toolchain page.
parameters List<Property Map>
(List) 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
toolchainCrn String
(String) CRN of toolchain which the tool is bound to.
toolchainId String
updatedAt String
(String) Latest tool update timestamp.

Supporting Types

GetCdToolchainToolSecuritycomplianceParameter

AttachmentId This property is required. string
(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 This property is required. string
(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.
EvidenceRepoUrl This property is required. string
(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.
InstanceCrn This property is required. string
(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::$/.
Name This property is required. string
(String) The name for this tool integration, shown on the toolchain page.
ProfileName This property is required. string
(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 This property is required. string
(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 This property is required. string
(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 This property is required. string
(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.
AttachmentId This property is required. string
(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 This property is required. string
(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.
EvidenceRepoUrl This property is required. string
(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.
InstanceCrn This property is required. string
(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::$/.
Name This property is required. string
(String) The name for this tool integration, shown on the toolchain page.
ProfileName This property is required. string
(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 This property is required. string
(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 This property is required. string
(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 This property is required. string
(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.
attachmentId This property is required. String
(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 This property is required. String
(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.
evidenceRepoUrl This property is required. String
(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.
instanceCrn This property is required. String
(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::$/.
name This property is required. String
(String) The name for this tool integration, shown on the toolchain page.
profileName This property is required. String
(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 This property is required. String
(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 This property is required. String
(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 This property is required. String
(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.
attachmentId This property is required. string
(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 This property is required. string
(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.
evidenceRepoUrl This property is required. string
(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.
instanceCrn This property is required. string
(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::$/.
name This property is required. string
(String) The name for this tool integration, shown on the toolchain page.
profileName This property is required. string
(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 This property is required. string
(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 This property is required. string
(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 This property is required. string
(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.
attachment_id This property is required. str
(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}$/.
evidence_namespace This property is required. str
(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.
evidence_repo_url This property is required. str
(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.
instance_crn This property is required. str
(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::$/.
name This property is required. str
(String) The name for this tool integration, shown on the toolchain page.
profile_name This property is required. str
(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.
profile_version This property is required. str
(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.
scc_api_key This property is required. str
(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.
use_profile_attachment This property is required. str
(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.
attachmentId This property is required. String
(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 This property is required. String
(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.
evidenceRepoUrl This property is required. String
(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.
instanceCrn This property is required. String
(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::$/.
name This property is required. String
(String) The name for this tool integration, shown on the toolchain page.
profileName This property is required. String
(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 This property is required. String
(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 This property is required. String
(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 This property is required. String
(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.

GetCdToolchainToolSecuritycomplianceReferent

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

Package Details

Repository
ibm ibm-cloud/terraform-provider-ibm
License
Notes
This Pulumi package is based on the ibm Terraform Provider.