V2Project Scc Big Query Export
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:
How-to Guides
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 thepulumi 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
This must be unique within the organization.
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".
The description of the notification config (max of 1024 characters).
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
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.
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".