1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. securitycenter
  5. V2OrganizationSccBigQueryExports
Google Cloud Classic v8.3.1 published on Wednesday, Sep 25, 2024 by Pulumi

gcp.securitycenter.V2OrganizationSccBigQueryExports

Explore with Pulumi AI

gcp logo
Google Cloud Classic v8.3.1 published on Wednesday, Sep 25, 2024 by Pulumi

    Warning: gcp.securitycenter.V2OrganizationSccBigQueryExports is deprecated and will be removed in a future major release. Use gcp.securitycenter.V2OrganizationSccBigQueryExport instead.

    A Cloud Security Command Center (Cloud SCC) Big Query Export Config. It represents exporting Security Command Center data, including assets, findings, and security marks using gcloud scc bqexports

    Note: In order to use Cloud SCC resources, your organization must be enrolled in SCC Standard/Premium. Without doing so, you may run into errors during resource creation.

    To get more information about OrganizationSccBigQueryExports, see:

    Example Usage

    Scc V2 Organization Big Query Exports Config Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const _default = new gcp.bigquery.Dataset("default", {
        datasetId: "",
        friendlyName: "test",
        description: "This is a test description",
        location: "US",
        defaultTableExpirationMs: 3600000,
        defaultPartitionExpirationMs: undefined,
        labels: {
            env: "default",
        },
    });
    const customBigQueryExportConfig = new gcp.securitycenter.V2OrganizationSccBigQueryExports("custom_big_query_export_config", {
        name: "my-export",
        bigQueryExportId: "my-export",
        organization: "123456789",
        dataset: _default.id,
        location: "global",
        description: "Cloud Security Command Center Findings Big Query Export Config",
        filter: "state=\"ACTIVE\" AND NOT mute=\"MUTED\"",
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    default = gcp.bigquery.Dataset("default",
        dataset_id="",
        friendly_name="test",
        description="This is a test description",
        location="US",
        default_table_expiration_ms=3600000,
        default_partition_expiration_ms=None,
        labels={
            "env": "default",
        })
    custom_big_query_export_config = gcp.securitycenter.V2OrganizationSccBigQueryExports("custom_big_query_export_config",
        name="my-export",
        big_query_export_id="my-export",
        organization="123456789",
        dataset=default.id,
        location="global",
        description="Cloud Security Command Center Findings Big Query Export Config",
        filter="state=\"ACTIVE\" AND NOT mute=\"MUTED\"")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/bigquery"
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/securitycenter"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := bigquery.NewDataset(ctx, "default", &bigquery.DatasetArgs{
    			DatasetId:                    pulumi.String(""),
    			FriendlyName:                 pulumi.String("test"),
    			Description:                  pulumi.String("This is a test description"),
    			Location:                     pulumi.String("US"),
    			DefaultTableExpirationMs:     pulumi.Int(3600000),
    			DefaultPartitionExpirationMs: nil,
    			Labels: pulumi.StringMap{
    				"env": pulumi.String("default"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = securitycenter.NewV2OrganizationSccBigQueryExports(ctx, "custom_big_query_export_config", &securitycenter.V2OrganizationSccBigQueryExportsArgs{
    			Name:             pulumi.String("my-export"),
    			BigQueryExportId: pulumi.String("my-export"),
    			Organization:     pulumi.String("123456789"),
    			Dataset:          _default.ID(),
    			Location:         pulumi.String("global"),
    			Description:      pulumi.String("Cloud Security Command Center Findings Big Query Export Config"),
    			Filter:           pulumi.String("state=\"ACTIVE\" AND NOT mute=\"MUTED\""),
    		})
    		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 @default = new Gcp.BigQuery.Dataset("default", new()
        {
            DatasetId = "",
            FriendlyName = "test",
            Description = "This is a test description",
            Location = "US",
            DefaultTableExpirationMs = 3600000,
            DefaultPartitionExpirationMs = null,
            Labels = 
            {
                { "env", "default" },
            },
        });
    
        var customBigQueryExportConfig = new Gcp.SecurityCenter.V2OrganizationSccBigQueryExports("custom_big_query_export_config", new()
        {
            Name = "my-export",
            BigQueryExportId = "my-export",
            Organization = "123456789",
            Dataset = @default.Id,
            Location = "global",
            Description = "Cloud Security Command Center Findings Big Query Export Config",
            Filter = "state=\"ACTIVE\" AND NOT mute=\"MUTED\"",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.bigquery.Dataset;
    import com.pulumi.gcp.bigquery.DatasetArgs;
    import com.pulumi.gcp.securitycenter.V2OrganizationSccBigQueryExports;
    import com.pulumi.gcp.securitycenter.V2OrganizationSccBigQueryExportsArgs;
    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) {
            var default_ = new Dataset("default", DatasetArgs.builder()
                .datasetId("")
                .friendlyName("test")
                .description("This is a test description")
                .location("US")
                .defaultTableExpirationMs(3600000)
                .defaultPartitionExpirationMs(null)
                .labels(Map.of("env", "default"))
                .build());
    
            var customBigQueryExportConfig = new V2OrganizationSccBigQueryExports("customBigQueryExportConfig", V2OrganizationSccBigQueryExportsArgs.builder()
                .name("my-export")
                .bigQueryExportId("my-export")
                .organization("123456789")
                .dataset(default_.id())
                .location("global")
                .description("Cloud Security Command Center Findings Big Query Export Config")
                .filter("state=\"ACTIVE\" AND NOT mute=\"MUTED\"")
                .build());
    
        }
    }
    
    resources:
      default:
        type: gcp:bigquery:Dataset
        properties:
          datasetId:
          friendlyName: test
          description: This is a test description
          location: US
          defaultTableExpirationMs: 3.6e+06
          defaultPartitionExpirationMs: null
          labels:
            env: default
      customBigQueryExportConfig:
        type: gcp:securitycenter:V2OrganizationSccBigQueryExports
        name: custom_big_query_export_config
        properties:
          name: my-export
          bigQueryExportId: my-export
          organization: '123456789'
          dataset: ${default.id}
          location: global
          description: Cloud Security Command Center Findings Big Query Export Config
          filter: state="ACTIVE" AND NOT mute="MUTED"
    

    Create V2OrganizationSccBigQueryExports Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new V2OrganizationSccBigQueryExports(name: string, args: V2OrganizationSccBigQueryExportsArgs, opts?: CustomResourceOptions);
    @overload
    def V2OrganizationSccBigQueryExports(resource_name: str,
                                         args: V2OrganizationSccBigQueryExportsArgs,
                                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def V2OrganizationSccBigQueryExports(resource_name: str,
                                         opts: Optional[ResourceOptions] = None,
                                         big_query_export_id: Optional[str] = None,
                                         organization: Optional[str] = None,
                                         dataset: Optional[str] = None,
                                         description: Optional[str] = None,
                                         filter: Optional[str] = None,
                                         location: Optional[str] = None,
                                         name: Optional[str] = None)
    func NewV2OrganizationSccBigQueryExports(ctx *Context, name string, args V2OrganizationSccBigQueryExportsArgs, opts ...ResourceOption) (*V2OrganizationSccBigQueryExports, error)
    public V2OrganizationSccBigQueryExports(string name, V2OrganizationSccBigQueryExportsArgs args, CustomResourceOptions? opts = null)
    public V2OrganizationSccBigQueryExports(String name, V2OrganizationSccBigQueryExportsArgs args)
    public V2OrganizationSccBigQueryExports(String name, V2OrganizationSccBigQueryExportsArgs args, CustomResourceOptions options)
    
    type: gcp:securitycenter:V2OrganizationSccBigQueryExports
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args V2OrganizationSccBigQueryExportsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args V2OrganizationSccBigQueryExportsArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args V2OrganizationSccBigQueryExportsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args V2OrganizationSccBigQueryExportsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args V2OrganizationSccBigQueryExportsArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var v2organizationSccBigQueryExportsResource = new Gcp.SecurityCenter.V2OrganizationSccBigQueryExports("v2organizationSccBigQueryExportsResource", new()
    {
        BigQueryExportId = "string",
        Organization = "string",
        Dataset = "string",
        Description = "string",
        Filter = "string",
        Location = "string",
        Name = "string",
    });
    
    example, err := securitycenter.NewV2OrganizationSccBigQueryExports(ctx, "v2organizationSccBigQueryExportsResource", &securitycenter.V2OrganizationSccBigQueryExportsArgs{
    	BigQueryExportId: pulumi.String("string"),
    	Organization:     pulumi.String("string"),
    	Dataset:          pulumi.String("string"),
    	Description:      pulumi.String("string"),
    	Filter:           pulumi.String("string"),
    	Location:         pulumi.String("string"),
    	Name:             pulumi.String("string"),
    })
    
    var v2organizationSccBigQueryExportsResource = new V2OrganizationSccBigQueryExports("v2organizationSccBigQueryExportsResource", V2OrganizationSccBigQueryExportsArgs.builder()
        .bigQueryExportId("string")
        .organization("string")
        .dataset("string")
        .description("string")
        .filter("string")
        .location("string")
        .name("string")
        .build());
    
    v2organization_scc_big_query_exports_resource = gcp.securitycenter.V2OrganizationSccBigQueryExports("v2organizationSccBigQueryExportsResource",
        big_query_export_id="string",
        organization="string",
        dataset="string",
        description="string",
        filter="string",
        location="string",
        name="string")
    
    const v2organizationSccBigQueryExportsResource = new gcp.securitycenter.V2OrganizationSccBigQueryExports("v2organizationSccBigQueryExportsResource", {
        bigQueryExportId: "string",
        organization: "string",
        dataset: "string",
        description: "string",
        filter: "string",
        location: "string",
        name: "string",
    });
    
    type: gcp:securitycenter:V2OrganizationSccBigQueryExports
    properties:
        bigQueryExportId: string
        dataset: string
        description: string
        filter: string
        location: string
        name: string
        organization: string
    

    V2OrganizationSccBigQueryExports Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The V2OrganizationSccBigQueryExports resource accepts the following input properties:

    BigQueryExportId string
    This must be unique within the organization.


    Organization string
    The organization whose Cloud Security Command Center the Big Query Export Config lives in.
    Dataset string
    The dataset to write findings' updates to. Its format is "projects/[projectId]/datasets/[bigquery_dataset_id]". BigQuery Dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
    Description string
    The description of the notification config (max of 1024 characters).
    Filter string

    Expression that defines the filter to apply across create/update events of findings. The expression is a list of zero or more restrictions combined via logical operators AND and OR. Parentheses are supported, and OR has higher precedence than AND. Restrictions have the form and may have a - character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are:

    • = for all value types.
    • , <, >=, <= for integer values.

    • :, meaning substring matching, for strings. The supported value types are:
    • string literals in quotes.
    • integer literals without quotes.
    • boolean literals true and false without quotes. See Filtering notifications for information on how to write a filter.
    Location string
    location Id is provided by organization. If not provided, Use global as default.
    Name string
    The resource name of this export, in the format organizations/{{organization}}/locations/{{location}}/bigQueryExports/{{big_query_export_id}}. This field is provided in responses, and is ignored when provided in create requests.
    BigQueryExportId string
    This must be unique within the organization.


    Organization string
    The organization whose Cloud Security Command Center the Big Query Export Config lives in.
    Dataset string
    The dataset to write findings' updates to. Its format is "projects/[projectId]/datasets/[bigquery_dataset_id]". BigQuery Dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
    Description string
    The description of the notification config (max of 1024 characters).
    Filter string

    Expression that defines the filter to apply across create/update events of findings. The expression is a list of zero or more restrictions combined via logical operators AND and OR. Parentheses are supported, and OR has higher precedence than AND. Restrictions have the form and may have a - character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are:

    • = for all value types.
    • , <, >=, <= for integer values.

    • :, meaning substring matching, for strings. The supported value types are:
    • string literals in quotes.
    • integer literals without quotes.
    • boolean literals true and false without quotes. See Filtering notifications for information on how to write a filter.
    Location string
    location Id is provided by organization. If not provided, Use global as default.
    Name string
    The resource name of this export, in the format organizations/{{organization}}/locations/{{location}}/bigQueryExports/{{big_query_export_id}}. This field is provided in responses, and is ignored when provided in create requests.
    bigQueryExportId String
    This must be unique within the organization.


    organization String
    The organization whose Cloud Security Command Center the Big Query Export Config lives in.
    dataset String
    The dataset to write findings' updates to. Its format is "projects/[projectId]/datasets/[bigquery_dataset_id]". BigQuery Dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
    description String
    The description of the notification config (max of 1024 characters).
    filter String

    Expression that defines the filter to apply across create/update events of findings. The expression is a list of zero or more restrictions combined via logical operators AND and OR. Parentheses are supported, and OR has higher precedence than AND. Restrictions have the form and may have a - character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are:

    • = for all value types.
    • , <, >=, <= for integer values.

    • :, meaning substring matching, for strings. The supported value types are:
    • string literals in quotes.
    • integer literals without quotes.
    • boolean literals true and false without quotes. See Filtering notifications for information on how to write a filter.
    location String
    location Id is provided by organization. If not provided, Use global as default.
    name String
    The resource name of this export, in the format organizations/{{organization}}/locations/{{location}}/bigQueryExports/{{big_query_export_id}}. This field is provided in responses, and is ignored when provided in create requests.
    bigQueryExportId string
    This must be unique within the organization.


    organization string
    The organization whose Cloud Security Command Center the Big Query Export Config lives in.
    dataset string
    The dataset to write findings' updates to. Its format is "projects/[projectId]/datasets/[bigquery_dataset_id]". BigQuery Dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
    description string
    The description of the notification config (max of 1024 characters).
    filter string

    Expression that defines the filter to apply across create/update events of findings. The expression is a list of zero or more restrictions combined via logical operators AND and OR. Parentheses are supported, and OR has higher precedence than AND. Restrictions have the form and may have a - character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are:

    • = for all value types.
    • , <, >=, <= for integer values.

    • :, meaning substring matching, for strings. The supported value types are:
    • string literals in quotes.
    • integer literals without quotes.
    • boolean literals true and false without quotes. See Filtering notifications for information on how to write a filter.
    location string
    location Id is provided by organization. If not provided, Use global as default.
    name string
    The resource name of this export, in the format organizations/{{organization}}/locations/{{location}}/bigQueryExports/{{big_query_export_id}}. This field is provided in responses, and is ignored when provided in create requests.
    big_query_export_id str
    This must be unique within the organization.


    organization str
    The organization whose Cloud Security Command Center the Big Query Export Config lives in.
    dataset str
    The dataset to write findings' updates to. Its format is "projects/[projectId]/datasets/[bigquery_dataset_id]". BigQuery Dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
    description str
    The description of the notification config (max of 1024 characters).
    filter str

    Expression that defines the filter to apply across create/update events of findings. The expression is a list of zero or more restrictions combined via logical operators AND and OR. Parentheses are supported, and OR has higher precedence than AND. Restrictions have the form and may have a - character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are:

    • = for all value types.
    • , <, >=, <= for integer values.

    • :, meaning substring matching, for strings. The supported value types are:
    • string literals in quotes.
    • integer literals without quotes.
    • boolean literals true and false without quotes. See Filtering notifications for information on how to write a filter.
    location str
    location Id is provided by organization. If not provided, Use global as default.
    name str
    The resource name of this export, in the format organizations/{{organization}}/locations/{{location}}/bigQueryExports/{{big_query_export_id}}. This field is provided in responses, and is ignored when provided in create requests.
    bigQueryExportId String
    This must be unique within the organization.


    organization String
    The organization whose Cloud Security Command Center the Big Query Export Config lives in.
    dataset String
    The dataset to write findings' updates to. Its format is "projects/[projectId]/datasets/[bigquery_dataset_id]". BigQuery Dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
    description String
    The description of the notification config (max of 1024 characters).
    filter String

    Expression that defines the filter to apply across create/update events of findings. The expression is a list of zero or more restrictions combined via logical operators AND and OR. Parentheses are supported, and OR has higher precedence than AND. Restrictions have the form and may have a - character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are:

    • = for all value types.
    • , <, >=, <= for integer values.

    • :, meaning substring matching, for strings. The supported value types are:
    • string literals in quotes.
    • integer literals without quotes.
    • boolean literals true and false without quotes. See Filtering notifications for information on how to write a filter.
    location String
    location Id is provided by organization. If not provided, Use global as default.
    name String
    The resource name of this export, in the format organizations/{{organization}}/locations/{{location}}/bigQueryExports/{{big_query_export_id}}. This field is provided in responses, and is ignored when provided in create requests.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the V2OrganizationSccBigQueryExports resource produces the following output properties:

    CreateTime string
    The time at which the BigQuery export was created. This field is set by the server and will be ignored if provided on export on creation. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    Id string
    The provider-assigned unique ID for this managed resource.
    MostRecentEditor string
    Email address of the user who last edited the BigQuery export. This field is set by the server and will be ignored if provided on export creation or update.
    Principal string
    The service account that needs permission to create table and upload data to the BigQuery dataset.
    UpdateTime string
    The most recent time at which the BigQuery export was updated. This field is set by the server and will be ignored if provided on export creation or update. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    CreateTime string
    The time at which the BigQuery export was created. This field is set by the server and will be ignored if provided on export on creation. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    Id string
    The provider-assigned unique ID for this managed resource.
    MostRecentEditor string
    Email address of the user who last edited the BigQuery export. This field is set by the server and will be ignored if provided on export creation or update.
    Principal string
    The service account that needs permission to create table and upload data to the BigQuery dataset.
    UpdateTime string
    The most recent time at which the BigQuery export was updated. This field is set by the server and will be ignored if provided on export creation or update. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    createTime String
    The time at which the BigQuery export was created. This field is set by the server and will be ignored if provided on export on creation. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    id String
    The provider-assigned unique ID for this managed resource.
    mostRecentEditor String
    Email address of the user who last edited the BigQuery export. This field is set by the server and will be ignored if provided on export creation or update.
    principal String
    The service account that needs permission to create table and upload data to the BigQuery dataset.
    updateTime String
    The most recent time at which the BigQuery export was updated. This field is set by the server and will be ignored if provided on export creation or update. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    createTime string
    The time at which the BigQuery export was created. This field is set by the server and will be ignored if provided on export on creation. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    id string
    The provider-assigned unique ID for this managed resource.
    mostRecentEditor string
    Email address of the user who last edited the BigQuery export. This field is set by the server and will be ignored if provided on export creation or update.
    principal string
    The service account that needs permission to create table and upload data to the BigQuery dataset.
    updateTime string
    The most recent time at which the BigQuery export was updated. This field is set by the server and will be ignored if provided on export creation or update. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    create_time str
    The time at which the BigQuery export was created. This field is set by the server and will be ignored if provided on export on creation. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    id str
    The provider-assigned unique ID for this managed resource.
    most_recent_editor str
    Email address of the user who last edited the BigQuery export. This field is set by the server and will be ignored if provided on export creation or update.
    principal str
    The service account that needs permission to create table and upload data to the BigQuery dataset.
    update_time str
    The most recent time at which the BigQuery export was updated. This field is set by the server and will be ignored if provided on export creation or update. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    createTime String
    The time at which the BigQuery export was created. This field is set by the server and will be ignored if provided on export on creation. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    id String
    The provider-assigned unique ID for this managed resource.
    mostRecentEditor String
    Email address of the user who last edited the BigQuery export. This field is set by the server and will be ignored if provided on export creation or update.
    principal String
    The service account that needs permission to create table and upload data to the BigQuery dataset.
    updateTime String
    The most recent time at which the BigQuery export was updated. This field is set by the server and will be ignored if provided on export creation or update. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    Look up Existing V2OrganizationSccBigQueryExports Resource

    Get an existing V2OrganizationSccBigQueryExports resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: V2OrganizationSccBigQueryExportsState, opts?: CustomResourceOptions): V2OrganizationSccBigQueryExports
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            big_query_export_id: Optional[str] = None,
            create_time: Optional[str] = None,
            dataset: Optional[str] = None,
            description: Optional[str] = None,
            filter: Optional[str] = None,
            location: Optional[str] = None,
            most_recent_editor: Optional[str] = None,
            name: Optional[str] = None,
            organization: Optional[str] = None,
            principal: Optional[str] = None,
            update_time: Optional[str] = None) -> V2OrganizationSccBigQueryExports
    func GetV2OrganizationSccBigQueryExports(ctx *Context, name string, id IDInput, state *V2OrganizationSccBigQueryExportsState, opts ...ResourceOption) (*V2OrganizationSccBigQueryExports, error)
    public static V2OrganizationSccBigQueryExports Get(string name, Input<string> id, V2OrganizationSccBigQueryExportsState? state, CustomResourceOptions? opts = null)
    public static V2OrganizationSccBigQueryExports get(String name, Output<String> id, V2OrganizationSccBigQueryExportsState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    BigQueryExportId string
    This must be unique within the organization.


    CreateTime string
    The time at which the BigQuery export was created. This field is set by the server and will be ignored if provided on export on creation. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    Dataset string
    The dataset to write findings' updates to. Its format is "projects/[projectId]/datasets/[bigquery_dataset_id]". BigQuery Dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
    Description string
    The description of the notification config (max of 1024 characters).
    Filter string

    Expression that defines the filter to apply across create/update events of findings. The expression is a list of zero or more restrictions combined via logical operators AND and OR. Parentheses are supported, and OR has higher precedence than AND. Restrictions have the form and may have a - character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are:

    • = for all value types.
    • , <, >=, <= for integer values.

    • :, meaning substring matching, for strings. The supported value types are:
    • string literals in quotes.
    • integer literals without quotes.
    • boolean literals true and false without quotes. See Filtering notifications for information on how to write a filter.
    Location string
    location Id is provided by organization. If not provided, Use global as default.
    MostRecentEditor string
    Email address of the user who last edited the BigQuery export. This field is set by the server and will be ignored if provided on export creation or update.
    Name string
    The resource name of this export, in the format organizations/{{organization}}/locations/{{location}}/bigQueryExports/{{big_query_export_id}}. This field is provided in responses, and is ignored when provided in create requests.
    Organization string
    The organization whose Cloud Security Command Center the Big Query Export Config lives in.
    Principal string
    The service account that needs permission to create table and upload data to the BigQuery dataset.
    UpdateTime string
    The most recent time at which the BigQuery export was updated. This field is set by the server and will be ignored if provided on export creation or update. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    BigQueryExportId string
    This must be unique within the organization.


    CreateTime string
    The time at which the BigQuery export was created. This field is set by the server and will be ignored if provided on export on creation. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    Dataset string
    The dataset to write findings' updates to. Its format is "projects/[projectId]/datasets/[bigquery_dataset_id]". BigQuery Dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
    Description string
    The description of the notification config (max of 1024 characters).
    Filter string

    Expression that defines the filter to apply across create/update events of findings. The expression is a list of zero or more restrictions combined via logical operators AND and OR. Parentheses are supported, and OR has higher precedence than AND. Restrictions have the form and may have a - character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are:

    • = for all value types.
    • , <, >=, <= for integer values.

    • :, meaning substring matching, for strings. The supported value types are:
    • string literals in quotes.
    • integer literals without quotes.
    • boolean literals true and false without quotes. See Filtering notifications for information on how to write a filter.
    Location string
    location Id is provided by organization. If not provided, Use global as default.
    MostRecentEditor string
    Email address of the user who last edited the BigQuery export. This field is set by the server and will be ignored if provided on export creation or update.
    Name string
    The resource name of this export, in the format organizations/{{organization}}/locations/{{location}}/bigQueryExports/{{big_query_export_id}}. This field is provided in responses, and is ignored when provided in create requests.
    Organization string
    The organization whose Cloud Security Command Center the Big Query Export Config lives in.
    Principal string
    The service account that needs permission to create table and upload data to the BigQuery dataset.
    UpdateTime string
    The most recent time at which the BigQuery export was updated. This field is set by the server and will be ignored if provided on export creation or update. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    bigQueryExportId String
    This must be unique within the organization.


    createTime String
    The time at which the BigQuery export was created. This field is set by the server and will be ignored if provided on export on creation. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    dataset String
    The dataset to write findings' updates to. Its format is "projects/[projectId]/datasets/[bigquery_dataset_id]". BigQuery Dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
    description String
    The description of the notification config (max of 1024 characters).
    filter String

    Expression that defines the filter to apply across create/update events of findings. The expression is a list of zero or more restrictions combined via logical operators AND and OR. Parentheses are supported, and OR has higher precedence than AND. Restrictions have the form and may have a - character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are:

    • = for all value types.
    • , <, >=, <= for integer values.

    • :, meaning substring matching, for strings. The supported value types are:
    • string literals in quotes.
    • integer literals without quotes.
    • boolean literals true and false without quotes. See Filtering notifications for information on how to write a filter.
    location String
    location Id is provided by organization. If not provided, Use global as default.
    mostRecentEditor String
    Email address of the user who last edited the BigQuery export. This field is set by the server and will be ignored if provided on export creation or update.
    name String
    The resource name of this export, in the format organizations/{{organization}}/locations/{{location}}/bigQueryExports/{{big_query_export_id}}. This field is provided in responses, and is ignored when provided in create requests.
    organization String
    The organization whose Cloud Security Command Center the Big Query Export Config lives in.
    principal String
    The service account that needs permission to create table and upload data to the BigQuery dataset.
    updateTime String
    The most recent time at which the BigQuery export was updated. This field is set by the server and will be ignored if provided on export creation or update. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    bigQueryExportId string
    This must be unique within the organization.


    createTime string
    The time at which the BigQuery export was created. This field is set by the server and will be ignored if provided on export on creation. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    dataset string
    The dataset to write findings' updates to. Its format is "projects/[projectId]/datasets/[bigquery_dataset_id]". BigQuery Dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
    description string
    The description of the notification config (max of 1024 characters).
    filter string

    Expression that defines the filter to apply across create/update events of findings. The expression is a list of zero or more restrictions combined via logical operators AND and OR. Parentheses are supported, and OR has higher precedence than AND. Restrictions have the form and may have a - character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are:

    • = for all value types.
    • , <, >=, <= for integer values.

    • :, meaning substring matching, for strings. The supported value types are:
    • string literals in quotes.
    • integer literals without quotes.
    • boolean literals true and false without quotes. See Filtering notifications for information on how to write a filter.
    location string
    location Id is provided by organization. If not provided, Use global as default.
    mostRecentEditor string
    Email address of the user who last edited the BigQuery export. This field is set by the server and will be ignored if provided on export creation or update.
    name string
    The resource name of this export, in the format organizations/{{organization}}/locations/{{location}}/bigQueryExports/{{big_query_export_id}}. This field is provided in responses, and is ignored when provided in create requests.
    organization string
    The organization whose Cloud Security Command Center the Big Query Export Config lives in.
    principal string
    The service account that needs permission to create table and upload data to the BigQuery dataset.
    updateTime string
    The most recent time at which the BigQuery export was updated. This field is set by the server and will be ignored if provided on export creation or update. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    big_query_export_id str
    This must be unique within the organization.


    create_time str
    The time at which the BigQuery export was created. This field is set by the server and will be ignored if provided on export on creation. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    dataset str
    The dataset to write findings' updates to. Its format is "projects/[projectId]/datasets/[bigquery_dataset_id]". BigQuery Dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
    description str
    The description of the notification config (max of 1024 characters).
    filter str

    Expression that defines the filter to apply across create/update events of findings. The expression is a list of zero or more restrictions combined via logical operators AND and OR. Parentheses are supported, and OR has higher precedence than AND. Restrictions have the form and may have a - character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are:

    • = for all value types.
    • , <, >=, <= for integer values.

    • :, meaning substring matching, for strings. The supported value types are:
    • string literals in quotes.
    • integer literals without quotes.
    • boolean literals true and false without quotes. See Filtering notifications for information on how to write a filter.
    location str
    location Id is provided by organization. If not provided, Use global as default.
    most_recent_editor str
    Email address of the user who last edited the BigQuery export. This field is set by the server and will be ignored if provided on export creation or update.
    name str
    The resource name of this export, in the format organizations/{{organization}}/locations/{{location}}/bigQueryExports/{{big_query_export_id}}. This field is provided in responses, and is ignored when provided in create requests.
    organization str
    The organization whose Cloud Security Command Center the Big Query Export Config lives in.
    principal str
    The service account that needs permission to create table and upload data to the BigQuery dataset.
    update_time str
    The most recent time at which the BigQuery export was updated. This field is set by the server and will be ignored if provided on export creation or update. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    bigQueryExportId String
    This must be unique within the organization.


    createTime String
    The time at which the BigQuery export was created. This field is set by the server and will be ignored if provided on export on creation. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
    dataset String
    The dataset to write findings' updates to. Its format is "projects/[projectId]/datasets/[bigquery_dataset_id]". BigQuery Dataset unique ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
    description String
    The description of the notification config (max of 1024 characters).
    filter String

    Expression that defines the filter to apply across create/update events of findings. The expression is a list of zero or more restrictions combined via logical operators AND and OR. Parentheses are supported, and OR has higher precedence than AND. Restrictions have the form and may have a - character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are:

    • = for all value types.
    • , <, >=, <= for integer values.

    • :, meaning substring matching, for strings. The supported value types are:
    • string literals in quotes.
    • integer literals without quotes.
    • boolean literals true and false without quotes. See Filtering notifications for information on how to write a filter.
    location String
    location Id is provided by organization. If not provided, Use global as default.
    mostRecentEditor String
    Email address of the user who last edited the BigQuery export. This field is set by the server and will be ignored if provided on export creation or update.
    name String
    The resource name of this export, in the format organizations/{{organization}}/locations/{{location}}/bigQueryExports/{{big_query_export_id}}. This field is provided in responses, and is ignored when provided in create requests.
    organization String
    The organization whose Cloud Security Command Center the Big Query Export Config lives in.
    principal String
    The service account that needs permission to create table and upload data to the BigQuery dataset.
    updateTime String
    The most recent time at which the BigQuery export was updated. This field is set by the server and will be ignored if provided on export creation or update. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    Import

    OrganizationSccBigQueryExports can be imported using any of these accepted formats:

    • organizations/{{organization}}/locations/{{location}}/bigQueryExports/{{big_query_export_id}}

    • {{organization}}/{{location}}/{{big_query_export_id}}

    When using the pulumi import command, OrganizationSccBigQueryExports can be imported using one of the formats above. For example:

    $ pulumi import gcp:securitycenter/v2OrganizationSccBigQueryExports:V2OrganizationSccBigQueryExports default organizations/{{organization}}/locations/{{location}}/bigQueryExports/{{big_query_export_id}}
    
    $ pulumi import gcp:securitycenter/v2OrganizationSccBigQueryExports:V2OrganizationSccBigQueryExports default {{organization}}/{{location}}/{{big_query_export_id}}
    

    To learn more about importing existing cloud resources, see Importing resources.

    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
    Google Cloud Classic v8.3.1 published on Wednesday, Sep 25, 2024 by Pulumi