1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-17 14:26:34 +00:00

gcloud: Wed Apr 26 10:24:37 UTC 2023

This commit is contained in:
Automated 2023-04-26 10:24:37 +00:00
parent b33a8a3e6e
commit 2ae1bc2b12
276 changed files with 6093 additions and 833 deletions

View file

@ -0,0 +1,28 @@
NAME
gcloud alpha network-security security-profiles - manage Network Security -
Security Profiles
SYNOPSIS
gcloud alpha network-security security-profiles GROUP
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Manage Network Security - Security Profiles.
GCLOUD WIDE FLAGS
These flags are available to all commands: --help.
Run $ gcloud help for details.
GROUPS
GROUP is one of the following:
threat-prevention
(ALPHA) Manage Security Profiles - Threat Prevention Profile.
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

@ -0,0 +1,91 @@
NAME
gcloud alpha network-security security-profiles threat-prevention
add-override - add overrides to Threat Prevention Profile
SYNOPSIS
gcloud alpha network-security security-profiles threat-prevention
add-override
(SECURITY_PROFILE : --location=LOCATION --organization=ORGANIZATION)
--action=ACTION
(--severities=[SEVERITY_LEVEL,...] | --threat-ids=[THREAT-ID,...])
[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.
For more examples, refer to the EXAMPLES section below.
EXAMPLES
To add an override, run:
$ gcloud alpha network-security security-profiles \
threat-prevention add-override my-security-profile \
--severities=MEDIUM --action=ALLOW
my-security-profile is the name of the Security Profile in the format
organizations/{organizationID}/locations/{location}/securityProfiles/
{security_profile_id} where organizationID is the organization ID to which
the changes should apply, location either global or region specified and
security_profile_id the Security Profile Identifier
POSITIONAL ARGUMENTS
Security profile resource - Security Profile Name. 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 of the security_profile Global|Region. 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.
--organization=ORGANIZATION
Organization ID to which the changes should apply. 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.
REQUIRED FLAGS
--action=ACTION
Action associated with severity or threat-id. ACTION must be one of:
DEFAULT, ALLOW, ALERT, DENY.
Exactly one of these must be specified:
--severities=[SEVERITY_LEVEL,...]
List of comma seperated severities where each value in the list
indicates the severity of the threat.
--threat-ids=[THREAT-ID,...]
List of comma seperated threat identifiers where each identifier in
the list is a vendor-specified Signature ID representing a threat
type.
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 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

@ -0,0 +1,67 @@
NAME
gcloud alpha network-security security-profiles threat-prevention create -
create a new Threat Prevention Profile
SYNOPSIS
gcloud alpha network-security security-profiles threat-prevention create
(SECURITY_PROFILE : --location=LOCATION --organization=ORGANIZATION)
[--description=DESCRIPTION] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Create a new Security Profile with the given name.
EXAMPLES
To create a Security Profile with the name my-security-profile which
includes location as global or region specifed and organization ID,
optional description as New Security Profile, run:
$ gcloud alpha network-security security-profiles \
threat-prevention create my-security-profile \
--description="New Security Profile"
POSITIONAL ARGUMENTS
Security profile resource - Security Profile Name. 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 of the security_profile Global|Region. 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.
--organization=ORGANIZATION
Organization ID to which the changes should apply. 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
--description=DESCRIPTION
Brief description of the security profile
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 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

@ -0,0 +1,68 @@
NAME
gcloud alpha network-security security-profiles threat-prevention delete -
delete a Security Profile
SYNOPSIS
gcloud alpha network-security security-profiles threat-prevention delete
(SECURITY_PROFILE : --location=LOCATION --organization=ORGANIZATION)
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Delete the specified Security Profile.
EXAMPLES
To delete a Security Profile called my-security-profile which includes
location as global or region specifed and organization ID, run:
$ gcloud alpha network-security security-profiles \
threat-prevention delete my-security-profile
POSITIONAL ARGUMENTS
Security profile resource - Name of the Security Profile you want to
delete. 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.
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.
--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.
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

@ -0,0 +1,86 @@
NAME
gcloud alpha network-security security-profiles threat-prevention
delete-override - delete overrides of Threat Prevention Profile
SYNOPSIS
gcloud alpha network-security security-profiles threat-prevention
delete-override
(SECURITY_PROFILE : --location=LOCATION --organization=ORGANIZATION)
(--severities=[SEVERITY_LEVEL,...] | --threat-ids=[THREAT-ID,...])
[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
my-security-profile.
For more examples, refer to the EXAMPLES section below.
EXAMPLES
To delete an override, run:
$ gcloud alpha network-security security-profiles \
threat-prevention delete-override my-security-profile \
--severities=MEDIUM
my-security-profile is the name of the Security Profile in the format
organizations/{organizationID}/locations/{location}/securityProfiles/
{security_profile_id} where organizationID is the organization ID to which
the changes should apply, location either global or region specified and
security_profile_id the Security Profile Identifier
POSITIONAL ARGUMENTS
Security profile resource - Security Profile Name. 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 of the security_profile Global|Region. 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.
--organization=ORGANIZATION
Organization ID to which the changes should apply. 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.
REQUIRED FLAGS
Exactly one of these must be specified:
--severities=[SEVERITY_LEVEL,...]
List of comma seperated severities where each value in the list
indicates the severity of the threat.
--threat-ids=[THREAT-ID,...]
List of comma seperated threat identifiers where each identifier in
the list is a vendor-specified Signature ID representing a threat
type.
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 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

@ -0,0 +1,113 @@
NAME
gcloud alpha network-security security-profiles threat-prevention - manage
Security Profiles - Threat Prevention Profile
SYNOPSIS
gcloud alpha network-security security-profiles threat-prevention COMMAND
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Manage Security Profiles - Threat Prevention Profile.
EXAMPLES
To create a Security Profile with the name my-security-profile which
includes location as global or region specifed and organization ID,
optional description as New Security Profile, run:
$ gcloud alpha network-security security-profiles \
threat-prevention create my-security-profile \
--description="New Security Profile"
To add an override, run:
$ gcloud alpha network-security security-profiles \
threat-prevention add-override my-security-profile \
--severities=MEDIUM --action=ALLOW
`my-security-profile` is the name of the Security Profile in the
format organizations/{organizationID}/locations/{location}/securityProfiles/
{security_profile_id} where organizationID is the organization ID to which
the changes should apply, location either global or region specified and
security_profile_id the Security Profile Identifier.
To update an override, run:
$ gcloud alpha network-security security-profiles \
threat-prevention update-override my-security-profile \
--severities=MEDIUM --action=ALLOW
`my-security-profile` is the name of the Security Profile in the
format organizations/{organizationID}/locations/{location}/securityProfiles/
{security_profile_id} where organizationID is the organization ID to which
the changes should apply, location either global or region specified and
security_profile_id the Security Profile Identifier.
To list overrides, run:
$ gcloud alpha network-security security-profiles \
threat-prevention list-overrides my-security-profile
`my-security-profile` is the name of the Security Profile in the
format organizations/{organizationID}/locations/{location}/securityProfiles/
{security_profile_id} where organizationID is the organization ID to which
the changes should apply, location either global or region specified and
security_profile_id the Security Profile Identifier.
To delete an override, run:
$ gcloud alpha network-security security-profiles \
threat-prevention delete-override my-security-profile \
--severities=MEDIUM
`my-security-profile` is the name of the Security Profile in the
format organizations/{organizationID}/locations/{location}/securityProfiles/
{security_profile_id} where organizationID is the organization ID to which
the changes should apply, location either global or region specified and
security_profile_id the Security Profile Identifier.
To list Security Profiles in specifed location and organization, run:
$ gcloud alpha network-security security-profiles \
threat-prevention list --location=global
To delete a Security Profile called my-security-profile which includes
location as global or region specifed and organization ID, run:
$ gcloud alpha network-security security-profiles \
threat-prevention delete my-security-profile
GCLOUD WIDE FLAGS
These flags are available to all commands: --help.
Run $ gcloud help for details.
COMMANDS
COMMAND is one of the following:
add-override
(ALPHA) Add overrides to Threat Prevention Profile.
create
(ALPHA) Create a new Threat Prevention Profile.
delete
(ALPHA) Delete a Security Profile.
delete-override
(ALPHA) Delete overrides of Threat Prevention Profile.
list
(ALPHA) List Security Profiles.
list-overrides
(ALPHA) List overrides of Threat Prevention Profile.
update-override
(ALPHA) Update Overrides of Threat Prevention Profile.
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

@ -0,0 +1,92 @@
NAME
gcloud alpha network-security security-profiles threat-prevention list -
list Security Profiles
SYNOPSIS
gcloud alpha network-security security-profiles threat-prevention 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 and organization, run:
$ gcloud alpha network-security security-profiles \
threat-prevention list --location=global
REQUIRED FLAGS
Location resource - The organization 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

@ -0,0 +1,70 @@
NAME
gcloud alpha network-security security-profiles threat-prevention
list-overrides - list overrides of Threat Prevention Profile
SYNOPSIS
gcloud alpha network-security security-profiles threat-prevention
list-overrides
(SECURITY_PROFILE : --location=LOCATION --organization=ORGANIZATION)
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) To list existing severities or threat-ids of threat prevention
profile.
For more examples, refer to the EXAMPLES section below.
EXAMPLES
To list overrides, run:
$ gcloud alpha network-security security-profiles \
threat-prevention list-overrides my-security-profile
my-security-profile is the name of the Security Profile in the format
organizations/{organizationID}/locations/{location}/securityProfiles/
{security_profile_id} where organizationID is the organization ID to which
the changes should apply, location either global or region specified and
security_profile_id the Security Profile Identifier
POSITIONAL ARGUMENTS
Security profile resource - Security Profile Name. 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 of the security_profile Global|Region. 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.
--organization=ORGANIZATION
Organization ID to which the changes should apply. 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.
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 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

@ -0,0 +1,91 @@
NAME
gcloud alpha network-security security-profiles threat-prevention
update-override - update Overrides of Threat Prevention Profile
SYNOPSIS
gcloud alpha network-security security-profiles threat-prevention
update-override
(SECURITY_PROFILE : --location=LOCATION --organization=ORGANIZATION)
--action=ACTION
(--severities=[SEVERITY_LEVEL,...] | --threat-ids=[THREAT-ID,...])
[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.
For more examples, refer to the EXAMPLES section below.
EXAMPLES
To update an override, run:
$ gcloud alpha network-security security-profiles \
threat-prevention update-override my-security-profile \
--severities=MEDIUM --action=ALLOW
my-security-profile is the name of the Security Profile in the format
organizations/{organizationID}/locations/{location}/securityProfiles/
{security_profile_id} where organizationID is the organization ID to which
the changes should apply, location either global or region specified and
security_profile_id the Security Profile Identifier
POSITIONAL ARGUMENTS
Security profile resource - Security Profile Name. 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 of the security_profile Global|Region. 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.
--organization=ORGANIZATION
Organization ID to which the changes should apply. 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.
REQUIRED FLAGS
--action=ACTION
Action associated with severity or threat-id. ACTION must be one of:
DEFAULT, ALLOW, ALERT, DENY.
Exactly one of these must be specified:
--severities=[SEVERITY_LEVEL,...]
List of comma seperated severities where each value in the list
indicates the severity of the threat.
--threat-ids=[THREAT-ID,...]
List of comma seperated threat identifiers where each identifier in
the list is a vendor-specified Signature ID representing a threat
type.
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 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.