mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 18:45:13 +00:00
83 lines
3 KiB
Text
83 lines
3 KiB
Text
NAME
|
|
gcloud alpha network-security security-profile-groups - manage Network
|
|
Security - Security Profile Groups
|
|
|
|
SYNOPSIS
|
|
gcloud alpha network-security security-profile-groups COMMAND
|
|
[GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
(ALPHA) Manage Network Security - Security Profile Groups.
|
|
|
|
EXAMPLES
|
|
To create a Security Profile Group with the name my-security-profile-group
|
|
(Either a fully specified path or --location and --organization flags for
|
|
SPG should be specified), --threat-prevention-profile my-security-profile
|
|
and optional description as optional description, run:
|
|
|
|
$ gcloud alpha network-security security-profile-groups create \
|
|
my-security-profile-group --organization=1234 \
|
|
--location=global \
|
|
--threat-prevention-profile=`organizations/1234/locations/\
|
|
global/securityProfiles/my-security-profile` \
|
|
--description='optional description'
|
|
|
|
To delete an Security Profile Group called my-security-profile-group
|
|
(Either a fully specified path or --location and --organization flags for
|
|
SPG should be specified) run:
|
|
|
|
$ gcloud alpha network-security security-profile-groups delete \
|
|
my-security-profile-group --organization=1234 --location=global
|
|
|
|
To show details of a Security Profile Group named my-security-profile-group
|
|
(Either a fully specified path or --location and --organization flags for
|
|
SPG should be specified) run:
|
|
|
|
$ gcloud alpha network-security security-profile-groups describe \
|
|
my-security-profile-group --organization=1234 --location=global
|
|
|
|
To list Security Profile Groups in specifed location and organization, run:
|
|
|
|
$ gcloud alpha network-security security-profile-groups list \
|
|
--location=global
|
|
|
|
To update an SPG with new Threat prevention profile my-new-security-profile
|
|
(Either a fully specified path or --location and --organization flags for
|
|
SPG should be specified), run:
|
|
|
|
$ gcloud alpha network-security security-profile-groups update \
|
|
my-security-profile-group --organization=1234 \
|
|
--location=global \
|
|
--threat-prevention-profile=`organizations/1234/locations/\
|
|
global/securityProfiles/my-new-security-profile` \
|
|
--description='New Security Profile of type threat prevention'
|
|
|
|
GCLOUD WIDE FLAGS
|
|
These flags are available to all commands: --help.
|
|
|
|
Run $ gcloud help for details.
|
|
|
|
COMMANDS
|
|
COMMAND is one of the following:
|
|
|
|
create
|
|
(ALPHA) Create a new Security Profile Group.
|
|
|
|
delete
|
|
(ALPHA) Delete a Security Profile Group.
|
|
|
|
describe
|
|
(ALPHA) Describe a Security Profile Group.
|
|
|
|
list
|
|
(ALPHA) List Security Profile groups.
|
|
|
|
update
|
|
(ALPHA) Update a Security Profile Group.
|
|
|
|
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.
|
|
|