- NAME
-
- gcloud scc findings export-to-bigquery - export Security Command Center findings to bigquery
- SYNOPSIS
-
-
gcloud scc findings export-to-bigquery
[PARENT
]--dataset
=DATASET
[--location
=LOCATION
; default="global"] [--source
=SOURCE
; default="-"] [GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
- Export Security Command Center findings to bigquery.
- EXAMPLES
-
To export findings for a given parent
``organizations/123/sources/456/locations/global`` and dataset
``projects/project_id/datasets/dataset_id`` run:
gcloud scc findings export-to-bigquery organizations/123 --dataset=projects/project_id/datasets/dataset_id --source=456 --location=global
- POSITIONAL ARGUMENTS
-
-
Parent resource - parent organization, folder, or project in the Google Cloud
resource hierarchy to be used for the
gcloud scc
command. Specify the argument as either [RESOURCE_TYPE/RESOURCE_ID] or [RESOURCE_ID], as shown in the preceding examples. This represents a Cloud resource.- [
PARENT
] -
ID of the parent or fully qualified identifier for the parent.
To set the
parent
attribute:-
provide the argument
parent
on the command line; -
Set the parent property in configuration using
gcloud config set scc/parent
if it is not specified in command line.
-
provide the argument
- [
-
Parent resource - parent organization, folder, or project in the Google Cloud
resource hierarchy to be used for the
- REQUIRED FLAGS
-
--dataset
=DATASET
- BigQuery dataset to export findings to.
- OPTIONAL FLAGS
-
--location
=LOCATION
; default="global"-
When data residency controls are enabled, this attribute specifies the location
in which the resource is located and applicable. The
location
attribute can be provided as part of the fully specified resource name or with the--location
argument on the command line. The default location isglobal
. NOTE: If you override the endpoint to a regional endpoint you must specify the correct data location 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. --source
=SOURCE
; default="-"- Source id. Defaults to all sources.
- 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
$ gcloud help
for details. - API REFERENCE
- This command uses the Security Command Center API. For more information, see Security Command Center API.
- NOTES
-
This variant is also available:
gcloud alpha scc findings export-to-bigquery
gcloud scc findings export-to-bigquery
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-29 UTC.