You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the default profile parameters, or pass a custom parameter list
Configure a scan schedule for the attachment
Configure notifications for the attachment
Usage
module"create_scc_profile_attachment " {
source="terraform-ibm-modules/scc/ibm//modules/attachment"ibmcloud_api_key="XXXXXXXXXX"# pragma: allowlist secretscc_instance_id="57b7ac52-e837-484c-aa07-e3c2db815c44"# replace with the ID of your SCC instanceprofile_name="SOC 2"# select the Name of the profile you want to useprofile_version="1.0.0"# select the Version of the profile you want to useuse_profile_default_parameters=true# if setting this to false, custom parameters must be passed using the 'custom_attachment_parameters' variableattachment_name="My attachment"attachment_description="My attachment description"attachment_schedule="daily"# Configure the scope for the attachment - below scope will scan the whole accountscope=[{
environment ="ibm-cloud"# supported property names are "scope_type" and "scope_id"
properties = [{
name ="scope_type"
value ="account"# "scope_type" supports values: "account", "account.resource_group", "enterprise", "enterprise.account" and "enterprise.account_group"
},
{
name ="scope_id"# "scope_id" value will be the id of the "scope_type" (eg. "account" will be the ID of the IBM Cloud account)
value ="<account-id>"
}]
}]
}
A boolean indicating whether to use the profiles default parameters. If set to false, a value must be passed for the custum_attachment_parameters input variable.