ibm.CdToolchainToolSecuritycompliance
Explore with Pulumi AI
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
Cd
Toolchain Tool Securitycompliance Parameters - 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 string - ID of the toolchain to bind the tool to.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- Cd
Toolchain stringTool Securitycompliance Id - 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 is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
- Parameters
Cd
Toolchain Tool Securitycompliance Parameters Args - 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 string - ID of the toolchain to bind the tool to.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- Cd
Toolchain stringTool Securitycompliance Id - 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 is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
- parameters
Cd
Toolchain Tool Securitycompliance Parameters - 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 String - ID of the toolchain to bind the tool to.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- cd
Toolchain StringTool Securitycompliance Id - 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 is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
- parameters
Cd
Toolchain Tool Securitycompliance Parameters - 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 string - ID of the toolchain to bind the tool to.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- cd
Toolchain stringTool Securitycompliance Id - 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 is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
- parameters
Cd
Toolchain Tool Securitycompliance Parameters Args - 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 is36
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}$/
.
- Constraints: The maximum length is
- cd_
toolchain_ strtool_ securitycompliance_ id - 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 is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
- 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:
- toolchain
Id String - ID of the toolchain to bind the tool to.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- cd
Toolchain StringTool Securitycompliance Id - 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 is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
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<Cd
Toolchain Tool Securitycompliance Referent> - (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
- Resource
Group stringId - (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
.
- Constraints: Allowable values are:
- Tool
Id string - (String) Tool ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- Toolchain
Crn string - (String) CRN of toolchain which the tool is bound to.
- Updated
At 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
[]Cd
Toolchain Tool Securitycompliance Referent - (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
- Resource
Group stringId - (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
.
- Constraints: Allowable values are:
- Tool
Id string - (String) Tool ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- Toolchain
Crn string - (String) CRN of toolchain which the tool is bound to.
- Updated
At 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<Cd
Toolchain Tool Securitycompliance Referent> - (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
- resource
Group StringId - (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
.
- Constraints: Allowable values are:
- tool
Id String - (String) Tool ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- toolchain
Crn String - (String) CRN of toolchain which the tool is bound to.
- updated
At 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
Cd
Toolchain Tool Securitycompliance Referent[] - (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
- resource
Group stringId - (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
.
- Constraints: Allowable values are:
- tool
Id string - (String) Tool ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- toolchain
Crn string - (String) CRN of toolchain which the tool is bound to.
- updated
At 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[Cd
Toolchain Tool Securitycompliance Referent] - (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
- resource_
group_ strid - (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
.
- Constraints: Allowable values are:
- tool_
id str - (String) Tool ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- 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:
- resource
Group StringId - (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
.
- Constraints: Allowable values are:
- tool
Id String - (String) Tool ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- toolchain
Crn String - (String) CRN of toolchain which the tool is bound to.
- updated
At 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.
- Cd
Toolchain stringTool Securitycompliance Id - 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 is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
- Parameters
Cd
Toolchain Tool Securitycompliance Parameters - 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<Cd
Toolchain Tool Securitycompliance Referent> - (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
- Resource
Group stringId - (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
.
- Constraints: Allowable values are:
- Tool
Id string - (String) Tool ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- Toolchain
Crn string - (String) CRN of toolchain which the tool is bound to.
- Toolchain
Id string - ID of the toolchain to bind the tool to.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- Updated
At string - (String) Latest tool update timestamp.
- Cd
Toolchain stringTool Securitycompliance Id - 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 is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
- Parameters
Cd
Toolchain Tool Securitycompliance Parameters Args - 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
[]Cd
Toolchain Tool Securitycompliance Referent Args - (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
- Resource
Group stringId - (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
.
- Constraints: Allowable values are:
- Tool
Id string - (String) Tool ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- Toolchain
Crn string - (String) CRN of toolchain which the tool is bound to.
- Toolchain
Id string - ID of the toolchain to bind the tool to.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- Updated
At string - (String) Latest tool update timestamp.
- cd
Toolchain StringTool Securitycompliance Id - 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 is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
- parameters
Cd
Toolchain Tool Securitycompliance Parameters - 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<Cd
Toolchain Tool Securitycompliance Referent> - (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
- resource
Group StringId - (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
.
- Constraints: Allowable values are:
- tool
Id String - (String) Tool ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- toolchain
Crn String - (String) CRN of toolchain which the tool is bound to.
- toolchain
Id String - ID of the toolchain to bind the tool to.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- updated
At String - (String) Latest tool update timestamp.
- cd
Toolchain stringTool Securitycompliance Id - 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 is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
- parameters
Cd
Toolchain Tool Securitycompliance Parameters - 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
Cd
Toolchain Tool Securitycompliance Referent[] - (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
- resource
Group stringId - (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
.
- Constraints: Allowable values are:
- tool
Id string - (String) Tool ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- toolchain
Crn string - (String) CRN of toolchain which the tool is bound to.
- toolchain
Id string - ID of the toolchain to bind the tool to.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- updated
At string - (String) Latest tool update timestamp.
- cd_
toolchain_ strtool_ securitycompliance_ id - 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 is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
- parameters
Cd
Toolchain Tool Securitycompliance Parameters Args - 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[Cd
Toolchain Tool Securitycompliance Referent Args] - (List) Information on URIs to access this resource through the UI or API. Nested schema for referent:
- resource_
group_ strid - (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
.
- Constraints: Allowable values are:
- tool_
id str - (String) Tool ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- 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 is36
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}$/
.
- Constraints: The maximum length is
- updated_
at str - (String) Latest tool update timestamp.
- cd
Toolchain StringTool Securitycompliance Id - 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 is0
characters. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9-._ ])+$/
.
- Constraints: The maximum length is
- 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:
- resource
Group StringId - (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
.
- Constraints: Allowable values are:
- tool
Id String - (String) Tool ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- toolchain
Crn String - (String) CRN of toolchain which the tool is bound to.
- toolchain
Id String - ID of the toolchain to bind the tool to.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- updated
At String - (String) Latest tool update timestamp.
Supporting Types
CdToolchainToolSecuritycomplianceParameters, CdToolchainToolSecuritycomplianceParametersArgs
- Evidence
Repo stringUrl - 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.
- Attachment
Id 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 isenabled
.- Constraints: The value must match regular expression
/^[-0-9a-f]{32,36}$/
.
- Constraints: The value must match regular expression
- Evidence
Namespace 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, orcc
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
.
- Constraints: Allowable values are:
- Instance
Crn 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 isenabled
.- 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::$/
.
- Constraints: The value must match regular expression
- Profile
Name 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 isenabled
. - Profile
Version 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 isenabled
. - Scc
Api stringKey - 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 isenabled
. You can use a toolchain secret reference for this parameter. For more information, see Protecting your sensitive data in Continuous Delivery. - Use
Profile stringAttachment - 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
.
- Constraints: Allowable values are:
- Evidence
Repo stringUrl - 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.
- Attachment
Id 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 isenabled
.- Constraints: The value must match regular expression
/^[-0-9a-f]{32,36}$/
.
- Constraints: The value must match regular expression
- Evidence
Namespace 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, orcc
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
.
- Constraints: Allowable values are:
- Instance
Crn 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 isenabled
.- 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::$/
.
- Constraints: The value must match regular expression
- Profile
Name 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 isenabled
. - Profile
Version 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 isenabled
. - Scc
Api stringKey - 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 isenabled
. You can use a toolchain secret reference for this parameter. For more information, see Protecting your sensitive data in Continuous Delivery. - Use
Profile stringAttachment - 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
.
- Constraints: Allowable values are:
- evidence
Repo StringUrl - 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.
- attachment
Id 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 isenabled
.- Constraints: The value must match regular expression
/^[-0-9a-f]{32,36}$/
.
- Constraints: The value must match regular expression
- evidence
Namespace 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, orcc
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
.
- Constraints: Allowable values are:
- instance
Crn 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 isenabled
.- 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::$/
.
- Constraints: The value must match regular expression
- profile
Name 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 isenabled
. - profile
Version 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 isenabled
. - scc
Api StringKey - 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 isenabled
. You can use a toolchain secret reference for this parameter. For more information, see Protecting your sensitive data in Continuous Delivery. - use
Profile StringAttachment - 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
.
- Constraints: Allowable values are:
- evidence
Repo stringUrl - 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.
- attachment
Id 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 isenabled
.- Constraints: The value must match regular expression
/^[-0-9a-f]{32,36}$/
.
- Constraints: The value must match regular expression
- evidence
Namespace 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, orcc
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
.
- Constraints: Allowable values are:
- instance
Crn 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 isenabled
.- 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::$/
.
- Constraints: The value must match regular expression
- profile
Name 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 isenabled
. - profile
Version 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 isenabled
. - scc
Api stringKey - 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 isenabled
. You can use a toolchain secret reference for this parameter. For more information, see Protecting your sensitive data in Continuous Delivery. - use
Profile stringAttachment - 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
.
- Constraints: Allowable values are:
- evidence_
repo_ strurl - 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 isenabled
.- Constraints: The value must match regular expression
/^[-0-9a-f]{32,36}$/
.
- Constraints: The value must match regular expression
- 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, orcc
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
.
- Constraints: Allowable values are:
- 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 isenabled
.- 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::$/
.
- Constraints: The value must match regular expression
- 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 isenabled
. - 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 isenabled
. - scc_
api_ strkey - 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 isenabled
. You can use a toolchain secret reference for this parameter. For more information, see Protecting your sensitive data in Continuous Delivery. - use_
profile_ strattachment - 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
.
- Constraints: Allowable values are:
- evidence
Repo StringUrl - 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.
- attachment
Id 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 isenabled
.- Constraints: The value must match regular expression
/^[-0-9a-f]{32,36}$/
.
- Constraints: The value must match regular expression
- evidence
Namespace 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, orcc
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
.
- Constraints: Allowable values are:
- instance
Crn 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 isenabled
.- 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::$/
.
- Constraints: The value must match regular expression
- profile
Name 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 isenabled
. - profile
Version 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 isenabled
. - scc
Api StringKey - 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 isenabled
. You can use a toolchain secret reference for this parameter. For more information, see Protecting your sensitive data in Continuous Delivery. - use
Profile StringAttachment - 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
.
- Constraints: Allowable values are:
CdToolchainToolSecuritycomplianceReferent, CdToolchainToolSecuritycomplianceReferentArgs
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.