V2ProjectSccBigQueryExportArgs

data class V2ProjectSccBigQueryExportArgs(val bigQueryExportId: Output<String>? = null, val dataset: Output<String>? = null, val description: Output<String>? = null, val filter: Output<String>? = null, val location: Output<String>? = null, val project: Output<String>? = null) : ConvertibleToJava<V2ProjectSccBigQueryExportArgs>

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}}

Constructors

Link copied to clipboard
constructor(bigQueryExportId: Output<String>? = null, dataset: Output<String>? = null, description: Output<String>? = null, filter: Output<String>? = null, location: Output<String>? = null, project: Output<String>? = null)

Properties

Link copied to clipboard
val bigQueryExportId: Output<String>? = null

This must be unique within the organization.

Link copied to clipboard
val dataset: Output<String>? = null

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>? = null

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

Link copied to clipboard
val filter: Output<String>? = null

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 location: Output<String>? = null

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

Link copied to clipboard
val project: Output<String>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): V2ProjectSccBigQueryExportArgs