1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-18 14:56:05 +00:00

gcloud: Wed Apr 16 10:41:40 UTC 2025

This commit is contained in:
Automated 2025-04-16 10:41:40 +00:00
parent 4637d39593
commit b589c4c4ad
316 changed files with 13928 additions and 1163 deletions

View file

@ -2,11 +2,12 @@ NAME
gcloud beta scc findings list-marks - list a finding's security marks
SYNOPSIS
gcloud beta scc findings list-marks
(FINDING : --organization=ORGANIZATION --source=SOURCE)
gcloud beta scc findings list-marks FINDING
[--location=LOCATION; default="global"] [--page-token=PAGE_TOKEN]
[--read-time=READ_TIME] [--filter=EXPRESSION] [--limit=LIMIT]
[--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]] [GCLOUD_WIDE_FLAG ...]
[--read-time=READ_TIME] [--source=SOURCE; default="-"]
[--folder=FOLDER | --organization=ORGANIZATION | --project=PROJECT]
[--filter=EXPRESSION] [--limit=LIMIT] [--page-size=PAGE_SIZE]
[--sort-by=[FIELD,...]] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) List a finding's security marks.
@ -36,45 +37,8 @@ EXAMPLES
--organization=123456 --source=5678 --location=eu
POSITIONAL ARGUMENTS
Finding resource - The finding to be used for the SCC (Security Command
Center) command. The arguments in this group can be used to specify the
attributes of this resource.
This must be specified.
FINDING
ID of the finding or fully qualified identifier for the finding.
To set the finding attribute:
▸ provide the argument finding on the command line.
This positional argument must be specified if any of the other
arguments in this group are specified.
--organization=ORGANIZATION
(Optional) If the full resource name isn't provided e.g.
organizations/123, then provide the organization id which is the
suffix of the organization. Example: organizations/123, the id is
123.
To set the organization attribute:
▸ provide the argument finding on the command line with a fully
specified name;
▸ provide the argument --organization on the command line;
▸ Set the organization property in configuration using gcloud
config set scc/organization if it is not specified in command
line..
--source=SOURCE
(Optional) If the full resource name isn't provided e.g.
organizations/123/sources/456, then provide the source id which is
the suffix of the source. Example: organizations/123/sources/456, the
id is 456.
To set the source attribute:
▸ provide the argument finding on the command line with a fully
specified name;
▸ provide the argument --source on the command line.
FINDING
ID of the finding or fully qualified identifier for the finding.
FLAGS
--location=LOCATION; default="global"
@ -104,6 +68,20 @@ FLAGS
(https://cloud.google.com/security-command-center/docs/release-notes#April_15_2024)
on the SCC release notes page.
--source=SOURCE; default="-"
Source id. Defaults to all sources.
At most one of these can be specified:
--folder=FOLDER
The folder ID (e.g., 456) that contains the finding.
--organization=ORGANIZATION
The organization ID (e.g., 123) that contains the finding.
--project=PROJECT
The project ID (e.g., example-project) that contains the finding.
LIST COMMAND FLAGS
--filter=EXPRESSION
Apply a Boolean filter EXPRESSION to each resource item to be listed.

View file

@ -2,12 +2,12 @@ NAME
gcloud beta scc findings update - update a Security Command Center finding
SYNOPSIS
gcloud beta scc findings update
(FINDING : --organization=ORGANIZATION --source=SOURCE)
[--event-time=EVENT_TIME] [--external-uri=EXTERNAL_URI]
[--location=LOCATION; default="global"]
[--source-properties=[KEY=VALUE,...]] [--state=STATE]
[--update-mask=UPDATE_MASK] [GCLOUD_WIDE_FLAG ...]
gcloud beta scc findings update FINDING [--event-time=EVENT_TIME]
[--external-uri=EXTERNAL_URI] [--location=LOCATION; default="global"]
[--source=SOURCE; default="-"] [--source-properties=[KEY=VALUE,...]]
[--state=STATE] [--update-mask=UPDATE_MASK]
[--folder=FOLDER | --organization=ORGANIZATION | --project=PROJECT]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) Update a Security Command Center finding.
@ -50,45 +50,8 @@ EXAMPLES
--location=eu
POSITIONAL ARGUMENTS
Finding resource - The finding to be used for the SCC (Security Command
Center) command. The arguments in this group can be used to specify the
attributes of this resource.
This must be specified.
FINDING
ID of the finding or fully qualified identifier for the finding.
To set the finding attribute:
▸ provide the argument finding on the command line.
This positional argument must be specified if any of the other
arguments in this group are specified.
--organization=ORGANIZATION
(Optional) If the full resource name isn't provided e.g.
organizations/123, then provide the organization id which is the
suffix of the organization. Example: organizations/123, the id is
123.
To set the organization attribute:
▸ provide the argument finding on the command line with a fully
specified name;
▸ provide the argument --organization on the command line;
▸ Set the organization property in configuration using gcloud
config set scc/organization if it is not specified in command
line..
--source=SOURCE
(Optional) If the full resource name isn't provided e.g.
organizations/123/sources/456, then provide the source id which is
the suffix of the source. Example: organizations/123/sources/456, the
id is 456.
To set the source attribute:
▸ provide the argument finding on the command line with a fully
specified name;
▸ provide the argument --source on the command line.
FINDING
ID of the finding or fully qualified identifier for the finding.
FLAGS
--event-time=EVENT_TIME
@ -115,6 +78,9 @@ FLAGS
location that is specified when data residency controls are enabled for
Security Command Center.
--source=SOURCE; default="-"
Source id. Defaults to all sources.
--source-properties=[KEY=VALUE,...]
Source specific properties. These properties are managed by the source
that writes the finding. The key names in the source_properties map
@ -141,6 +107,17 @@ FLAGS
State can be toggled from ACTIVE to INACTIVE and vice-versa but it
cannot be deleted.
At most one of these can be specified:
--folder=FOLDER
The folder ID (e.g., 456) that contains the finding.
--organization=ORGANIZATION
The organization ID (e.g., 123) that contains the finding.
--project=PROJECT
The project ID (e.g., example-project) that contains the finding.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,

View file

@ -3,11 +3,12 @@ NAME
finding's security marks
SYNOPSIS
gcloud beta scc findings update-marks
(FINDING : --organization=ORGANIZATION --source=SOURCE)
gcloud beta scc findings update-marks FINDING
[--location=LOCATION; default="global"]
[--security-marks=[KEY=VALUE,...]] [--start-time=START_TIME]
[--update-mask=UPDATE_MASK] [GCLOUD_WIDE_FLAG ...]
[--security-marks=[KEY=VALUE,...]] [--source=SOURCE; default="-"]
[--start-time=START_TIME] [--update-mask=UPDATE_MASK]
[--folder=FOLDER | --organization=ORGANIZATION | --project=PROJECT]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) Update Security Command Center finding's security marks.
@ -53,45 +54,8 @@ EXAMPLES
--security-marks="key1=v1,key2=v2" --location=eu
POSITIONAL ARGUMENTS
Finding resource - The finding to be used for the SCC (Security Command
Center) command. The arguments in this group can be used to specify the
attributes of this resource.
This must be specified.
FINDING
ID of the finding or fully qualified identifier for the finding.
To set the finding attribute:
▸ provide the argument finding on the command line.
This positional argument must be specified if any of the other
arguments in this group are specified.
--organization=ORGANIZATION
(Optional) If the full resource name isn't provided e.g.
organizations/123, then provide the organization id which is the
suffix of the organization. Example: organizations/123, the id is
123.
To set the organization attribute:
▸ provide the argument finding on the command line with a fully
specified name;
▸ provide the argument --organization on the command line;
▸ Set the organization property in configuration using gcloud
config set scc/organization if it is not specified in command
line..
--source=SOURCE
(Optional) If the full resource name isn't provided e.g.
organizations/123/sources/456, then provide the source id which is
the suffix of the source. Example: organizations/123/sources/456, the
id is 456.
To set the source attribute:
▸ provide the argument finding on the command line with a fully
specified name;
▸ provide the argument --source on the command line.
FINDING
ID of the finding or fully qualified identifier for the finding.
FLAGS
--location=LOCATION; default="global"
@ -110,6 +74,9 @@ FLAGS
key=value pair separated by comma (,). For example:
--security-marks="key1=val1,key2=val2".
--source=SOURCE; default="-"
Source id. Defaults to all sources.
--start-time=START_TIME
Time at which the updated SecurityMarks take effect. See $ gcloud topic
datetimes for information on supported time formats.
@ -121,6 +88,17 @@ FLAGS
marks for the given finding either skip the update-mask flag or provide
an empty value (--update-mask '') for it.
At most one of these can be specified:
--folder=FOLDER
The folder ID (e.g., 456) that contains the finding.
--organization=ORGANIZATION
The organization ID (e.g., 123) that contains the finding.
--project=PROJECT
The project ID (e.g., example-project) that contains the finding.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,