File: //snap/google-cloud-cli/current/help/man/man1/gcloud_scc_findings_export-to-bigquery.1
.TH "GCLOUD_SCC_FINDINGS_EXPORT\-TO\-BIGQUERY" 1
.SH "NAME"
.HP
gcloud scc findings export\-to\-bigquery \- export Security Command Center findings to bigquery
.SH "SYNOPSIS"
.HP
\f5gcloud scc findings export\-to\-bigquery\fR [\fIPARENT\fR] \fB\-\-dataset\fR=\fIDATASET\fR [\fB\-\-location\fR=\fILOCATION\fR;\ default="global"] [\fB\-\-source\fR=\fISOURCE\fR;\ default="\-"] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
Export Security Command Center findings to bigquery.
.SH "EXAMPLES"
To export findings for a given parent
``organizations/123/sources/456/locations/global`` and dataset
``projects/project_id/datasets/dataset_id`` run:
.RS 2m
$ gcloud scc findings export\-to\-bigquery organizations/123 \e
\-\-dataset=projects/project_id/datasets/dataset_id \-\-source=456 \e
\-\-location=global
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
Parent resource \- parent organization, folder, or project in the Google Cloud
resource hierarchy to be used for the \f5gcloud scc\fR command. Specify the
argument as either [RESOURCE_TYPE/RESOURCE_ID] or [RESOURCE_ID], as shown in the
preceding examples. This represents a Cloud resource.
.RS 2m
.TP 2m
[\fIPARENT\fR]
ID of the parent or fully qualified identifier for the parent.
To set the \f5parent\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5parent\fR on the command line;
.IP "\(bu" 2m
Set the parent property in configuration using \f5gcloud config set
scc/parent\fR if it is not specified in command line.
.RE
.sp
.RE
.RE
.sp
.SH "REQUIRED FLAGS"
.RS 2m
.TP 2m
\fB\-\-dataset\fR=\fIDATASET\fR
BigQuery dataset to export findings to.
.RE
.sp
.SH "OPTIONAL FLAGS"
.RS 2m
.TP 2m
\fB\-\-location\fR=\fILOCATION\fR; default="global"
When data residency controls are enabled, this attribute specifies the location
in which the resource is located and applicable. The \f5location\fR attribute
can be provided as part of the fully specified resource name or with the
\f5\-\-location\fR argument on the command line. The default location is
\f5global\fR.
NOTE: If you override the endpoint to a regional endpoint
(https://cloud.google.com/security\-command\-center/docs/reference/rest/index.html?rep_location=global#regional\-service\-endpoint)
you must specify the correct data location
(https://cloud.google.com/security\-command\-center/docs/data\-residency\-support#locations)
using this flag. The default location on this command is unrelated to the
default location that is specified when data residency controls are enabled for
Security Command Center.
NOTE: If no location is specified, the default location is \f5global\fR AND the
request will be routed to the SCC V1 API. To use the SCC V2 API \- please
explicitly specify the flag.
.TP 2m
\fB\-\-source\fR=\fISOURCE\fR; default="\-"
Source id. Defaults to all sources.
.RE
.sp
.SH "GCLOUD WIDE FLAGS"
These flags are available to all commands: \-\-access\-token\-file, \-\-account,
\-\-billing\-project, \-\-configuration, \-\-flags\-file, \-\-flatten,
\-\-format, \-\-help, \-\-impersonate\-service\-account, \-\-log\-http,
\-\-project, \-\-quiet, \-\-trace\-token, \-\-user\-output\-enabled,
\-\-verbosity.
Run \fB$ gcloud help\fR for details.
.SH "API REFERENCE"
This command uses the Security Command Center API. For more information, see
Security Command Center API.
(https://cloud.google.com/security\-command\-center/docs/reference/rest)
.SH "NOTES"
This variant is also available:
.RS 2m
$ gcloud alpha scc findings export\-to\-bigquery
.RE