1. Packages
  2. Packages
  3. Google Cloud (GCP) Classic
  4. API Docs
  5. storage
  6. getControlFolderIntelligenceFindingsSummary
Viewing docs for Google Cloud v9.32.1
published on Wednesday, Jul 29, 2026 by Pulumi
gcp logo
Viewing docs for Google Cloud v9.32.1
published on Wednesday, Jul 29, 2026 by Pulumi

    Summarizes Cloud Storage intelligence findings in a specified folder and location.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const summary = gcp.storage.getControlFolderIntelligenceFindingsSummary({
        folder: "1234567890",
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    summary = gcp.storage.get_control_folder_intelligence_findings_summary(folder="1234567890")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/storage"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := storage.GetControlFolderIntelligenceFindingsSummary(ctx, &storage.GetControlFolderIntelligenceFindingsSummaryArgs{
    			Folder: "1234567890",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var summary = Gcp.Storage.GetControlFolderIntelligenceFindingsSummary.Invoke(new()
        {
            Folder = "1234567890",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.storage.StorageFunctions;
    import com.pulumi.gcp.storage.inputs.GetControlFolderIntelligenceFindingsSummaryArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 summary = StorageFunctions.getControlFolderIntelligenceFindingsSummary(GetControlFolderIntelligenceFindingsSummaryArgs.builder()
                .folder("1234567890")
                .build());
    
        }
    }
    
    variables:
      summary:
        fn::invoke:
          function: gcp:storage:getControlFolderIntelligenceFindingsSummary
          arguments:
            folder: '1234567890'
    
    pulumi {
      required_providers {
        gcp = {
          source = "pulumi/gcp"
        }
      }
    }
    
    data "gcp_storage_getcontrolfolderintelligencefindingssummary" "summary" {
      folder = "1234567890"
    }
    

    Using getControlFolderIntelligenceFindingsSummary

    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 getControlFolderIntelligenceFindingsSummary(args: GetControlFolderIntelligenceFindingsSummaryArgs, opts?: InvokeOptions): Promise<GetControlFolderIntelligenceFindingsSummaryResult>
    function getControlFolderIntelligenceFindingsSummaryOutput(args: GetControlFolderIntelligenceFindingsSummaryOutputArgs, opts?: InvokeOptions): Output<GetControlFolderIntelligenceFindingsSummaryResult>
    def get_control_folder_intelligence_findings_summary(filter: Optional[str] = None,
                                                         folder: Optional[str] = None,
                                                         location: Optional[str] = None,
                                                         resource_scope: Optional[str] = None,
                                                         opts: Optional[InvokeOptions] = None) -> GetControlFolderIntelligenceFindingsSummaryResult
    def get_control_folder_intelligence_findings_summary_output(filter: pulumi.Input[Optional[str]] = None,
                                                         folder: pulumi.Input[Optional[str]] = None,
                                                         location: pulumi.Input[Optional[str]] = None,
                                                         resource_scope: pulumi.Input[Optional[str]] = None,
                                                         opts: Optional[InvokeOptions] = None) -> Output[GetControlFolderIntelligenceFindingsSummaryResult]
    func GetControlFolderIntelligenceFindingsSummary(ctx *Context, args *GetControlFolderIntelligenceFindingsSummaryArgs, opts ...InvokeOption) (*GetControlFolderIntelligenceFindingsSummaryResult, error)
    func GetControlFolderIntelligenceFindingsSummaryOutput(ctx *Context, args *GetControlFolderIntelligenceFindingsSummaryOutputArgs, opts ...InvokeOption) GetControlFolderIntelligenceFindingsSummaryResultOutput

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

    public static class GetControlFolderIntelligenceFindingsSummary 
    {
        public static Task<GetControlFolderIntelligenceFindingsSummaryResult> InvokeAsync(GetControlFolderIntelligenceFindingsSummaryArgs args, InvokeOptions? opts = null)
        public static Output<GetControlFolderIntelligenceFindingsSummaryResult> Invoke(GetControlFolderIntelligenceFindingsSummaryInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetControlFolderIntelligenceFindingsSummaryResult> getControlFolderIntelligenceFindingsSummary(GetControlFolderIntelligenceFindingsSummaryArgs args, InvokeOptions options)
    public static Output<GetControlFolderIntelligenceFindingsSummaryResult> getControlFolderIntelligenceFindingsSummary(GetControlFolderIntelligenceFindingsSummaryArgs args, InvokeOptions options)
    
    fn::invoke:
      function: gcp:storage/getControlFolderIntelligenceFindingsSummary:getControlFolderIntelligenceFindingsSummary
      arguments:
        # arguments dictionary
    data "gcp_storage_get_control_folder_intelligence_findings_summary" "name" {
        # arguments
    }

    The following arguments are supported:

    Folder string
    The ID of the Google Cloud Folder.
    Filter string
    The filter expression. Supports filtering by FindingType.
    Location string
    The location of the intelligence findings summary. Currently default value is global and users cannot use for input for now.
    ResourceScope string
    Determines the granularity of the findings when the parent is an organization or folder. Only supported when parent is an organization or folder. Possible values are PARENT and PROJECT. Default value is PARENT.
    Folder string
    The ID of the Google Cloud Folder.
    Filter string
    The filter expression. Supports filtering by FindingType.
    Location string
    The location of the intelligence findings summary. Currently default value is global and users cannot use for input for now.
    ResourceScope string
    Determines the granularity of the findings when the parent is an organization or folder. Only supported when parent is an organization or folder. Possible values are PARENT and PROJECT. Default value is PARENT.
    folder string
    The ID of the Google Cloud Folder.
    filter string
    The filter expression. Supports filtering by FindingType.
    location string
    The location of the intelligence findings summary. Currently default value is global and users cannot use for input for now.
    resource_scope string
    Determines the granularity of the findings when the parent is an organization or folder. Only supported when parent is an organization or folder. Possible values are PARENT and PROJECT. Default value is PARENT.
    folder String
    The ID of the Google Cloud Folder.
    filter String
    The filter expression. Supports filtering by FindingType.
    location String
    The location of the intelligence findings summary. Currently default value is global and users cannot use for input for now.
    resourceScope String
    Determines the granularity of the findings when the parent is an organization or folder. Only supported when parent is an organization or folder. Possible values are PARENT and PROJECT. Default value is PARENT.
    folder string
    The ID of the Google Cloud Folder.
    filter string
    The filter expression. Supports filtering by FindingType.
    location string
    The location of the intelligence findings summary. Currently default value is global and users cannot use for input for now.
    resourceScope string
    Determines the granularity of the findings when the parent is an organization or folder. Only supported when parent is an organization or folder. Possible values are PARENT and PROJECT. Default value is PARENT.
    folder str
    The ID of the Google Cloud Folder.
    filter str
    The filter expression. Supports filtering by FindingType.
    location str
    The location of the intelligence findings summary. Currently default value is global and users cannot use for input for now.
    resource_scope str
    Determines the granularity of the findings when the parent is an organization or folder. Only supported when parent is an organization or folder. Possible values are PARENT and PROJECT. Default value is PARENT.
    folder String
    The ID of the Google Cloud Folder.
    filter String
    The filter expression. Supports filtering by FindingType.
    location String
    The location of the intelligence findings summary. Currently default value is global and users cannot use for input for now.
    resourceScope String
    Determines the granularity of the findings when the parent is an organization or folder. Only supported when parent is an organization or folder. Possible values are PARENT and PROJECT. Default value is PARENT.

    getControlFolderIntelligenceFindingsSummary Result

    The following output properties are available:

    FindingSummaries List<GetControlFolderIntelligenceFindingsSummaryFindingSummary>
    The list of FindingSummary summaries. Structure is documented below.
    Folder string
    Id string
    The provider-assigned unique ID for this managed resource.
    Filter string
    Location string
    ResourceScope string
    FindingSummaries []GetControlFolderIntelligenceFindingsSummaryFindingSummary
    The list of FindingSummary summaries. Structure is documented below.
    Folder string
    Id string
    The provider-assigned unique ID for this managed resource.
    Filter string
    Location string
    ResourceScope string
    finding_summaries list(object)
    The list of FindingSummary summaries. Structure is documented below.
    folder string
    id string
    The provider-assigned unique ID for this managed resource.
    filter string
    location string
    resource_scope string
    findingSummaries List<GetControlFolderIntelligenceFindingsSummaryFindingSummary>
    The list of FindingSummary summaries. Structure is documented below.
    folder String
    id String
    The provider-assigned unique ID for this managed resource.
    filter String
    location String
    resourceScope String
    findingSummaries GetControlFolderIntelligenceFindingsSummaryFindingSummary[]
    The list of FindingSummary summaries. Structure is documented below.
    folder string
    id string
    The provider-assigned unique ID for this managed resource.
    filter string
    location string
    resourceScope string
    finding_summaries Sequence[GetControlFolderIntelligenceFindingsSummaryFindingSummary]
    The list of FindingSummary summaries. Structure is documented below.
    folder str
    id str
    The provider-assigned unique ID for this managed resource.
    filter str
    location str
    resource_scope str
    findingSummaries List<Property Map>
    The list of FindingSummary summaries. Structure is documented below.
    folder String
    id String
    The provider-assigned unique ID for this managed resource.
    filter String
    location String
    resourceScope String

    Supporting Types

    GetControlFolderIntelligenceFindingsSummaryFindingSummary

    Category string
    The category of the finding.
    CreateTime string
    The creation time of the earliest finding that this summary is based on.
    Severity string
    Severity of the finding.
    SummaryDetails List<GetControlFolderIntelligenceFindingsSummaryFindingSummarySummaryDetail>
    The SummaryDetails resources. Structure is documented below.
    TargetResource string
    The fully qualified Cloud resource name for which this summary was generated.
    Type string
    The type of finding.
    UpdateTime string
    The time of the most recent update among all the findings that this summary is based on.
    Category string
    The category of the finding.
    CreateTime string
    The creation time of the earliest finding that this summary is based on.
    Severity string
    Severity of the finding.
    SummaryDetails []GetControlFolderIntelligenceFindingsSummaryFindingSummarySummaryDetail
    The SummaryDetails resources. Structure is documented below.
    TargetResource string
    The fully qualified Cloud resource name for which this summary was generated.
    Type string
    The type of finding.
    UpdateTime string
    The time of the most recent update among all the findings that this summary is based on.
    category string
    The category of the finding.
    create_time string
    The creation time of the earliest finding that this summary is based on.
    severity string
    Severity of the finding.
    summary_details list(object)
    The SummaryDetails resources. Structure is documented below.
    target_resource string
    The fully qualified Cloud resource name for which this summary was generated.
    type string
    The type of finding.
    update_time string
    The time of the most recent update among all the findings that this summary is based on.
    category String
    The category of the finding.
    createTime String
    The creation time of the earliest finding that this summary is based on.
    severity String
    Severity of the finding.
    summaryDetails List<GetControlFolderIntelligenceFindingsSummaryFindingSummarySummaryDetail>
    The SummaryDetails resources. Structure is documented below.
    targetResource String
    The fully qualified Cloud resource name for which this summary was generated.
    type String
    The type of finding.
    updateTime String
    The time of the most recent update among all the findings that this summary is based on.
    category string
    The category of the finding.
    createTime string
    The creation time of the earliest finding that this summary is based on.
    severity string
    Severity of the finding.
    summaryDetails GetControlFolderIntelligenceFindingsSummaryFindingSummarySummaryDetail[]
    The SummaryDetails resources. Structure is documented below.
    targetResource string
    The fully qualified Cloud resource name for which this summary was generated.
    type string
    The type of finding.
    updateTime string
    The time of the most recent update among all the findings that this summary is based on.
    category str
    The category of the finding.
    create_time str
    The creation time of the earliest finding that this summary is based on.
    severity str
    Severity of the finding.
    summary_details Sequence[GetControlFolderIntelligenceFindingsSummaryFindingSummarySummaryDetail]
    The SummaryDetails resources. Structure is documented below.
    target_resource str
    The fully qualified Cloud resource name for which this summary was generated.
    type str
    The type of finding.
    update_time str
    The time of the most recent update among all the findings that this summary is based on.
    category String
    The category of the finding.
    createTime String
    The creation time of the earliest finding that this summary is based on.
    severity String
    Severity of the finding.
    summaryDetails List<Property Map>
    The SummaryDetails resources. Structure is documented below.
    targetResource String
    The fully qualified Cloud resource name for which this summary was generated.
    type String
    The type of finding.
    updateTime String
    The time of the most recent update among all the findings that this summary is based on.

    GetControlFolderIntelligenceFindingsSummaryFindingSummarySummaryDetail

    Count string
    The count of impacted resources.
    Description string
    A short description about the FindingSummary.
    Percentage double
    The percentage of impacted resources.
    ResourceType string
    The type of Cloud resource this summary detail applies to.
    Count string
    The count of impacted resources.
    Description string
    A short description about the FindingSummary.
    Percentage float64
    The percentage of impacted resources.
    ResourceType string
    The type of Cloud resource this summary detail applies to.
    count string
    The count of impacted resources.
    description string
    A short description about the FindingSummary.
    percentage number
    The percentage of impacted resources.
    resource_type string
    The type of Cloud resource this summary detail applies to.
    count String
    The count of impacted resources.
    description String
    A short description about the FindingSummary.
    percentage Double
    The percentage of impacted resources.
    resourceType String
    The type of Cloud resource this summary detail applies to.
    count string
    The count of impacted resources.
    description string
    A short description about the FindingSummary.
    percentage number
    The percentage of impacted resources.
    resourceType string
    The type of Cloud resource this summary detail applies to.
    count str
    The count of impacted resources.
    description str
    A short description about the FindingSummary.
    percentage float
    The percentage of impacted resources.
    resource_type str
    The type of Cloud resource this summary detail applies to.
    count String
    The count of impacted resources.
    description String
    A short description about the FindingSummary.
    percentage Number
    The percentage of impacted resources.
    resourceType String
    The type of Cloud resource this summary detail applies to.

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Viewing docs for Google Cloud v9.32.1
    published on Wednesday, Jul 29, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial