1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-20 13:10:18 +00:00

gcloud: Wed May 15 09:19:06 UTC 2024

This commit is contained in:
Automated 2024-05-15 09:19:06 +00:00
parent e8259d86b1
commit 3b84182be4
193 changed files with 10091 additions and 581 deletions

View file

@ -0,0 +1,69 @@
NAME
gcloud scc manage services describe - get the details of a Security Command
Center service
SYNOPSIS
gcloud scc manage services describe SERVICE_NAME
(--folder=FOLDER_ID | --organization=ORGANIZATION_ID | --parent=PARENT
| --project=PROJECT_ID_OR_NUMBER) [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Get the details of a Security Command Center service. It resolves INHERITED
enablement states to ENABLED or DISABLED for services at ancestor levels.
For example, if the service is enabled at the ancestor level, services for
all child resources will have the enablement state set to ENABLED.
EXAMPLES
To get the details of a Security Command Center service with name sha for
organization 123, run:
$ gcloud scc manage services describe sha --organization=123
To get the details of a Security Command Center service with name sha for
folder 456, run:
$ gcloud scc manage services describe sha --folder=456
To get the details of a Security Command Center service with ID sha for
project 789, run:
$ gcloud scc manage services describe sha --project=789
You can also specify the parent more generally:
$ gcloud scc manage services describe sha --parent=organizations/123
POSITIONAL ARGUMENTS
SERVICE_NAME
The service name, provided either in lowercase hyphenated form (e.g.
security-health-analytics), or in abbreviated form (e.g. sha)
REQUIRED FLAGS
Exactly one of these must be specified:
--folder=FOLDER_ID
Folder associated with the custom module.
--organization=ORGANIZATION_ID
Organization associated with the custom module.
--parent=PARENT
Parent associated with the custom module. Can be one of
organizations/<id>, projects/<id or name>, folders/<id>
--project=PROJECT_ID_OR_NUMBER
Project associated with the custom module.
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.
NOTES
This variant is also available:
$ gcloud alpha scc manage services describe

View file

@ -0,0 +1,32 @@
NAME
gcloud scc manage services - manage Cloud SCC (Security Command Center)
services
SYNOPSIS
gcloud scc manage services COMMAND [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Manage Cloud SCC (Security Command Center) services.
GCLOUD WIDE FLAGS
These flags are available to all commands: --help.
Run $ gcloud help for details.
COMMANDS
COMMAND is one of the following:
describe
Get the details of a Security Command Center service.
list
List the details of Security Command Center services.
update
Update a Security Command Center service.
NOTES
This variant is also available:
$ gcloud alpha scc manage services

View file

@ -0,0 +1,88 @@
NAME
gcloud scc manage services list - list the details of Security Command
Center services
SYNOPSIS
gcloud scc manage services list
(--folder=FOLDER_ID | --organization=ORGANIZATION_ID | --parent=PARENT
| --project=PROJECT_ID_OR_NUMBER) [--filter=EXPRESSION]
[--limit=LIMIT] [--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
List the details of Security Command Center services for the specified
folder, project or organization. Services along with their corresponding
module information is returned as the response.
EXAMPLES
To list the Security Center services for organization 123, run:
$ gcloud scc manage services list --organization=organizations/123
To list Security Center services for folder 456, run:
$ gcloud scc manage services list --folder=folders/456
To list Security Center services for project 789, run:
$ gcloud scc manage services list --project=projects/789
You can also specify the parent more generally:
$ gcloud scc manage services list --parent=organizations/123
REQUIRED FLAGS
Exactly one of these must be specified:
--folder=FOLDER_ID
Folder associated with the Security Center service.
--organization=ORGANIZATION_ID
Organization associated with the Security Center service.
--parent=PARENT
Parent associated with the Security Center service. Can be one of
organizations/<id>, projects/<id or name>, folders/<id>
--project=PROJECT_ID_OR_NUMBER
Project associated with the Security Center service.
LIST COMMAND FLAGS
--filter=EXPRESSION
Apply a Boolean filter EXPRESSION to each resource item to be listed.
If the expression evaluates True, then that item is listed. For more
details and examples of filter expressions, run $ gcloud topic filters.
This flag interacts with other flags that are applied in this order:
--flatten, --sort-by, --filter, --limit.
--limit=LIMIT
Maximum number of resources to list. The default is unlimited. This
flag interacts with other flags that are applied in this order:
--flatten, --sort-by, --filter, --limit.
--page-size=PAGE_SIZE
Some services group resource list output into pages. This flag
specifies the maximum number of resources per page. The default is
determined by the service if it supports paging, otherwise it is
unlimited (no paging). Paging may be applied before or after --filter
and --limit depending on the service.
--sort-by=[FIELD,...]
Comma-separated list of resource field key names to sort by. The
default order is ascending. Prefix a field with ``~'' for descending
order on that field. This flag interacts with other flags that are
applied in this order: --flatten, --sort-by, --filter, --limit.
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.
NOTES
This variant is also available:
$ gcloud alpha scc manage services list

View file

@ -0,0 +1,88 @@
NAME
gcloud scc manage services update - update a Security Command Center
service
SYNOPSIS
gcloud scc manage services update SERVICE_NAME
(--enablement-state=ENABLEMENT_STATE
--module-config-file=MODULE_CONFIG_FILE)
(--folder=FOLDER_ID | --organization=ORGANIZATION_ID | --parent=PARENT
| --project=PROJECT_ID_OR_NUMBER) [--validate-only]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Update the enablement state of the Security Center service and its
corresponding modules for the specified folder, project or organization.
EXAMPLES
To update a Security Center Service with name sha for organization 123,
run:
$ gcloud scc manage services update sha \
--organization=organizations/123 --enablement-state="ENABLED"
To update a Security Center Service with name sha and its modules for
organization 123, run:
$ gcloud scc manage services update sha \
--organization=organizations/123 --enablement-state="ENABLED" \
--module-config-file=module_config.yaml
To validate an update of Security Center Service with name sha and its
modules for organization 123, run:
$ gcloud scc manage services update sha \
--organization=organizations/123 --enablement-state="ENABLED" \
--module-config-file=module_config.yaml --validate-only
POSITIONAL ARGUMENTS
SERVICE_NAME
The service name, provided either in lowercase hyphenated form (e.g.
security-health-analytics), or in abbreviated form (e.g. sha)
REQUIRED FLAGS
At least one of these must be specified:
--enablement-state=ENABLEMENT_STATE
Sets the enablement state of the Security Center service. Valid
options are ENABLED, DISABLED, OR INHERITED. The INHERITED state is
only valid when setting the enablement state at the project or folder
level.
--module-config-file=MODULE_CONFIG_FILE
Path to a JSON or YAML file that contains the module config to set
for the given module and service.
Exactly one of these must be specified:
--folder=FOLDER_ID
Folder associated with the custom module.
--organization=ORGANIZATION_ID
Organization associated with the custom module.
--parent=PARENT
Parent associated with the custom module. Can be one of
organizations/<id>, projects/<id or name>, folders/<id>
--project=PROJECT_ID_OR_NUMBER
Project associated with the custom module.
OPTIONAL FLAGS
--validate-only
If present, the request is validated (including IAM checks) but no
action is taken.
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.
NOTES
This variant is also available:
$ gcloud alpha scc manage services update