gcp.securitycenter.FolderSccBigQueryExport
Explore with Pulumi AI
A Cloud Security Command Center (Cloud SCC) Big Query Export Config. It represents exporting Security Command Center data, including assets, findings, and security marks to a BigQuery instance.
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 FolderSccBigQueryExport, see:
- API documentation
- How-to Guides
Example Usage
Scc Folder Big Query Export Config Basic
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const folder = new gcp.organizations.Folder("folder", {
parent: "organizations/123456789",
displayName: "folder-name",
deletionProtection: false,
});
const _default = new gcp.bigquery.Dataset("default", {
datasetId: "my_dataset_id",
friendlyName: "test",
description: "This is a test description",
location: "US",
defaultTableExpirationMs: 3600000,
defaultPartitionExpirationMs: undefined,
labels: {
env: "default",
},
});
const customBigQueryExportConfig = new gcp.securitycenter.FolderSccBigQueryExport("custom_big_query_export_config", {
bigQueryExportId: "my-export",
folder: folder.folderId,
dataset: _default.id,
description: "Cloud Security Command Center Findings Big Query Export Config",
filter: "state=\"ACTIVE\" AND NOT mute=\"MUTED\"",
});
import pulumi
import pulumi_gcp as gcp
folder = gcp.organizations.Folder("folder",
parent="organizations/123456789",
display_name="folder-name",
deletion_protection=False)
default = gcp.bigquery.Dataset("default",
dataset_id="my_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.FolderSccBigQueryExport("custom_big_query_export_config",
big_query_export_id="my-export",
folder=folder.folder_id,
dataset=default.id,
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/organizations"
"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 {
folder, err := organizations.NewFolder(ctx, "folder", &organizations.FolderArgs{
Parent: pulumi.String("organizations/123456789"),
DisplayName: pulumi.String("folder-name"),
DeletionProtection: pulumi.Bool(false),
})
if err != nil {
return err
}
_, err = bigquery.NewDataset(ctx, "default", &bigquery.DatasetArgs{
DatasetId: pulumi.String("my_dataset_id"),
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.NewFolderSccBigQueryExport(ctx, "custom_big_query_export_config", &securitycenter.FolderSccBigQueryExportArgs{
BigQueryExportId: pulumi.String("my-export"),
Folder: folder.FolderId,
Dataset: _default.ID(),
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 folder = new Gcp.Organizations.Folder("folder", new()
{
Parent = "organizations/123456789",
DisplayName = "folder-name",
DeletionProtection = false,
});
var @default = new Gcp.BigQuery.Dataset("default", new()
{
DatasetId = "my_dataset_id",
FriendlyName = "test",
Description = "This is a test description",
Location = "US",
DefaultTableExpirationMs = 3600000,
DefaultPartitionExpirationMs = null,
Labels =
{
{ "env", "default" },
},
});
var customBigQueryExportConfig = new Gcp.SecurityCenter.FolderSccBigQueryExport("custom_big_query_export_config", new()
{
BigQueryExportId = "my-export",
Folder = folder.FolderId,
Dataset = @default.Id,
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.organizations.Folder;
import com.pulumi.gcp.organizations.FolderArgs;
import com.pulumi.gcp.bigquery.Dataset;
import com.pulumi.gcp.bigquery.DatasetArgs;
import com.pulumi.gcp.securitycenter.FolderSccBigQueryExport;
import com.pulumi.gcp.securitycenter.FolderSccBigQueryExportArgs;
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 folder = new Folder("folder", FolderArgs.builder()
.parent("organizations/123456789")
.displayName("folder-name")
.deletionProtection(false)
.build());
var default_ = new Dataset("default", DatasetArgs.builder()
.datasetId("my_dataset_id")
.friendlyName("test")
.description("This is a test description")
.location("US")
.defaultTableExpirationMs(3600000)
.defaultPartitionExpirationMs(null)
.labels(Map.of("env", "default"))
.build());
var customBigQueryExportConfig = new FolderSccBigQueryExport("customBigQueryExportConfig", FolderSccBigQueryExportArgs.builder()
.bigQueryExportId("my-export")
.folder(folder.folderId())
.dataset(default_.id())
.description("Cloud Security Command Center Findings Big Query Export Config")
.filter("state=\"ACTIVE\" AND NOT mute=\"MUTED\"")
.build());
}
}
resources:
folder:
type: gcp:organizations:Folder
properties:
parent: organizations/123456789
displayName: folder-name
deletionProtection: false
default:
type: gcp:bigquery:Dataset
properties:
datasetId: my_dataset_id
friendlyName: test
description: This is a test description
location: US
defaultTableExpirationMs: 3.6e+06
defaultPartitionExpirationMs: null
labels:
env: default
customBigQueryExportConfig:
type: gcp:securitycenter:FolderSccBigQueryExport
name: custom_big_query_export_config
properties:
bigQueryExportId: my-export
folder: ${folder.folderId}
dataset: ${default.id}
description: Cloud Security Command Center Findings Big Query Export Config
filter: state="ACTIVE" AND NOT mute="MUTED"
Create FolderSccBigQueryExport Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FolderSccBigQueryExport(name: string, args: FolderSccBigQueryExportArgs, opts?: CustomResourceOptions);
@overload
def FolderSccBigQueryExport(resource_name: str,
args: FolderSccBigQueryExportArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FolderSccBigQueryExport(resource_name: str,
opts: Optional[ResourceOptions] = None,
big_query_export_id: Optional[str] = None,
dataset: Optional[str] = None,
description: Optional[str] = None,
filter: Optional[str] = None,
folder: Optional[str] = None)
func NewFolderSccBigQueryExport(ctx *Context, name string, args FolderSccBigQueryExportArgs, opts ...ResourceOption) (*FolderSccBigQueryExport, error)
public FolderSccBigQueryExport(string name, FolderSccBigQueryExportArgs args, CustomResourceOptions? opts = null)
public FolderSccBigQueryExport(String name, FolderSccBigQueryExportArgs args)
public FolderSccBigQueryExport(String name, FolderSccBigQueryExportArgs args, CustomResourceOptions options)
type: gcp:securitycenter:FolderSccBigQueryExport
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 FolderSccBigQueryExportArgs
- 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 FolderSccBigQueryExportArgs
- 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 FolderSccBigQueryExportArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FolderSccBigQueryExportArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FolderSccBigQueryExportArgs
- 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 folderSccBigQueryExportResource = new Gcp.SecurityCenter.FolderSccBigQueryExport("folderSccBigQueryExportResource", new()
{
BigQueryExportId = "string",
Dataset = "string",
Description = "string",
Filter = "string",
Folder = "string",
});
example, err := securitycenter.NewFolderSccBigQueryExport(ctx, "folderSccBigQueryExportResource", &securitycenter.FolderSccBigQueryExportArgs{
BigQueryExportId: pulumi.String("string"),
Dataset: pulumi.String("string"),
Description: pulumi.String("string"),
Filter: pulumi.String("string"),
Folder: pulumi.String("string"),
})
var folderSccBigQueryExportResource = new FolderSccBigQueryExport("folderSccBigQueryExportResource", FolderSccBigQueryExportArgs.builder()
.bigQueryExportId("string")
.dataset("string")
.description("string")
.filter("string")
.folder("string")
.build());
folder_scc_big_query_export_resource = gcp.securitycenter.FolderSccBigQueryExport("folderSccBigQueryExportResource",
big_query_export_id="string",
dataset="string",
description="string",
filter="string",
folder="string")
const folderSccBigQueryExportResource = new gcp.securitycenter.FolderSccBigQueryExport("folderSccBigQueryExportResource", {
bigQueryExportId: "string",
dataset: "string",
description: "string",
filter: "string",
folder: "string",
});
type: gcp:securitycenter:FolderSccBigQueryExport
properties:
bigQueryExportId: string
dataset: string
description: string
filter: string
folder: string
FolderSccBigQueryExport Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The FolderSccBigQueryExport resource accepts the following input properties:
- Big
Query stringExport Id - This must be unique within the organization.
- 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 export (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.
- Folder string
- The folder where Cloud Security Command Center Big Query Export Config lives in.
- Big
Query stringExport Id - This must be unique within the organization.
- 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 export (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.
- Folder string
- The folder where Cloud Security Command Center Big Query Export Config lives in.
- big
Query StringExport Id - This must be unique within the organization.
- 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 export (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.
- folder String
- The folder where Cloud Security Command Center Big Query Export Config lives in.
- big
Query stringExport Id - This must be unique within the organization.
- 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 export (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.
- folder string
- The folder where Cloud Security Command Center Big Query Export Config lives in.
- big_
query_ strexport_ id - This must be unique within the organization.
- 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 export (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.
- folder str
- The folder where Cloud Security Command Center Big Query Export Config lives in.
- big
Query StringExport Id - This must be unique within the organization.
- 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 export (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.
- folder String
- The folder where Cloud Security Command Center Big Query Export Config lives in.
Outputs
All input properties are implicitly available as output properties. Additionally, the FolderSccBigQueryExport resource produces the following output properties:
- Create
Time string - The time at which the BigQuery export was created. 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.
- Most
Recent stringEditor - Email address of the user who last edited the BigQuery export.
- Name string
- The resource name of this export, in the format
projects/{{project}}/bigQueryExports/{{big_query_export_id}}
. This field is provided in responses, and is ignored when provided in create requests. - Principal string
- The service account that needs permission to create table and upload data to the BigQuery dataset.
- Update
Time string - The most recent time at which the BigQuery export was updated. 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 string - The time at which the BigQuery export was created. 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.
- Most
Recent stringEditor - Email address of the user who last edited the BigQuery export.
- Name string
- The resource name of this export, in the format
projects/{{project}}/bigQueryExports/{{big_query_export_id}}
. This field is provided in responses, and is ignored when provided in create requests. - Principal string
- The service account that needs permission to create table and upload data to the BigQuery dataset.
- Update
Time string - The most recent time at which the BigQuery export was updated. 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 String - The time at which the BigQuery export was created. 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.
- most
Recent StringEditor - Email address of the user who last edited the BigQuery export.
- name String
- The resource name of this export, in the format
projects/{{project}}/bigQueryExports/{{big_query_export_id}}
. This field is provided in responses, and is ignored when provided in create requests. - principal String
- The service account that needs permission to create table and upload data to the BigQuery dataset.
- update
Time String - The most recent time at which the BigQuery export was updated. 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 string - The time at which the BigQuery export was created. 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.
- most
Recent stringEditor - Email address of the user who last edited the BigQuery export.
- name string
- The resource name of this export, in the format
projects/{{project}}/bigQueryExports/{{big_query_export_id}}
. This field is provided in responses, and is ignored when provided in create requests. - principal string
- The service account that needs permission to create table and upload data to the BigQuery dataset.
- update
Time string - The most recent time at which the BigQuery export was updated. 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. 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_ streditor - Email address of the user who last edited the BigQuery export.
- name str
- The resource name of this export, in the format
projects/{{project}}/bigQueryExports/{{big_query_export_id}}
. This field is provided in responses, and is ignored when provided in create requests. - 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. 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 String - The time at which the BigQuery export was created. 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.
- most
Recent StringEditor - Email address of the user who last edited the BigQuery export.
- name String
- The resource name of this export, in the format
projects/{{project}}/bigQueryExports/{{big_query_export_id}}
. This field is provided in responses, and is ignored when provided in create requests. - principal String
- The service account that needs permission to create table and upload data to the BigQuery dataset.
- update
Time String - The most recent time at which the BigQuery export was updated. 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 FolderSccBigQueryExport Resource
Get an existing FolderSccBigQueryExport 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?: FolderSccBigQueryExportState, opts?: CustomResourceOptions): FolderSccBigQueryExport
@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,
folder: Optional[str] = None,
most_recent_editor: Optional[str] = None,
name: Optional[str] = None,
principal: Optional[str] = None,
update_time: Optional[str] = None) -> FolderSccBigQueryExport
func GetFolderSccBigQueryExport(ctx *Context, name string, id IDInput, state *FolderSccBigQueryExportState, opts ...ResourceOption) (*FolderSccBigQueryExport, error)
public static FolderSccBigQueryExport Get(string name, Input<string> id, FolderSccBigQueryExportState? state, CustomResourceOptions? opts = null)
public static FolderSccBigQueryExport get(String name, Output<String> id, FolderSccBigQueryExportState 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.
- Big
Query stringExport Id - This must be unique within the organization.
- Create
Time string - The time at which the BigQuery export was created. 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 export (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.
- Folder string
- The folder where Cloud Security Command Center Big Query Export Config lives in.
- Most
Recent stringEditor - Email address of the user who last edited the BigQuery export.
- Name string
- The resource name of this export, in the format
projects/{{project}}/bigQueryExports/{{big_query_export_id}}
. This field is provided in responses, and is ignored when provided in create requests. - Principal string
- The service account that needs permission to create table and upload data to the BigQuery dataset.
- Update
Time string - The most recent time at which the BigQuery export was updated. 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 stringExport Id - This must be unique within the organization.
- Create
Time string - The time at which the BigQuery export was created. 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 export (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.
- Folder string
- The folder where Cloud Security Command Center Big Query Export Config lives in.
- Most
Recent stringEditor - Email address of the user who last edited the BigQuery export.
- Name string
- The resource name of this export, in the format
projects/{{project}}/bigQueryExports/{{big_query_export_id}}
. This field is provided in responses, and is ignored when provided in create requests. - Principal string
- The service account that needs permission to create table and upload data to the BigQuery dataset.
- Update
Time string - The most recent time at which the BigQuery export was updated. 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 StringExport Id - This must be unique within the organization.
- create
Time String - The time at which the BigQuery export was created. 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 export (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.
- folder String
- The folder where Cloud Security Command Center Big Query Export Config lives in.
- most
Recent StringEditor - Email address of the user who last edited the BigQuery export.
- name String
- The resource name of this export, in the format
projects/{{project}}/bigQueryExports/{{big_query_export_id}}
. This field is provided in responses, and is ignored when provided in create requests. - principal String
- The service account that needs permission to create table and upload data to the BigQuery dataset.
- update
Time String - The most recent time at which the BigQuery export was updated. 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 stringExport Id - This must be unique within the organization.
- create
Time string - The time at which the BigQuery export was created. 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 export (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.
- folder string
- The folder where Cloud Security Command Center Big Query Export Config lives in.
- most
Recent stringEditor - Email address of the user who last edited the BigQuery export.
- name string
- The resource name of this export, in the format
projects/{{project}}/bigQueryExports/{{big_query_export_id}}
. This field is provided in responses, and is ignored when provided in create requests. - principal string
- The service account that needs permission to create table and upload data to the BigQuery dataset.
- update
Time string - The most recent time at which the BigQuery export was updated. 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_ strexport_ id - This must be unique within the organization.
- create_
time str - The time at which the BigQuery export was created. 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 export (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.
- folder str
- The folder where Cloud Security Command Center Big Query Export Config lives in.
- most_
recent_ streditor - Email address of the user who last edited the BigQuery export.
- name str
- The resource name of this export, in the format
projects/{{project}}/bigQueryExports/{{big_query_export_id}}
. This field is provided in responses, and is ignored when provided in create requests. - 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. 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 StringExport Id - This must be unique within the organization.
- create
Time String - The time at which the BigQuery export was created. 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 export (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.
- folder String
- The folder where Cloud Security Command Center Big Query Export Config lives in.
- most
Recent StringEditor - Email address of the user who last edited the BigQuery export.
- name String
- The resource name of this export, in the format
projects/{{project}}/bigQueryExports/{{big_query_export_id}}
. This field is provided in responses, and is ignored when provided in create requests. - principal String
- The service account that needs permission to create table and upload data to the BigQuery dataset.
- update
Time String - The most recent time at which the BigQuery export was updated. 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
FolderSccBigQueryExport can be imported using any of these accepted formats:
folders/{{folder}}/bigQueryExports/{{big_query_export_id}}
{{folder}}/{{big_query_export_id}}
When using the pulumi import
command, FolderSccBigQueryExport can be imported using one of the formats above. For example:
$ pulumi import gcp:securitycenter/folderSccBigQueryExport:FolderSccBigQueryExport default folders/{{folder}}/bigQueryExports/{{big_query_export_id}}
$ pulumi import gcp:securitycenter/folderSccBigQueryExport:FolderSccBigQueryExport default {{folder}}/{{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.