mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-22 15:52:30 +00:00
gcloud: Thu Jan 19 00:56:33 UTC 2023
This commit is contained in:
parent
348d9760ee
commit
1248f773ec
1462 changed files with 51835 additions and 5402 deletions
|
|
@ -4,8 +4,8 @@ NAME
|
|||
SYNOPSIS
|
||||
gcloud scc findings create
|
||||
(FINDING : --organization=ORGANIZATION --source=SOURCE)
|
||||
--category=CATEGORY --resource-name=RESOURCE_NAME
|
||||
[--event-time=EVENT_TIME] [--external-uri=EXTERNAL_URI]
|
||||
--category=CATEGORY --event-time=EVENT_TIME
|
||||
--resource-name=RESOURCE_NAME [--external-uri=EXTERNAL_URI]
|
||||
[--source-properties=[SOURCE_PROPERTIES,...]] [--state=STATE]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
|
|
@ -18,8 +18,9 @@ EXAMPLES
|
|||
|
||||
$ gcloud scc findings create my-finding --organization=123456 \
|
||||
--source=5678 --state=ACTIVE --category='XSS_SCRIPTING' \
|
||||
--resource-name='//cloudresourcemanager.googleapis.com/v1/projec\
|
||||
ts/example-project'
|
||||
--event-time=2023-01-11T07:00:06.861Z \
|
||||
--resource-name='//cloudresourcemanager.googleapis.com/projects/\
|
||||
example-project'
|
||||
|
||||
Create an ACTIVE my-finding attached to example-project under project
|
||||
example-project and source 5678:
|
||||
|
|
@ -27,8 +28,9 @@ EXAMPLES
|
|||
$ gcloud scc findings create \
|
||||
projects/example-project/sources/5678/findings/my-finding \
|
||||
--state=ACTIVE --category='XSS_SCRIPTING' \
|
||||
--resource-name='//cloudresourcemanager.googleapis.com/v1/projec\
|
||||
ts/example-project'
|
||||
--event-time=2023-01-11T07:00:06.861Z \
|
||||
--resource-name='//cloudresourcemanager.googleapis.com/projects/\
|
||||
example-project'
|
||||
|
||||
Create an ACTIVE my-finding attached to example-project under folder 456
|
||||
and source 5678:
|
||||
|
|
@ -36,8 +38,9 @@ EXAMPLES
|
|||
$ gcloud scc findings create \
|
||||
folders/456/sources/5678/findings/my-finding --state=ACTIVE \
|
||||
--category='XSS_SCRIPTING' \
|
||||
--resource-name='//cloudresourcemanager.googleapis.com/v1/projec\
|
||||
ts/example-project'
|
||||
--event-time=2023-01-11T07:00:06.861Z \
|
||||
--resource-name='//cloudresourcemanager.googleapis.com/projects/\
|
||||
example-project'
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Finding resource - The finding to be used for the SCC (Security Command
|
||||
|
|
@ -82,19 +85,18 @@ POSITIONAL ARGUMENTS
|
|||
REQUIRED FLAGS
|
||||
--category=CATEGORY
|
||||
Taxonomy group within findings from a given source. Example:
|
||||
XSS_FLASH_INJECTION
|
||||
XSS_SCRIPTING
|
||||
|
||||
--event-time=EVENT_TIME
|
||||
Time at which the issue is detected or the finding is created, in the
|
||||
following format: YYYY-MM-DDThh:mm:ss.ffffffZ. Example:
|
||||
2023-01-11T07:00:06.861Z
|
||||
|
||||
--resource-name=RESOURCE_NAME
|
||||
Full resource name of the Google Cloud Platform resource this finding
|
||||
is for.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--event-time=EVENT_TIME
|
||||
Time at which the event took place. For example, if the finding
|
||||
represents an open firewall it would capture the time the open firewall
|
||||
was detected. If event-time is not provided, it will default to UTC
|
||||
version of NOW. For example 2019-02-28T07:00:00Z
|
||||
|
||||
--external-uri=EXTERNAL_URI
|
||||
URI that, if available, points to a web page outside of Cloud SCC
|
||||
(Security Command Center) where additional information about the
|
||||
|
|
|
|||
|
|
@ -54,15 +54,17 @@ EXAMPLES
|
|||
--group-by="state_change" --compare-duration=86400s
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Parent resource - The parent to be used for the SCC (Security Command
|
||||
Center) command. This represents a Cloud resource.
|
||||
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 organization attribute:
|
||||
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..
|
||||
scc/parent if it is not specified in command line.
|
||||
|
||||
FLAGS
|
||||
--compare-duration=COMPARE_DURATION
|
||||
|
|
|
|||
|
|
@ -63,15 +63,17 @@ EXAMPLES
|
|||
--filter="state=\"ACTIVE\"" --read-time="2019-01-01T01:00:00Z"
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Parent resource - The parent to be used for the SCC (Security Command
|
||||
Center) command. This represents a Cloud resource.
|
||||
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 organization attribute:
|
||||
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..
|
||||
scc/parent if it is not specified in command line.
|
||||
|
||||
FLAGS
|
||||
--compare-duration=COMPARE_DURATION
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue