- NAME
-
- gcloud network-security security-profiles threat-prevention - manage Security Profiles - Threat Prevention Profile
- SYNOPSIS
-
-
gcloud network-security security-profiles threat-preventionCOMMAND[GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
- Manage Security Profiles - Threat Prevention Profile.
- EXAMPLES
-
To create a Security Profile with the name
my-security-profilewhich includes location as global or region specified and organization ID, optional description asNew Security Profile, run:gcloud network-security security-profiles threat-prevention create my-security-profile --description="New Security Profile"To add an override, run:
gcloud 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 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 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 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 specified location and organization, run:
gcloud network-security security-profiles threat-prevention list --location=globalTo delete a Security Profile called
my-security-profilewhich includes location as global or region specified and organization ID, run:gcloud network-security security-profiles threat-prevention delete my-security-profile - GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--help.Run
$ gcloud helpfor details. - COMMANDS
-
is one of the following:COMMANDadd-override- Add overrides to Threat Prevention Profile.
create- Create a new Threat Prevention Profile.
delete- Delete a Security Profile.
delete-override- Delete overrides of Threat Prevention Profile.
list- List Threat Prevention Security Profiles.
list-overrides- List overrides of Threat Prevention Profile.
update-override- Update Overrides of Threat Prevention Profile.
- NOTES
-
These variants are also available:
gcloud alpha network-security security-profiles threat-preventiongcloud beta network-security security-profiles threat-prevention
gcloud network-security security-profiles threat-prevention
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-22 UTC.