1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-18 06:47:12 +00:00

gcloud: Wed Jan 8 10:03:00 UTC 2025

This commit is contained in:
Automated 2025-01-08 10:03:00 +00:00
parent 52290f76fe
commit 5a9f5ff67e
161 changed files with 2678 additions and 414 deletions

View file

@ -0,0 +1,79 @@
NAME
gcloud alpha network-security security-profiles export - export Security
Profile
SYNOPSIS
gcloud alpha network-security security-profiles export
(SECURITY_PROFILE : --location=LOCATION --organization=ORGANIZATION)
[--destination=DESTINATION] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Export a Security Profile.
EXAMPLES
To export a Security Profile, run:
$ gcloud alpha network-security security-profiles export \
my-security-profile --organization=1234 --location=global \
--destination=my-security-profile.yaml
POSITIONAL ARGUMENTS
Security profile resource - Name of the Security Profile to export. The
arguments in this group can be used to specify the attributes of this
resource.
This must be specified.
SECURITY_PROFILE
ID of the security_profile or fully qualified identifier for the
security_profile.
To set the security_profile attribute:
▸ provide the argument security_profile on the command line.
This positional argument must be specified if any of the other
arguments in this group are specified.
--location=LOCATION
Location ID of the resource.
To set the location attribute:
▸ provide the argument security_profile on the command line with a
fully specified name;
▸ provide the argument --location on the command line;
▸ use default global location .
--organization=ORGANIZATION
Organization number.
To set the organization attribute:
▸ provide the argument security_profile on the command line with a
fully specified name;
▸ provide the argument --organization on the command line.
FLAGS
--destination=DESTINATION
Path to a YAML file where the configuration will be exported. The
exported data will not contain any output-only fields. Alternatively,
you may omit this flag to write to standard output. For a schema
describing the export/import format, see
$CLOUDSDKROOT/lib/googlecloudsdk/schemas/...
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 networksecurity/v1alpha1 API. The full documentation
for this API can be found at: https://cloud.google.com/networking
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.

View file

@ -32,6 +32,12 @@ COMMANDS
describe
(ALPHA) Describe a Security Profile.
export
(ALPHA) Export Security Profile.
list
(ALPHA) List Security Profiles.
NOTES
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct

View file

@ -0,0 +1,93 @@
NAME
gcloud alpha network-security security-profiles list - list Security
Profiles
SYNOPSIS
gcloud alpha network-security security-profiles list
(--location=LOCATION : --organization=ORGANIZATION)
[--filter=EXPRESSION] [--limit=LIMIT] [--page-size=PAGE_SIZE]
[--sort-by=[FIELD,...]] [--uri] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) List all Security Profiles in the specified location.
EXAMPLES
To list Security Profiles in specifed location, run:
$ gcloud alpha network-security security-profiles list \
--location=global
REQUIRED FLAGS
Location resource - The location of Security Profiles to display. The
arguments in this group can be used to specify the attributes of this
resource.
This must be specified.
--location=LOCATION
ID of the location or fully qualified identifier for the location.
To set the location attribute:
▸ provide the argument --location on the command line.
This flag argument must be specified if any of the other arguments in
this group are specified.
--organization=ORGANIZATION
Organization number.
To set the organization attribute:
▸ provide the argument --location on the command line with a fully
specified name;
▸ provide the argument --organization on the command line.
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.
--uri
Print a list of resource URIs instead of the default output, and change
the command output to a list of URIs. If this flag is used with
--format, the formatting is applied on this URI list. To display URIs
alongside other keys instead, use the uri() transform.
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 networksecurity/v1alpha1 API. The full documentation
for this API can be found at: https://cloud.google.com/networking
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.

View file

@ -7,15 +7,16 @@ SYNOPSIS
add-override
(SECURITY_PROFILE : --location=LOCATION --organization=ORGANIZATION)
--action=ACTION
(--severities=[SEVERITY_LEVEL,...] | --threat-ids=[THREAT-ID,...])
[--async] [--update-labels=[KEY=VALUE,...]]
(--antivirus=[PROTOCOL,...] | --severities=[SEVERITY_LEVEL,...]
| --threat-ids=[THREAT-ID,...]) [--async]
[--update-labels=[KEY=VALUE,...]]
[--clear-labels | --remove-labels=[KEY,...]] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Add severities or threat-ids to existing threat prevention profile
with intended action on each specified. Check the updates of add-override
command by using gcloud network-security security-profiles
threat-prevention list-override my-security-profile.
(ALPHA) Add antivirus, severities, or threat-ids to existing threat
prevention profile with intended action on each specified. Check the
updates of add-override command by using gcloud network-security
security-profiles threat-prevention list-override my-security-profile.
For more examples, refer to the EXAMPLES section below.
@ -66,11 +67,15 @@ POSITIONAL ARGUMENTS
REQUIRED FLAGS
--action=ACTION
Action associated with severity or threat-id. ACTION must be one of:
DEFAULT_ACTION, ALLOW, ALERT, DENY.
Action associated with antivirus, severity, or threat-id. ACTION must
be one of: DEFAULT_ACTION, ALLOW, ALERT, DENY.
Exactly one of these must be specified:
--antivirus=[PROTOCOL,...]
List of comma-separated protocols where each value in the list
indicates the protocol of the antivirus threat.
--severities=[SEVERITY_LEVEL,...]
List of comma-separated severities where each value in the list
indicates the severity of the threat.

View file

@ -6,14 +6,15 @@ SYNOPSIS
gcloud alpha network-security security-profiles threat-prevention
delete-override
(SECURITY_PROFILE : --location=LOCATION --organization=ORGANIZATION)
(--severities=[SEVERITY_LEVEL,...] | --threat-ids=[THREAT-ID,...])
[--async] [--update-labels=[KEY=VALUE,...]]
(--antivirus=[PROTOCOL,...] | --severities=[SEVERITY_LEVEL,...]
| --threat-ids=[THREAT-ID,...]) [--async]
[--update-labels=[KEY=VALUE,...]]
[--clear-labels | --remove-labels=[KEY,...]] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) To delete existing severities or threat-ids of threat prevention
profile. Check the updates of update-override command by using gcloud
network-security security-profiles threat-prevention list-override
(ALPHA) To delete existing antivirus, severities, or threat-ids of threat
prevention profile. Check the updates of update-override command by using
gcloud network-security security-profiles threat-prevention list-override
my-security-profile.
For more examples, refer to the EXAMPLES section below.
@ -66,6 +67,10 @@ POSITIONAL ARGUMENTS
REQUIRED FLAGS
Exactly one of these must be specified:
--antivirus=[PROTOCOL,...]
List of comma-separated protocols where each value in the list
indicates the protocol of the antivirus threat.
--severities=[SEVERITY_LEVEL,...]
List of comma-separated severities where each value in the list
indicates the severity of the threat.

View file

@ -9,8 +9,8 @@ SYNOPSIS
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) To list existing severities or threat-ids of threat prevention
profile.
(ALPHA) To list existing antivirus, severities, or threat-ids of threat
prevention profile.
For more examples, refer to the EXAMPLES section below.

View file

@ -7,15 +7,16 @@ SYNOPSIS
update-override
(SECURITY_PROFILE : --location=LOCATION --organization=ORGANIZATION)
--action=ACTION
(--severities=[SEVERITY_LEVEL,...] | --threat-ids=[THREAT-ID,...])
[--async] [--update-labels=[KEY=VALUE,...]]
(--antivirus=[PROTOCOL,...] | --severities=[SEVERITY_LEVEL,...]
| --threat-ids=[THREAT-ID,...]) [--async]
[--update-labels=[KEY=VALUE,...]]
[--clear-labels | --remove-labels=[KEY,...]] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) To update existing severities or threat-ids of threat prevention
profile with intended action on each specified. Check the updates of
update-override command by using gcloud network-security security-profiles
threat-prevention list-override my-security-profile.
(ALPHA) To update existing antivirus, severities, or threat-ids of threat
prevention profile with intended action on each specified. Check the
updates of update-override command by using gcloud network-security
security-profiles threat-prevention list-override my-security-profile.
For more examples, refer to the EXAMPLES section below.
@ -66,11 +67,15 @@ POSITIONAL ARGUMENTS
REQUIRED FLAGS
--action=ACTION
Action associated with severity or threat-id. ACTION must be one of:
DEFAULT_ACTION, ALLOW, ALERT, DENY.
Action associated with antivirus, severity, or threat-id. ACTION must
be one of: DEFAULT_ACTION, ALLOW, ALERT, DENY.
Exactly one of these must be specified:
--antivirus=[PROTOCOL,...]
List of comma-separated protocols where each value in the list
indicates the protocol of the antivirus threat.
--severities=[SEVERITY_LEVEL,...]
List of comma-separated severities where each value in the list
indicates the severity of the threat.