mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 06:47:12 +00:00
gcloud: Wed May 8 09:17:12 UTC 2024
This commit is contained in:
parent
48fac7efd4
commit
e8259d86b1
110 changed files with 1686 additions and 651 deletions
|
|
@ -15,44 +15,37 @@ DESCRIPTION
|
|||
|
||||
EXAMPLES
|
||||
Create an ACTIVE finding testFinding with category: XSS_SCRIPTING attached
|
||||
to example-project under organization 123456 and source 5678:
|
||||
to project with project number 9876 under organization 123456 and source
|
||||
5678:
|
||||
|
||||
$ gcloud alpha scc findings create `testFinding` \
|
||||
--organization=123456 --source=5678 --state=ACTIVE \
|
||||
--category='XSS_SCRIPTING' \
|
||||
--event-time=2023-01-11T07:00:06.861Z \
|
||||
--resource-name='//cloudresourcemanager.googleapis.com/projects/\
|
||||
example-project'
|
||||
9876'
|
||||
|
||||
Create an ACTIVE finding testFinding attached to example-project under
|
||||
project example-project and source 5678:
|
||||
Create an ACTIVE finding testFinding with category: XSS_SCRIPTING attached
|
||||
to project with project number 9876 under organization 123456 and source
|
||||
5678 using the full resource name:
|
||||
|
||||
$ gcloud alpha scc findings create \
|
||||
projects/example-project/sources/5678/findings/testFinding \
|
||||
organizations/123456/sources/5678/findings/testFinding \
|
||||
--state=ACTIVE --category='XSS_SCRIPTING' \
|
||||
--event-time=2023-01-11T07:00:06.861Z \
|
||||
--resource-name='//cloudresourcemanager.googleapis.com/projects/\
|
||||
example-project'
|
||||
|
||||
Create an ACTIVE finding testFinding attached to example-project under
|
||||
folder 456 and source 5678:
|
||||
|
||||
$ gcloud alpha scc findings create \
|
||||
folders/456/sources/5678/findings/testFinding --state=ACTIVE \
|
||||
--category='XSS_SCRIPTING' \
|
||||
--event-time=2023-01-11T07:00:06.861Z \
|
||||
--resource-name='//cloudresourcemanager.googleapis.com/projects/\
|
||||
example-project'
|
||||
9876'
|
||||
|
||||
Create an ACTIVE finding testFinding with category: XSS_SCRIPTING attached
|
||||
to example-project under organization 123456, source 5678 and location=eu:
|
||||
to project with project number`9876 under organization 123456, source 5678
|
||||
and location=eu:
|
||||
|
||||
$ gcloud alpha scc findings create `testFinding` \
|
||||
--organization=123456 --source=5678 --state=ACTIVE \
|
||||
--category='XSS_SCRIPTING' \
|
||||
--event-time=2023-01-11T07:00:06.861Z \
|
||||
--resource-name='//cloudresourcemanager.googleapis.com/projects/\
|
||||
example-project' --location=eu
|
||||
9876' --location=eu
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Finding resource - The finding to be used for the SCC (Security Command
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue