mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 23:08:48 +00:00
gcloud: Wed Jul 30 10:59:26 UTC 2025
This commit is contained in:
parent
0acbd64d02
commit
0f69685b06
221 changed files with 11951 additions and 506 deletions
78
gcloud/alpha/scc/findings/export-to-bigquery
Normal file
78
gcloud/alpha/scc/findings/export-to-bigquery
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
NAME
|
||||
gcloud alpha scc findings export-to-bigquery - export Security Command
|
||||
Center findings to bigquery
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha scc findings export-to-bigquery [PARENT] --dataset=DATASET
|
||||
[--location=LOCATION; default="global"] [--source=SOURCE; default="-"]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) 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 alpha 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.
|
||||
|
||||
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 is global. 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.
|
||||
|
||||
--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.
|
||||
(https://cloud.google.com/security-command-center/docs/reference/rest)
|
||||
|
||||
NOTES
|
||||
This command is currently in alpha and might change without notice. If this
|
||||
command fails with API permission errors despite specifying the correct
|
||||
project, you might be trying to access an API with an invitation-only early
|
||||
access allowlist. This variant is also available:
|
||||
|
||||
$ gcloud scc findings export-to-bigquery
|
||||
|
||||
|
|
@ -22,6 +22,9 @@ COMMANDS
|
|||
create
|
||||
(ALPHA) Create a Security Command Center finding.
|
||||
|
||||
export-to-bigquery
|
||||
(ALPHA) Export Security Command Center findings to bigquery.
|
||||
|
||||
group
|
||||
(ALPHA) Filter an organization or source's findings and groups them by
|
||||
their specified properties.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue