gcloud network-security security-profiles threat-prevention Stay organized with collections Save and categorize content based on your preferences.
- 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:gcloudnetwork-securitysecurity-profilesthreat-preventioncreatemy-security-profile--description="New Security Profile"To add an override, run:
gcloudnetwork-securitysecurity-profilesthreat-preventionadd-overridemy-security-profile--severities=MEDIUM--action=ALLOW`my-security-profile`isthenameoftheSecurityProfileintheformatorganizations/{organizationID}/locations/{location}/securityProfiles/{security_profile_id}whereorganizationIDistheorganizationIDtowhichthechangesshouldapply,locationeitherglobalorregionspecifiedandsecurity_profile_idtheSecurityProfileIdentifier.
To update an override, run:
gcloudnetwork-securitysecurity-profilesthreat-preventionupdate-overridemy-security-profile--severities=MEDIUM--action=ALLOW`my-security-profile`isthenameoftheSecurityProfileintheformatorganizations/{organizationID}/locations/{location}/securityProfiles/{security_profile_id}whereorganizationIDistheorganizationIDtowhichthechangesshouldapply,locationeitherglobalorregionspecifiedandsecurity_profile_idtheSecurityProfileIdentifier.
To list overrides, run:
gcloudnetwork-securitysecurity-profilesthreat-preventionlist-overridesmy-security-profile`my-security-profile`isthenameoftheSecurityProfileintheformatorganizations/{organizationID}/locations/{location}/securityProfiles/{security_profile_id}whereorganizationIDistheorganizationIDtowhichthechangesshouldapply,locationeitherglobalorregionspecifiedandsecurity_profile_idtheSecurityProfileIdentifier.
To delete an override, run:
gcloudnetwork-securitysecurity-profilesthreat-preventiondelete-overridemy-security-profile--severities=MEDIUM`my-security-profile`isthenameoftheSecurityProfileintheformatorganizations/{organizationID}/locations/{location}/securityProfiles/{security_profile_id}whereorganizationIDistheorganizationIDtowhichthechangesshouldapply,locationeitherglobalorregionspecifiedandsecurity_profile_idtheSecurityProfileIdentifier.
To list Security Profiles in specified location and organization, run:
gcloudnetwork-securitysecurity-profilesthreat-preventionlist--location=globalTo delete a Security Profile called
my-security-profilewhichincludes location as global or region specified and organization ID, run:gcloudnetwork-securitysecurity-profilesthreat-preventiondeletemy-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 Threat Prevention 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:
gcloudalphanetwork-securitysecurity-profilesthreat-preventiongcloudbetanetwork-securitysecurity-profilesthreat-prevention
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-02-03 UTC.