1. Packages
  2. Packages
  3. Google Cloud (GCP) Classic
  4. API Docs
  5. storage
  6. getControlProjectIntelligenceFindingsSummary
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 project and location.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const summary = gcp.storage.getControlProjectIntelligenceFindingsSummary({
        project: "my-project-id",
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    summary = gcp.storage.get_control_project_intelligence_findings_summary(project="my-project-id")
    
    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.GetControlProjectIntelligenceFindingsSummary(ctx, &storage.GetControlProjectIntelligenceFindingsSummaryArgs{
    			Project: pulumi.StringRef("my-project-id"),
    		}, 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.GetControlProjectIntelligenceFindingsSummary.Invoke(new()
        {
            Project = "my-project-id",
        });
    
    });
    
    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.GetControlProjectIntelligenceFindingsSummaryArgs;
    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.getControlProjectIntelligenceFindingsSummary(GetControlProjectIntelligenceFindingsSummaryArgs.builder()
                .project("my-project-id")
                .build());
    
        }
    }
    
    variables:
      summary:
        fn::invoke:
          function: gcp:storage:getControlProjectIntelligenceFindingsSummary
          arguments:
            project: my-project-id
    
    pulumi {
      required_providers {
        gcp = {
          source = "pulumi/gcp"
        }
      }
    }
    
    data "gcp_storage_getcontrolprojectintelligencefindingssummary" "summary" {
      project = "my-project-id"
    }
    

    Using getControlProjectIntelligenceFindingsSummary

    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 getControlProjectIntelligenceFindingsSummary(args: GetControlProjectIntelligenceFindingsSummaryArgs, opts?: InvokeOptions): Promise<GetControlProjectIntelligenceFindingsSummaryResult>
    function getControlProjectIntelligenceFindingsSummaryOutput(args: GetControlProjectIntelligenceFindingsSummaryOutputArgs, opts?: InvokeOptions): Output<GetControlProjectIntelligenceFindingsSummaryResult>
    def get_control_project_intelligence_findings_summary(filter: Optional[str] = None,
                                                          location: Optional[str] = None,
                                                          project: Optional[str] = None,
                                                          resource_scope: Optional[str] = None,
                                                          opts: Optional[InvokeOptions] = None) -> GetControlProjectIntelligenceFindingsSummaryResult
    def get_control_project_intelligence_findings_summary_output(filter: pulumi.Input[Optional[str]] = None,
                                                          location: pulumi.Input[Optional[str]] = None,
                                                          project: pulumi.Input[Optional[str]] = None,
                                                          resource_scope: pulumi.Input[Optional[str]] = None,
                                                          opts: Optional[InvokeOptions] = None) -> Output[GetControlProjectIntelligenceFindingsSummaryResult]
    func GetControlProjectIntelligenceFindingsSummary(ctx *Context, args *GetControlProjectIntelligenceFindingsSummaryArgs, opts ...InvokeOption) (*GetControlProjectIntelligenceFindingsSummaryResult, error)
    func GetControlProjectIntelligenceFindingsSummaryOutput(ctx *Context, args *GetControlProjectIntelligenceFindingsSummaryOutputArgs, opts ...InvokeOption) GetControlProjectIntelligenceFindingsSummaryResultOutput

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

    public static class GetControlProjectIntelligenceFindingsSummary 
    {
        public static Task<GetControlProjectIntelligenceFindingsSummaryResult> InvokeAsync(GetControlProjectIntelligenceFindingsSummaryArgs args, InvokeOptions? opts = null)
        public static Output<GetControlProjectIntelligenceFindingsSummaryResult> Invoke(GetControlProjectIntelligenceFindingsSummaryInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetControlProjectIntelligenceFindingsSummaryResult> getControlProjectIntelligenceFindingsSummary(GetControlProjectIntelligenceFindingsSummaryArgs args, InvokeOptions options)
    public static Output<GetControlProjectIntelligenceFindingsSummaryResult> getControlProjectIntelligenceFindingsSummary(GetControlProjectIntelligenceFindingsSummaryArgs args, InvokeOptions options)
    
    fn::invoke:
      function: gcp:storage/getControlProjectIntelligenceFindingsSummary:getControlProjectIntelligenceFindingsSummary
      arguments:
        # arguments dictionary
    data "gcp_storage_get_control_project_intelligence_findings_summary" "name" {
        # arguments
    }

    The following arguments are supported:

    Filter string
    The filter expression to apply.
    Location string
    The location of the intelligence findings summary. Currently default value is global and users cannot use for input for now.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    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.
    Filter string
    The filter expression to apply.
    Location string
    The location of the intelligence findings summary. Currently default value is global and users cannot use for input for now.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    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.
    filter string
    The filter expression to apply.
    location string
    The location of the intelligence findings summary. Currently default value is global and users cannot use for input for now.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    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.
    filter String
    The filter expression to apply.
    location String
    The location of the intelligence findings summary. Currently default value is global and users cannot use for input for now.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    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.
    filter string
    The filter expression to apply.
    location string
    The location of the intelligence findings summary. Currently default value is global and users cannot use for input for now.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    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.
    filter str
    The filter expression to apply.
    location str
    The location of the intelligence findings summary. Currently default value is global and users cannot use for input for now.
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    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.
    filter String
    The filter expression to apply.
    location String
    The location of the intelligence findings summary. Currently default value is global and users cannot use for input for now.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    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.

    getControlProjectIntelligenceFindingsSummary Result

    The following output properties are available:

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

    Supporting Types

    GetControlProjectIntelligenceFindingsSummaryFindingSummary

    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<GetControlProjectIntelligenceFindingsSummaryFindingSummarySummaryDetail>
    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 []GetControlProjectIntelligenceFindingsSummaryFindingSummarySummaryDetail
    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<GetControlProjectIntelligenceFindingsSummaryFindingSummarySummaryDetail>
    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 GetControlProjectIntelligenceFindingsSummaryFindingSummarySummaryDetail[]
    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[GetControlProjectIntelligenceFindingsSummaryFindingSummarySummaryDetail]
    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.

    GetControlProjectIntelligenceFindingsSummaryFindingSummarySummaryDetail

    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