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

ibm.getSccReportResources

Explore with Pulumi AI

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

    Retrieve information about report resources 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 sccReportResources = ibm.getSccReportResources({
        instanceId: "00000000-1111-2222-3333-444444444444",
        reportId: "report_id",
        status: "compliant",
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    scc_report_resources = ibm.get_scc_report_resources(instance_id="00000000-1111-2222-3333-444444444444",
        report_id="report_id",
        status="compliant")
    
    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.GetSccReportResources(ctx, &ibm.GetSccReportResourcesArgs{
    			InstanceId: "00000000-1111-2222-3333-444444444444",
    			ReportId:   "report_id",
    			Status:     pulumi.StringRef("compliant"),
    		}, 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 sccReportResources = Ibm.GetSccReportResources.Invoke(new()
        {
            InstanceId = "00000000-1111-2222-3333-444444444444",
            ReportId = "report_id",
            Status = "compliant",
        });
    
    });
    
    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.GetSccReportResourcesArgs;
    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 sccReportResources = IbmFunctions.getSccReportResources(GetSccReportResourcesArgs.builder()
                .instanceId("00000000-1111-2222-3333-444444444444")
                .reportId("report_id")
                .status("compliant")
                .build());
    
        }
    }
    
    variables:
      sccReportResources:
        fn::invoke:
          function: ibm:getSccReportResources
          arguments:
            instanceId: 00000000-1111-2222-3333-444444444444
            reportId: report_id
            status: compliant
    

    Using getSccReportResources

    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 getSccReportResources(args: GetSccReportResourcesArgs, opts?: InvokeOptions): Promise<GetSccReportResourcesResult>
    function getSccReportResourcesOutput(args: GetSccReportResourcesOutputArgs, opts?: InvokeOptions): Output<GetSccReportResourcesResult>
    def get_scc_report_resources(account_id: Optional[str] = None,
                                 component_id: Optional[str] = None,
                                 id: Optional[str] = None,
                                 instance_id: Optional[str] = None,
                                 report_id: Optional[str] = None,
                                 resource_name: Optional[str] = None,
                                 sort: Optional[str] = None,
                                 status: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetSccReportResourcesResult
    def get_scc_report_resources_output(account_id: Optional[pulumi.Input[str]] = None,
                                 component_id: Optional[pulumi.Input[str]] = None,
                                 id: Optional[pulumi.Input[str]] = None,
                                 instance_id: Optional[pulumi.Input[str]] = None,
                                 report_id: Optional[pulumi.Input[str]] = None,
                                 resource_name: Optional[pulumi.Input[str]] = None,
                                 sort: Optional[pulumi.Input[str]] = None,
                                 status: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetSccReportResourcesResult]
    func GetSccReportResources(ctx *Context, args *GetSccReportResourcesArgs, opts ...InvokeOption) (*GetSccReportResourcesResult, error)
    func GetSccReportResourcesOutput(ctx *Context, args *GetSccReportResourcesOutputArgs, opts ...InvokeOption) GetSccReportResourcesResultOutput

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

    public static class GetSccReportResources 
    {
        public static Task<GetSccReportResourcesResult> InvokeAsync(GetSccReportResourcesArgs args, InvokeOptions? opts = null)
        public static Output<GetSccReportResourcesResult> Invoke(GetSccReportResourcesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSccReportResourcesResult> getSccReportResources(GetSccReportResourcesArgs args, InvokeOptions options)
    public static Output<GetSccReportResourcesResult> getSccReportResources(GetSccReportResourcesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getSccReportResources:getSccReportResources
      arguments:
        # arguments dictionary

    The following arguments are supported:

    InstanceId string
    The ID of the SCC instance in a particular region.
    ReportId string
    The ID of the scan that is associated with a report.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    AccountId string
    The ID of the account owning a resource.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    ComponentId string
    The ID of component.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9.\\-]+$/.
    Id string
    The ID of the resource.

    • Constraints: The maximum length is 1024 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    ResourceName string
    The name of the resource.

    • Constraints: The maximum length is 1024 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    Sort string
    This field sorts resources by using a valid sort field. To learn more, see Sorting.

    • Constraints: Allowable values are: account_id, component_id, resource_name, status.
    Status string
    The compliance status value.

    • Constraints: Allowable values are: compliant, not_compliant, unable_to_perform, user_evaluation_required.
    InstanceId string
    The ID of the SCC instance in a particular region.
    ReportId string
    The ID of the scan that is associated with a report.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    AccountId string
    The ID of the account owning a resource.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    ComponentId string
    The ID of component.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9.\\-]+$/.
    Id string
    The ID of the resource.

    • Constraints: The maximum length is 1024 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    ResourceName string
    The name of the resource.

    • Constraints: The maximum length is 1024 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    Sort string
    This field sorts resources by using a valid sort field. To learn more, see Sorting.

    • Constraints: Allowable values are: account_id, component_id, resource_name, status.
    Status string
    The compliance status value.

    • Constraints: Allowable values are: compliant, not_compliant, unable_to_perform, user_evaluation_required.
    instanceId String
    The ID of the SCC instance in a particular region.
    reportId String
    The ID of the scan that is associated with a report.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    accountId String
    The ID of the account owning a resource.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    componentId String
    The ID of component.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9.\\-]+$/.
    id String
    The ID of the resource.

    • Constraints: The maximum length is 1024 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    resourceName String
    The name of the resource.

    • Constraints: The maximum length is 1024 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    sort String
    This field sorts resources by using a valid sort field. To learn more, see Sorting.

    • Constraints: Allowable values are: account_id, component_id, resource_name, status.
    status String
    The compliance status value.

    • Constraints: Allowable values are: compliant, not_compliant, unable_to_perform, user_evaluation_required.
    instanceId string
    The ID of the SCC instance in a particular region.
    reportId string
    The ID of the scan that is associated with a report.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    accountId string
    The ID of the account owning a resource.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    componentId string
    The ID of component.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9.\\-]+$/.
    id string
    The ID of the resource.

    • Constraints: The maximum length is 1024 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    resourceName string
    The name of the resource.

    • Constraints: The maximum length is 1024 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    sort string
    This field sorts resources by using a valid sort field. To learn more, see Sorting.

    • Constraints: Allowable values are: account_id, component_id, resource_name, status.
    status string
    The compliance status value.

    • Constraints: Allowable values are: compliant, not_compliant, unable_to_perform, user_evaluation_required.
    instance_id str
    The ID of the SCC instance in a particular region.
    report_id str
    The ID of the scan that is associated with a report.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    account_id str
    The ID of the account owning a resource.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    component_id str
    The ID of component.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9.\\-]+$/.
    id str
    The ID of the resource.

    • Constraints: The maximum length is 1024 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    resource_name str
    The name of the resource.

    • Constraints: The maximum length is 1024 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    sort str
    This field sorts resources by using a valid sort field. To learn more, see Sorting.

    • Constraints: Allowable values are: account_id, component_id, resource_name, status.
    status str
    The compliance status value.

    • Constraints: Allowable values are: compliant, not_compliant, unable_to_perform, user_evaluation_required.
    instanceId String
    The ID of the SCC instance in a particular region.
    reportId String
    The ID of the scan that is associated with a report.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    accountId String
    The ID of the account owning a resource.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    componentId String
    The ID of component.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9.\\-]+$/.
    id String
    The ID of the resource.

    • Constraints: The maximum length is 1024 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    resourceName String
    The name of the resource.

    • Constraints: The maximum length is 1024 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    sort String
    This field sorts resources by using a valid sort field. To learn more, see Sorting.

    • Constraints: Allowable values are: account_id, component_id, resource_name, status.
    status String
    The compliance status value.

    • Constraints: Allowable values are: compliant, not_compliant, unable_to_perform, user_evaluation_required.

    getSccReportResources Result

    The following output properties are available:

    Firsts List<GetSccReportResourcesFirst>
    (List) The page reference. Nested schema for first:
    HomeAccountId string
    (String) The ID of the home account.
    InstanceId string
    ReportId string
    (String) The ID of the report.
    Resources List<GetSccReportResourcesResource>
    (List) The list of resource evaluation summaries that are on the page.

    • Constraints: The maximum length is 100 items. The minimum length is 0 items. Nested schema for resources:
    AccountId string
    ComponentId string
    (String) The ID of the component.
    Id string
    (String) The resource CRN.
    ResourceName string
    (String) The resource name.
    Sort string
    Status string
    (String) The allowed values of an aggregated status for controls, specifications, assessments, and resources.

    • Constraints: Allowable values are: compliant, not_compliant, unable_to_perform, user_evaluation_required.
    Firsts []GetSccReportResourcesFirst
    (List) The page reference. Nested schema for first:
    HomeAccountId string
    (String) The ID of the home account.
    InstanceId string
    ReportId string
    (String) The ID of the report.
    Resources []GetSccReportResourcesResource
    (List) The list of resource evaluation summaries that are on the page.

    • Constraints: The maximum length is 100 items. The minimum length is 0 items. Nested schema for resources:
    AccountId string
    ComponentId string
    (String) The ID of the component.
    Id string
    (String) The resource CRN.
    ResourceName string
    (String) The resource name.
    Sort string
    Status string
    (String) The allowed values of an aggregated status for controls, specifications, assessments, and resources.

    • Constraints: Allowable values are: compliant, not_compliant, unable_to_perform, user_evaluation_required.
    firsts List<GetSccReportResourcesFirst>
    (List) The page reference. Nested schema for first:
    homeAccountId String
    (String) The ID of the home account.
    instanceId String
    reportId String
    (String) The ID of the report.
    resources List<GetSccReportResourcesResource>
    (List) The list of resource evaluation summaries that are on the page.

    • Constraints: The maximum length is 100 items. The minimum length is 0 items. Nested schema for resources:
    accountId String
    componentId String
    (String) The ID of the component.
    id String
    (String) The resource CRN.
    resourceName String
    (String) The resource name.
    sort String
    status String
    (String) The allowed values of an aggregated status for controls, specifications, assessments, and resources.

    • Constraints: Allowable values are: compliant, not_compliant, unable_to_perform, user_evaluation_required.
    firsts GetSccReportResourcesFirst[]
    (List) The page reference. Nested schema for first:
    homeAccountId string
    (String) The ID of the home account.
    instanceId string
    reportId string
    (String) The ID of the report.
    resources GetSccReportResourcesResource[]
    (List) The list of resource evaluation summaries that are on the page.

    • Constraints: The maximum length is 100 items. The minimum length is 0 items. Nested schema for resources:
    accountId string
    componentId string
    (String) The ID of the component.
    id string
    (String) The resource CRN.
    resourceName string
    (String) The resource name.
    sort string
    status string
    (String) The allowed values of an aggregated status for controls, specifications, assessments, and resources.

    • Constraints: Allowable values are: compliant, not_compliant, unable_to_perform, user_evaluation_required.
    firsts Sequence[GetSccReportResourcesFirst]
    (List) The page reference. Nested schema for first:
    home_account_id str
    (String) The ID of the home account.
    instance_id str
    report_id str
    (String) The ID of the report.
    resources Sequence[GetSccReportResourcesResource]
    (List) The list of resource evaluation summaries that are on the page.

    • Constraints: The maximum length is 100 items. The minimum length is 0 items. Nested schema for resources:
    account_id str
    component_id str
    (String) The ID of the component.
    id str
    (String) The resource CRN.
    resource_name str
    (String) The resource name.
    sort str
    status str
    (String) The allowed values of an aggregated status for controls, specifications, assessments, and resources.

    • Constraints: Allowable values are: compliant, not_compliant, unable_to_perform, user_evaluation_required.
    firsts List<Property Map>
    (List) The page reference. Nested schema for first:
    homeAccountId String
    (String) The ID of the home account.
    instanceId String
    reportId String
    (String) The ID of the report.
    resources List<Property Map>
    (List) The list of resource evaluation summaries that are on the page.

    • Constraints: The maximum length is 100 items. The minimum length is 0 items. Nested schema for resources:
    accountId String
    componentId String
    (String) The ID of the component.
    id String
    (String) The resource CRN.
    resourceName String
    (String) The resource name.
    sort String
    status String
    (String) The allowed values of an aggregated status for controls, specifications, assessments, and resources.

    • Constraints: Allowable values are: compliant, not_compliant, unable_to_perform, user_evaluation_required.

    Supporting Types

    GetSccReportResourcesFirst

    Href string
    (String) The URL for the first and next page.
    Href string
    (String) The URL for the first and next page.
    href String
    (String) The URL for the first and next page.
    href string
    (String) The URL for the first and next page.
    href str
    (String) The URL for the first and next page.
    href String
    (String) The URL for the first and next page.

    GetSccReportResourcesResource

    Accounts List<GetSccReportResourcesResourceAccount>
    (List) The account that is associated with a report. Nested schema for account:
    CompletedCount double
    (Integer) The total number of completed evaluations.
    ComponentId string
    The ID of component.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9.\\-]+$/.
    Environment string
    (String) The environment.
    ErrorCount double
    (Integer) The number of evaluations that started, but did not finish, and ended with errors.
    FailureCount double
    (Integer) The number of failed evaluations.
    Id string
    The ID of the resource.

    • Constraints: The maximum length is 1024 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    PassCount double
    (Integer) The number of passed evaluations.
    ReportId string
    The ID of the scan that is associated with a report.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    ResourceName string
    The name of the resource.

    • Constraints: The maximum length is 1024 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    Status string
    The compliance status value.

    • Constraints: Allowable values are: compliant, not_compliant, unable_to_perform, user_evaluation_required.
    TotalCount double
    (Integer) The total number of evaluations.
    Accounts []GetSccReportResourcesResourceAccount
    (List) The account that is associated with a report. Nested schema for account:
    CompletedCount float64
    (Integer) The total number of completed evaluations.
    ComponentId string
    The ID of component.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9.\\-]+$/.
    Environment string
    (String) The environment.
    ErrorCount float64
    (Integer) The number of evaluations that started, but did not finish, and ended with errors.
    FailureCount float64
    (Integer) The number of failed evaluations.
    Id string
    The ID of the resource.

    • Constraints: The maximum length is 1024 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    PassCount float64
    (Integer) The number of passed evaluations.
    ReportId string
    The ID of the scan that is associated with a report.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    ResourceName string
    The name of the resource.

    • Constraints: The maximum length is 1024 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    Status string
    The compliance status value.

    • Constraints: Allowable values are: compliant, not_compliant, unable_to_perform, user_evaluation_required.
    TotalCount float64
    (Integer) The total number of evaluations.
    accounts List<GetSccReportResourcesResourceAccount>
    (List) The account that is associated with a report. Nested schema for account:
    completedCount Double
    (Integer) The total number of completed evaluations.
    componentId String
    The ID of component.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9.\\-]+$/.
    environment String
    (String) The environment.
    errorCount Double
    (Integer) The number of evaluations that started, but did not finish, and ended with errors.
    failureCount Double
    (Integer) The number of failed evaluations.
    id String
    The ID of the resource.

    • Constraints: The maximum length is 1024 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    passCount Double
    (Integer) The number of passed evaluations.
    reportId String
    The ID of the scan that is associated with a report.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    resourceName String
    The name of the resource.

    • Constraints: The maximum length is 1024 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    status String
    The compliance status value.

    • Constraints: Allowable values are: compliant, not_compliant, unable_to_perform, user_evaluation_required.
    totalCount Double
    (Integer) The total number of evaluations.
    accounts GetSccReportResourcesResourceAccount[]
    (List) The account that is associated with a report. Nested schema for account:
    completedCount number
    (Integer) The total number of completed evaluations.
    componentId string
    The ID of component.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9.\\-]+$/.
    environment string
    (String) The environment.
    errorCount number
    (Integer) The number of evaluations that started, but did not finish, and ended with errors.
    failureCount number
    (Integer) The number of failed evaluations.
    id string
    The ID of the resource.

    • Constraints: The maximum length is 1024 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    passCount number
    (Integer) The number of passed evaluations.
    reportId string
    The ID of the scan that is associated with a report.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    resourceName string
    The name of the resource.

    • Constraints: The maximum length is 1024 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    status string
    The compliance status value.

    • Constraints: Allowable values are: compliant, not_compliant, unable_to_perform, user_evaluation_required.
    totalCount number
    (Integer) The total number of evaluations.
    accounts Sequence[GetSccReportResourcesResourceAccount]
    (List) The account that is associated with a report. Nested schema for account:
    completed_count float
    (Integer) The total number of completed evaluations.
    component_id str
    The ID of component.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9.\\-]+$/.
    environment str
    (String) The environment.
    error_count float
    (Integer) The number of evaluations that started, but did not finish, and ended with errors.
    failure_count float
    (Integer) The number of failed evaluations.
    id str
    The ID of the resource.

    • Constraints: The maximum length is 1024 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    pass_count float
    (Integer) The number of passed evaluations.
    report_id str
    The ID of the scan that is associated with a report.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    resource_name str
    The name of the resource.

    • Constraints: The maximum length is 1024 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    status str
    The compliance status value.

    • Constraints: Allowable values are: compliant, not_compliant, unable_to_perform, user_evaluation_required.
    total_count float
    (Integer) The total number of evaluations.
    accounts List<Property Map>
    (List) The account that is associated with a report. Nested schema for account:
    completedCount Number
    (Integer) The total number of completed evaluations.
    componentId String
    The ID of component.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9.\\-]+$/.
    environment String
    (String) The environment.
    errorCount Number
    (Integer) The number of evaluations that started, but did not finish, and ended with errors.
    failureCount Number
    (Integer) The number of failed evaluations.
    id String
    The ID of the resource.

    • Constraints: The maximum length is 1024 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    passCount Number
    (Integer) The number of passed evaluations.
    reportId String
    The ID of the scan that is associated with a report.

    • Constraints: The maximum length is 128 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    resourceName String
    The name of the resource.

    • Constraints: The maximum length is 1024 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    status String
    The compliance status value.

    • Constraints: Allowable values are: compliant, not_compliant, unable_to_perform, user_evaluation_required.
    totalCount Number
    (Integer) The total number of evaluations.

    GetSccReportResourcesResourceAccount

    Id string
    The ID of the resource.

    • Constraints: The maximum length is 1024 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    Name string
    (String) The account name.
    Type string
    (String) The account type.
    Id string
    The ID of the resource.

    • Constraints: The maximum length is 1024 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    Name string
    (String) The account name.
    Type string
    (String) The account type.
    id String
    The ID of the resource.

    • Constraints: The maximum length is 1024 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    name String
    (String) The account name.
    type String
    (String) The account type.
    id string
    The ID of the resource.

    • Constraints: The maximum length is 1024 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    name string
    (String) The account name.
    type string
    (String) The account type.
    id str
    The ID of the resource.

    • Constraints: The maximum length is 1024 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    name str
    (String) The account name.
    type str
    (String) The account type.
    id String
    The ID of the resource.

    • Constraints: The maximum length is 1024 characters. The minimum length is 1 character. The value must match regular expression /^[a-zA-Z0-9\\-]+$/.
    name String
    (String) The account name.
    type String
    (String) The account type.

    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