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

ibm.getSccProfileAttachment

Explore with Pulumi AI

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

    Retrieve information about a profile attachment from a read-only data source. Then, you can reference the fields of the data source in other resources within the same configuration by using interpolation syntax.

    NOTE: Security Compliance Center is a regional service. Please specify the IBM Cloud Provider attribute region to target another region. Else, exporting the environmental variable IBMCLOUD_SCC_API_ENDPOINT will also override which region is being targeted for all ibm providers(ex. export IBMCLOUD_SCC_API_ENDPOINT=https://eu-es.compliance.cloud.ibm.com).

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const sccProfileAttachment = ibm.getSccProfileAttachment({
        instanceId: "00000000-1111-2222-3333-444444444444",
        attachmentId: "attachment_id",
        profileId: ibm_scc_profile_attachment.scc_profile_attachment.profiles_id,
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    scc_profile_attachment = ibm.get_scc_profile_attachment(instance_id="00000000-1111-2222-3333-444444444444",
        attachment_id="attachment_id",
        profile_id=ibm_scc_profile_attachment["scc_profile_attachment"]["profiles_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.LookupSccProfileAttachment(ctx, &ibm.LookupSccProfileAttachmentArgs{
    			InstanceId:   "00000000-1111-2222-3333-444444444444",
    			AttachmentId: "attachment_id",
    			ProfileId:    ibm_scc_profile_attachment.Scc_profile_attachment.Profiles_id,
    		}, nil)
    		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 sccProfileAttachment = Ibm.GetSccProfileAttachment.Invoke(new()
        {
            InstanceId = "00000000-1111-2222-3333-444444444444",
            AttachmentId = "attachment_id",
            ProfileId = ibm_scc_profile_attachment.Scc_profile_attachment.Profiles_id,
        });
    
    });
    
    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.GetSccProfileAttachmentArgs;
    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 sccProfileAttachment = IbmFunctions.getSccProfileAttachment(GetSccProfileAttachmentArgs.builder()
                .instanceId("00000000-1111-2222-3333-444444444444")
                .attachmentId("attachment_id")
                .profileId(ibm_scc_profile_attachment.scc_profile_attachment().profiles_id())
                .build());
    
        }
    }
    
    variables:
      sccProfileAttachment:
        fn::invoke:
          function: ibm:getSccProfileAttachment
          arguments:
            instanceId: 00000000-1111-2222-3333-444444444444
            attachmentId: attachment_id
            profileId: ${ibm_scc_profile_attachment.scc_profile_attachment.profiles_id}
    

    Using getSccProfileAttachment

    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 getSccProfileAttachment(args: GetSccProfileAttachmentArgs, opts?: InvokeOptions): Promise<GetSccProfileAttachmentResult>
    function getSccProfileAttachmentOutput(args: GetSccProfileAttachmentOutputArgs, opts?: InvokeOptions): Output<GetSccProfileAttachmentResult>
    def get_scc_profile_attachment(attachment_id: Optional[str] = None,
                                   id: Optional[str] = None,
                                   instance_id: Optional[str] = None,
                                   profile_id: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetSccProfileAttachmentResult
    def get_scc_profile_attachment_output(attachment_id: Optional[pulumi.Input[str]] = None,
                                   id: Optional[pulumi.Input[str]] = None,
                                   instance_id: Optional[pulumi.Input[str]] = None,
                                   profile_id: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetSccProfileAttachmentResult]
    func LookupSccProfileAttachment(ctx *Context, args *LookupSccProfileAttachmentArgs, opts ...InvokeOption) (*LookupSccProfileAttachmentResult, error)
    func LookupSccProfileAttachmentOutput(ctx *Context, args *LookupSccProfileAttachmentOutputArgs, opts ...InvokeOption) LookupSccProfileAttachmentResultOutput

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

    public static class GetSccProfileAttachment 
    {
        public static Task<GetSccProfileAttachmentResult> InvokeAsync(GetSccProfileAttachmentArgs args, InvokeOptions? opts = null)
        public static Output<GetSccProfileAttachmentResult> Invoke(GetSccProfileAttachmentInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSccProfileAttachmentResult> getSccProfileAttachment(GetSccProfileAttachmentArgs args, InvokeOptions options)
    public static Output<GetSccProfileAttachmentResult> getSccProfileAttachment(GetSccProfileAttachmentArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getSccProfileAttachment:getSccProfileAttachment
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AttachmentId string
    The attachment ID.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$|^$/.
    InstanceId string
    The ID of the SCC instance in a particular region.
    ProfileId string
    The profile ID.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/.
    Id string
    (String) The ID of the last scan of an attachment.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-zA-Z0-9-]*$/.
    AttachmentId string
    The attachment ID.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$|^$/.
    InstanceId string
    The ID of the SCC instance in a particular region.
    ProfileId string
    The profile ID.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/.
    Id string
    (String) The ID of the last scan of an attachment.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-zA-Z0-9-]*$/.
    attachmentId String
    The attachment ID.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$|^$/.
    instanceId String
    The ID of the SCC instance in a particular region.
    profileId String
    The profile ID.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/.
    id String
    (String) The ID of the last scan of an attachment.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-zA-Z0-9-]*$/.
    attachmentId string
    The attachment ID.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$|^$/.
    instanceId string
    The ID of the SCC instance in a particular region.
    profileId string
    The profile ID.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/.
    id string
    (String) The ID of the last scan of an attachment.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-zA-Z0-9-]*$/.
    attachment_id str
    The attachment ID.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$|^$/.
    instance_id str
    The ID of the SCC instance in a particular region.
    profile_id str
    The profile ID.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/.
    id str
    (String) The ID of the last scan of an attachment.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-zA-Z0-9-]*$/.
    attachmentId String
    The attachment ID.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$|^$/.
    instanceId String
    The ID of the SCC instance in a particular region.
    profileId String
    The profile ID.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/.
    id String
    (String) The ID of the last scan of an attachment.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-zA-Z0-9-]*$/.

    getSccProfileAttachment Result

    The following output properties are available:

    AccountId string
    (String) The account ID that is associated to the attachment.

    • Constraints: The maximum length is 32 characters. The minimum length is 32 characters. The value must match regular expression /^[a-zA-Z0-9-]*$/.
    AttachmentId string
    AttachmentItemId string
    (String) The ID of the attachment.

    • Constraints: The maximum length is 32 characters. The minimum length is 32 characters. The value must match regular expression /^[a-zA-Z0-9-]*$/.
    AttachmentParameters List<GetSccProfileAttachmentAttachmentParameter>
    (List) The profile parameters for the attachment.

    • Constraints: The maximum length is 512 items. The minimum length is 0 items. Nested schema for attachment_parameters:
    CreatedBy string
    (String) The user who created the attachment.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9-\\.:,_\\s]*$/.
    CreatedOn string
    (String) The date when the attachment was created.
    Description string
    (String) The description for the attachment.

    • Constraints: The maximum length is 256 characters. The minimum length is 0 characters. The value must match regular expression /^[a-zA-Z0-9_,'\\s\\-]*$/.
    Id string
    (String) The ID of the last scan of an attachment.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-zA-Z0-9-]*$/.
    InstanceId string
    (String) The instance ID of the account that is associated to the attachment.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$|^$/.
    LastScans List<GetSccProfileAttachmentLastScan>
    (List) The details of the last scan of an attachment. Nested schema for last_scan:
    Name string
    (String) The name of the property.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[A-Za-z0-9]+/.
    NextScanTime string
    (String) The start time of the next scan.
    Notifications List<GetSccProfileAttachmentNotification>
    (List) The request payload of the attachment notifications. Nested schema for notifications:
    ProfileId string
    (String) The ID of the profile that is specified in the attachment.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/.
    Schedule string
    (String) The schedule of an attachment evaluation.

    • Constraints: Allowable values are: daily, every_7_days, every_30_days.
    Scopes List<GetSccProfileAttachmentScope>
    (List) The scope payload for the multi cloud feature.

    • Constraints: The maximum length is 8 items. The minimum length is 0 items. Nested schema for scope:
    Status string
    (String) The status of an attachment evaluation.

    • Constraints: Allowable values are: enabled, disabled.
    UpdatedBy string
    (String) The user who updated the attachment.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9-\\.:,_\\s]*$/.
    UpdatedOn string
    (String) The date when the attachment was updated.
    AccountId string
    (String) The account ID that is associated to the attachment.

    • Constraints: The maximum length is 32 characters. The minimum length is 32 characters. The value must match regular expression /^[a-zA-Z0-9-]*$/.
    AttachmentId string
    AttachmentItemId string
    (String) The ID of the attachment.

    • Constraints: The maximum length is 32 characters. The minimum length is 32 characters. The value must match regular expression /^[a-zA-Z0-9-]*$/.
    AttachmentParameters []GetSccProfileAttachmentAttachmentParameter
    (List) The profile parameters for the attachment.

    • Constraints: The maximum length is 512 items. The minimum length is 0 items. Nested schema for attachment_parameters:
    CreatedBy string
    (String) The user who created the attachment.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9-\\.:,_\\s]*$/.
    CreatedOn string
    (String) The date when the attachment was created.
    Description string
    (String) The description for the attachment.

    • Constraints: The maximum length is 256 characters. The minimum length is 0 characters. The value must match regular expression /^[a-zA-Z0-9_,'\\s\\-]*$/.
    Id string
    (String) The ID of the last scan of an attachment.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-zA-Z0-9-]*$/.
    InstanceId string
    (String) The instance ID of the account that is associated to the attachment.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$|^$/.
    LastScans []GetSccProfileAttachmentLastScan
    (List) The details of the last scan of an attachment. Nested schema for last_scan:
    Name string
    (String) The name of the property.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[A-Za-z0-9]+/.
    NextScanTime string
    (String) The start time of the next scan.
    Notifications []GetSccProfileAttachmentNotification
    (List) The request payload of the attachment notifications. Nested schema for notifications:
    ProfileId string
    (String) The ID of the profile that is specified in the attachment.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/.
    Schedule string
    (String) The schedule of an attachment evaluation.

    • Constraints: Allowable values are: daily, every_7_days, every_30_days.
    Scopes []GetSccProfileAttachmentScope
    (List) The scope payload for the multi cloud feature.

    • Constraints: The maximum length is 8 items. The minimum length is 0 items. Nested schema for scope:
    Status string
    (String) The status of an attachment evaluation.

    • Constraints: Allowable values are: enabled, disabled.
    UpdatedBy string
    (String) The user who updated the attachment.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9-\\.:,_\\s]*$/.
    UpdatedOn string
    (String) The date when the attachment was updated.
    accountId String
    (String) The account ID that is associated to the attachment.

    • Constraints: The maximum length is 32 characters. The minimum length is 32 characters. The value must match regular expression /^[a-zA-Z0-9-]*$/.
    attachmentId String
    attachmentItemId String
    (String) The ID of the attachment.

    • Constraints: The maximum length is 32 characters. The minimum length is 32 characters. The value must match regular expression /^[a-zA-Z0-9-]*$/.
    attachmentParameters List<GetSccProfileAttachmentAttachmentParameter>
    (List) The profile parameters for the attachment.

    • Constraints: The maximum length is 512 items. The minimum length is 0 items. Nested schema for attachment_parameters:
    createdBy String
    (String) The user who created the attachment.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9-\\.:,_\\s]*$/.
    createdOn String
    (String) The date when the attachment was created.
    description String
    (String) The description for the attachment.

    • Constraints: The maximum length is 256 characters. The minimum length is 0 characters. The value must match regular expression /^[a-zA-Z0-9_,'\\s\\-]*$/.
    id String
    (String) The ID of the last scan of an attachment.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-zA-Z0-9-]*$/.
    instanceId String
    (String) The instance ID of the account that is associated to the attachment.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$|^$/.
    lastScans List<GetSccProfileAttachmentLastScan>
    (List) The details of the last scan of an attachment. Nested schema for last_scan:
    name String
    (String) The name of the property.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[A-Za-z0-9]+/.
    nextScanTime String
    (String) The start time of the next scan.
    notifications List<GetSccProfileAttachmentNotification>
    (List) The request payload of the attachment notifications. Nested schema for notifications:
    profileId String
    (String) The ID of the profile that is specified in the attachment.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/.
    schedule String
    (String) The schedule of an attachment evaluation.

    • Constraints: Allowable values are: daily, every_7_days, every_30_days.
    scopes List<GetSccProfileAttachmentScope>
    (List) The scope payload for the multi cloud feature.

    • Constraints: The maximum length is 8 items. The minimum length is 0 items. Nested schema for scope:
    status String
    (String) The status of an attachment evaluation.

    • Constraints: Allowable values are: enabled, disabled.
    updatedBy String
    (String) The user who updated the attachment.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9-\\.:,_\\s]*$/.
    updatedOn String
    (String) The date when the attachment was updated.
    accountId string
    (String) The account ID that is associated to the attachment.

    • Constraints: The maximum length is 32 characters. The minimum length is 32 characters. The value must match regular expression /^[a-zA-Z0-9-]*$/.
    attachmentId string
    attachmentItemId string
    (String) The ID of the attachment.

    • Constraints: The maximum length is 32 characters. The minimum length is 32 characters. The value must match regular expression /^[a-zA-Z0-9-]*$/.
    attachmentParameters GetSccProfileAttachmentAttachmentParameter[]
    (List) The profile parameters for the attachment.

    • Constraints: The maximum length is 512 items. The minimum length is 0 items. Nested schema for attachment_parameters:
    createdBy string
    (String) The user who created the attachment.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9-\\.:,_\\s]*$/.
    createdOn string
    (String) The date when the attachment was created.
    description string
    (String) The description for the attachment.

    • Constraints: The maximum length is 256 characters. The minimum length is 0 characters. The value must match regular expression /^[a-zA-Z0-9_,'\\s\\-]*$/.
    id string
    (String) The ID of the last scan of an attachment.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-zA-Z0-9-]*$/.
    instanceId string
    (String) The instance ID of the account that is associated to the attachment.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$|^$/.
    lastScans GetSccProfileAttachmentLastScan[]
    (List) The details of the last scan of an attachment. Nested schema for last_scan:
    name string
    (String) The name of the property.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[A-Za-z0-9]+/.
    nextScanTime string
    (String) The start time of the next scan.
    notifications GetSccProfileAttachmentNotification[]
    (List) The request payload of the attachment notifications. Nested schema for notifications:
    profileId string
    (String) The ID of the profile that is specified in the attachment.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/.
    schedule string
    (String) The schedule of an attachment evaluation.

    • Constraints: Allowable values are: daily, every_7_days, every_30_days.
    scopes GetSccProfileAttachmentScope[]
    (List) The scope payload for the multi cloud feature.

    • Constraints: The maximum length is 8 items. The minimum length is 0 items. Nested schema for scope:
    status string
    (String) The status of an attachment evaluation.

    • Constraints: Allowable values are: enabled, disabled.
    updatedBy string
    (String) The user who updated the attachment.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9-\\.:,_\\s]*$/.
    updatedOn string
    (String) The date when the attachment was updated.
    account_id str
    (String) The account ID that is associated to the attachment.

    • Constraints: The maximum length is 32 characters. The minimum length is 32 characters. The value must match regular expression /^[a-zA-Z0-9-]*$/.
    attachment_id str
    attachment_item_id str
    (String) The ID of the attachment.

    • Constraints: The maximum length is 32 characters. The minimum length is 32 characters. The value must match regular expression /^[a-zA-Z0-9-]*$/.
    attachment_parameters Sequence[GetSccProfileAttachmentAttachmentParameter]
    (List) The profile parameters for the attachment.

    • Constraints: The maximum length is 512 items. The minimum length is 0 items. Nested schema for attachment_parameters:
    created_by str
    (String) The user who created the attachment.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9-\\.:,_\\s]*$/.
    created_on str
    (String) The date when the attachment was created.
    description str
    (String) The description for the attachment.

    • Constraints: The maximum length is 256 characters. The minimum length is 0 characters. The value must match regular expression /^[a-zA-Z0-9_,'\\s\\-]*$/.
    id str
    (String) The ID of the last scan of an attachment.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-zA-Z0-9-]*$/.
    instance_id str
    (String) The instance ID of the account that is associated to the attachment.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$|^$/.
    last_scans Sequence[GetSccProfileAttachmentLastScan]
    (List) The details of the last scan of an attachment. Nested schema for last_scan:
    name str
    (String) The name of the property.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[A-Za-z0-9]+/.
    next_scan_time str
    (String) The start time of the next scan.
    notifications Sequence[GetSccProfileAttachmentNotification]
    (List) The request payload of the attachment notifications. Nested schema for notifications:
    profile_id str
    (String) The ID of the profile that is specified in the attachment.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/.
    schedule str
    (String) The schedule of an attachment evaluation.

    • Constraints: Allowable values are: daily, every_7_days, every_30_days.
    scopes Sequence[GetSccProfileAttachmentScope]
    (List) The scope payload for the multi cloud feature.

    • Constraints: The maximum length is 8 items. The minimum length is 0 items. Nested schema for scope:
    status str
    (String) The status of an attachment evaluation.

    • Constraints: Allowable values are: enabled, disabled.
    updated_by str
    (String) The user who updated the attachment.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9-\\.:,_\\s]*$/.
    updated_on str
    (String) The date when the attachment was updated.
    accountId String
    (String) The account ID that is associated to the attachment.

    • Constraints: The maximum length is 32 characters. The minimum length is 32 characters. The value must match regular expression /^[a-zA-Z0-9-]*$/.
    attachmentId String
    attachmentItemId String
    (String) The ID of the attachment.

    • Constraints: The maximum length is 32 characters. The minimum length is 32 characters. The value must match regular expression /^[a-zA-Z0-9-]*$/.
    attachmentParameters List<Property Map>
    (List) The profile parameters for the attachment.

    • Constraints: The maximum length is 512 items. The minimum length is 0 items. Nested schema for attachment_parameters:
    createdBy String
    (String) The user who created the attachment.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9-\\.:,_\\s]*$/.
    createdOn String
    (String) The date when the attachment was created.
    description String
    (String) The description for the attachment.

    • Constraints: The maximum length is 256 characters. The minimum length is 0 characters. The value must match regular expression /^[a-zA-Z0-9_,'\\s\\-]*$/.
    id String
    (String) The ID of the last scan of an attachment.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-zA-Z0-9-]*$/.
    instanceId String
    (String) The instance ID of the account that is associated to the attachment.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$|^$/.
    lastScans List<Property Map>
    (List) The details of the last scan of an attachment. Nested schema for last_scan:
    name String
    (String) The name of the property.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[A-Za-z0-9]+/.
    nextScanTime String
    (String) The start time of the next scan.
    notifications List<Property Map>
    (List) The request payload of the attachment notifications. Nested schema for notifications:
    profileId String
    (String) The ID of the profile that is specified in the attachment.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/.
    schedule String
    (String) The schedule of an attachment evaluation.

    • Constraints: Allowable values are: daily, every_7_days, every_30_days.
    scopes List<Property Map>
    (List) The scope payload for the multi cloud feature.

    • Constraints: The maximum length is 8 items. The minimum length is 0 items. Nested schema for scope:
    status String
    (String) The status of an attachment evaluation.

    • Constraints: Allowable values are: enabled, disabled.
    updatedBy String
    (String) The user who updated the attachment.

    • Constraints: The maximum length is 255 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9-\\.:,_\\s]*$/.
    updatedOn String
    (String) The date when the attachment was updated.

    Supporting Types

    GetSccProfileAttachmentAttachmentParameter

    AssessmentId string
    (String) The implementation ID of the parameter.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[A-Za-z0-9]+/.
    AssessmentType string
    (String) The type of the implementation.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[A-Za-z0-9]+/.
    ParameterDisplayName string
    (String) The parameter display name.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /^[a-zA-Z0-9_,'\\s\\-]*$/.
    ParameterName string
    (String) The parameter name.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /^[a-zA-Z0-9_]*$/.
    ParameterType string
    (String) The parameter type.

    • Constraints: Allowable values are: string, numeric, general, boolean, string_list, ip_list, timestamp.
    ParameterValue string
    (String) The value of the parameter.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /^[a-zA-Z0-9_,'"\\s\\-\\[\\]]+$/.
    AssessmentId string
    (String) The implementation ID of the parameter.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[A-Za-z0-9]+/.
    AssessmentType string
    (String) The type of the implementation.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[A-Za-z0-9]+/.
    ParameterDisplayName string
    (String) The parameter display name.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /^[a-zA-Z0-9_,'\\s\\-]*$/.
    ParameterName string
    (String) The parameter name.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /^[a-zA-Z0-9_]*$/.
    ParameterType string
    (String) The parameter type.

    • Constraints: Allowable values are: string, numeric, general, boolean, string_list, ip_list, timestamp.
    ParameterValue string
    (String) The value of the parameter.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /^[a-zA-Z0-9_,'"\\s\\-\\[\\]]+$/.
    assessmentId String
    (String) The implementation ID of the parameter.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[A-Za-z0-9]+/.
    assessmentType String
    (String) The type of the implementation.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[A-Za-z0-9]+/.
    parameterDisplayName String
    (String) The parameter display name.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /^[a-zA-Z0-9_,'\\s\\-]*$/.
    parameterName String
    (String) The parameter name.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /^[a-zA-Z0-9_]*$/.
    parameterType String
    (String) The parameter type.

    • Constraints: Allowable values are: string, numeric, general, boolean, string_list, ip_list, timestamp.
    parameterValue String
    (String) The value of the parameter.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /^[a-zA-Z0-9_,'"\\s\\-\\[\\]]+$/.
    assessmentId string
    (String) The implementation ID of the parameter.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[A-Za-z0-9]+/.
    assessmentType string
    (String) The type of the implementation.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[A-Za-z0-9]+/.
    parameterDisplayName string
    (String) The parameter display name.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /^[a-zA-Z0-9_,'\\s\\-]*$/.
    parameterName string
    (String) The parameter name.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /^[a-zA-Z0-9_]*$/.
    parameterType string
    (String) The parameter type.

    • Constraints: Allowable values are: string, numeric, general, boolean, string_list, ip_list, timestamp.
    parameterValue string
    (String) The value of the parameter.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /^[a-zA-Z0-9_,'"\\s\\-\\[\\]]+$/.
    assessment_id str
    (String) The implementation ID of the parameter.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[A-Za-z0-9]+/.
    assessment_type str
    (String) The type of the implementation.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[A-Za-z0-9]+/.
    parameter_display_name str
    (String) The parameter display name.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /^[a-zA-Z0-9_,'\\s\\-]*$/.
    parameter_name str
    (String) The parameter name.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /^[a-zA-Z0-9_]*$/.
    parameter_type str
    (String) The parameter type.

    • Constraints: Allowable values are: string, numeric, general, boolean, string_list, ip_list, timestamp.
    parameter_value str
    (String) The value of the parameter.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /^[a-zA-Z0-9_,'"\\s\\-\\[\\]]+$/.
    assessmentId String
    (String) The implementation ID of the parameter.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[A-Za-z0-9]+/.
    assessmentType String
    (String) The type of the implementation.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[A-Za-z0-9]+/.
    parameterDisplayName String
    (String) The parameter display name.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /^[a-zA-Z0-9_,'\\s\\-]*$/.
    parameterName String
    (String) The parameter name.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /^[a-zA-Z0-9_]*$/.
    parameterType String
    (String) The parameter type.

    • Constraints: Allowable values are: string, numeric, general, boolean, string_list, ip_list, timestamp.
    parameterValue String
    (String) The value of the parameter.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /^[a-zA-Z0-9_,'"\\s\\-\\[\\]]+$/.

    GetSccProfileAttachmentLastScan

    Id string
    (String) The ID of the last scan of an attachment.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-zA-Z0-9-]*$/.
    Status string
    (String) The status of an attachment evaluation.

    • Constraints: Allowable values are: enabled, disabled.
    Time string
    (String) The time when the last scan started.
    Id string
    (String) The ID of the last scan of an attachment.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-zA-Z0-9-]*$/.
    Status string
    (String) The status of an attachment evaluation.

    • Constraints: Allowable values are: enabled, disabled.
    Time string
    (String) The time when the last scan started.
    id String
    (String) The ID of the last scan of an attachment.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-zA-Z0-9-]*$/.
    status String
    (String) The status of an attachment evaluation.

    • Constraints: Allowable values are: enabled, disabled.
    time String
    (String) The time when the last scan started.
    id string
    (String) The ID of the last scan of an attachment.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-zA-Z0-9-]*$/.
    status string
    (String) The status of an attachment evaluation.

    • Constraints: Allowable values are: enabled, disabled.
    time string
    (String) The time when the last scan started.
    id str
    (String) The ID of the last scan of an attachment.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-zA-Z0-9-]*$/.
    status str
    (String) The status of an attachment evaluation.

    • Constraints: Allowable values are: enabled, disabled.
    time str
    (String) The time when the last scan started.
    id String
    (String) The ID of the last scan of an attachment.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[a-zA-Z0-9-]*$/.
    status String
    (String) The status of an attachment evaluation.

    • Constraints: Allowable values are: enabled, disabled.
    time String
    (String) The time when the last scan started.

    GetSccProfileAttachmentNotification

    Controls List<GetSccProfileAttachmentNotificationControl>
    (List) The failed controls. Nested schema for controls:
    Enabled bool
    (Boolean) enabled notifications.
    Controls []GetSccProfileAttachmentNotificationControl
    (List) The failed controls. Nested schema for controls:
    Enabled bool
    (Boolean) enabled notifications.
    controls List<GetSccProfileAttachmentNotificationControl>
    (List) The failed controls. Nested schema for controls:
    enabled Boolean
    (Boolean) enabled notifications.
    controls GetSccProfileAttachmentNotificationControl[]
    (List) The failed controls. Nested schema for controls:
    enabled boolean
    (Boolean) enabled notifications.
    controls Sequence[GetSccProfileAttachmentNotificationControl]
    (List) The failed controls. Nested schema for controls:
    enabled bool
    (Boolean) enabled notifications.
    controls List<Property Map>
    (List) The failed controls. Nested schema for controls:
    enabled Boolean
    (Boolean) enabled notifications.

    GetSccProfileAttachmentNotificationControl

    FailedControlIds List<string>
    (List) The failed control IDs.

    • Constraints: The list items must match regular expression /^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$|^$/. The maximum length is 512 items. The minimum length is 0 items.
    ThresholdLimit double
    (Integer) The threshold limit.
    FailedControlIds []string
    (List) The failed control IDs.

    • Constraints: The list items must match regular expression /^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$|^$/. The maximum length is 512 items. The minimum length is 0 items.
    ThresholdLimit float64
    (Integer) The threshold limit.
    failedControlIds List<String>
    (List) The failed control IDs.

    • Constraints: The list items must match regular expression /^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$|^$/. The maximum length is 512 items. The minimum length is 0 items.
    thresholdLimit Double
    (Integer) The threshold limit.
    failedControlIds string[]
    (List) The failed control IDs.

    • Constraints: The list items must match regular expression /^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$|^$/. The maximum length is 512 items. The minimum length is 0 items.
    thresholdLimit number
    (Integer) The threshold limit.
    failed_control_ids Sequence[str]
    (List) The failed control IDs.

    • Constraints: The list items must match regular expression /^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$|^$/. The maximum length is 512 items. The minimum length is 0 items.
    threshold_limit float
    (Integer) The threshold limit.
    failedControlIds List<String>
    (List) The failed control IDs.

    • Constraints: The list items must match regular expression /^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}$|^$/. The maximum length is 512 items. The minimum length is 0 items.
    thresholdLimit Number
    (Integer) The threshold limit.

    GetSccProfileAttachmentScope

    Environment string
    (String) The environment that relates to this scope.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[A-Za-z0-9]+/.
    Properties List<GetSccProfileAttachmentScopeProperty>
    (List) The properties supported for scoping by this environment.

    • Constraints: The maximum length is 8 items. The minimum length is 0 items. Nested schema for properties:
    Environment string
    (String) The environment that relates to this scope.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[A-Za-z0-9]+/.
    Properties []GetSccProfileAttachmentScopeProperty
    (List) The properties supported for scoping by this environment.

    • Constraints: The maximum length is 8 items. The minimum length is 0 items. Nested schema for properties:
    environment String
    (String) The environment that relates to this scope.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[A-Za-z0-9]+/.
    properties List<GetSccProfileAttachmentScopeProperty>
    (List) The properties supported for scoping by this environment.

    • Constraints: The maximum length is 8 items. The minimum length is 0 items. Nested schema for properties:
    environment string
    (String) The environment that relates to this scope.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[A-Za-z0-9]+/.
    properties GetSccProfileAttachmentScopeProperty[]
    (List) The properties supported for scoping by this environment.

    • Constraints: The maximum length is 8 items. The minimum length is 0 items. Nested schema for properties:
    environment str
    (String) The environment that relates to this scope.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[A-Za-z0-9]+/.
    properties Sequence[GetSccProfileAttachmentScopeProperty]
    (List) The properties supported for scoping by this environment.

    • Constraints: The maximum length is 8 items. The minimum length is 0 items. Nested schema for properties:
    environment String
    (String) The environment that relates to this scope.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[A-Za-z0-9]+/.
    properties List<Property Map>
    (List) The properties supported for scoping by this environment.

    • Constraints: The maximum length is 8 items. The minimum length is 0 items. Nested schema for properties:

    GetSccProfileAttachmentScopeProperty

    Name string
    (String) The name of the property.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[A-Za-z0-9]+/.
    Value string
    (String) The value of the property.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[A-Za-z0-9]+/.
    Name string
    (String) The name of the property.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[A-Za-z0-9]+/.
    Value string
    (String) The value of the property.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[A-Za-z0-9]+/.
    name String
    (String) The name of the property.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[A-Za-z0-9]+/.
    value String
    (String) The value of the property.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[A-Za-z0-9]+/.
    name string
    (String) The name of the property.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[A-Za-z0-9]+/.
    value string
    (String) The value of the property.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[A-Za-z0-9]+/.
    name str
    (String) The name of the property.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[A-Za-z0-9]+/.
    value str
    (String) The value of the property.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[A-Za-z0-9]+/.
    name String
    (String) The name of the property.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[A-Za-z0-9]+/.
    value String
    (String) The value of the property.

    • Constraints: The maximum length is 64 characters. The minimum length is 2 characters. The value must match regular expression /[A-Za-z0-9]+/.

    Package Details

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