V2ProjectSccBigQueryExport

class V2ProjectSccBigQueryExport : KotlinCustomResource

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 ProjectSccBigQueryExport, see:

Example Usage

Scc V2 Project Big Query Export Config Basic

resources:
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:V2ProjectSccBigQueryExport
name: custom_big_query_export_config
properties:
name: my-export
bigQueryExportId: my-export
project: my-project-name
dataset: ${default.id}
location: global
description: Cloud Security Command Center Findings Big Query Export Config
filter: state="ACTIVE" AND NOT mute="MUTED"

Import

ProjectSccBigQueryExport can be imported using any of these accepted formats:

  • projects/{{project}}/locations/{{location}}/bigQueryExports/{{big_query_export_id}}

  • {{project}}/{{location}}/{{big_query_export_id}}

  • {{location}}/{{big_query_export_id}} When using the pulumi import command, ProjectSccBigQueryExport can be imported using one of the formats above. For example:

$ pulumi import gcp:securitycenter/v2ProjectSccBigQueryExport:V2ProjectSccBigQueryExport default projects/{{project}}/locations/{{location}}/bigQueryExports/{{big_query_export_id}}
$ pulumi import gcp:securitycenter/v2ProjectSccBigQueryExport:V2ProjectSccBigQueryExport default {{project}}/{{location}}/{{big_query_export_id}}
$ pulumi import gcp:securitycenter/v2ProjectSccBigQueryExport:V2ProjectSccBigQueryExport default {{location}}/{{big_query_export_id}}

Properties

Link copied to clipboard

This must be unique within the organization.

Link copied to clipboard
val createTime: Output<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".

Link copied to clipboard
val dataset: Output<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 (_).

Link copied to clipboard
val description: Output<String>?

The description of the notification config (max of 1024 characters).

Link copied to clipboard
val filter: Output<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:

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val location: Output<String>?

location Id is provided by organization. If not provided, Use global as default.

Link copied to clipboard

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.

Link copied to clipboard
val name: Output<String>

The resource name of this export, in the format projects/{{project}}/locations/{{location}}/bigQueryExports/{{big_query_export_id}}. This field is provided in responses, and is ignored when provided in create requests.

Link copied to clipboard
val principal: Output<String>

The service account that needs permission to create table and upload data to the BigQuery dataset.

Link copied to clipboard
val project: Output<String>

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val updateTime: Output<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".

Link copied to clipboard
val urn: Output<String>