Deleting a Security Zone

Delete a security zone for a compartment.

When you delete a security zone, the following changes occur:

  • Oracle Cloud Infrastructure doesn't enforce security zone policies on resources in the compartment.
  • Cloud Guard doesn't detect policy violations on resources in the compartment.

These changes also affect any subcompartments unless a subcompartment is in a separate security zone.

To ensure the integrity of the data, some policies restrict the movement of certain resources from a compartment in a security zone to a compartment that isn't in a security zone.

When you delete a zone, the Cloud Guard configuration is modified as well. The specific changes in Cloud Guard depend on the existing targets and security zones in the compartment hierarchy. See Cloud Guard Changes when a Security Zone is Deleted.

    1. Open the navigation menu and click Identity & Security. Under Security Zones, click Overview.
    2. Under List scope, select the Compartment that's associated with the security zone that you want to delete.
    3. Choose one of the following options:
      • Click the name of the security zone. On the Security Zone details page, click Delete.
      • Click the Actions icon to the right side of the security zone, and then select Delete.
    4. When prompted for confirmation, click Delete.
  • Use the oci cloud-guard security-zone delete command and required parameters to delete a security zone:

    oci cloud-guard security-zone delete --security-zone-id <securiy_zone_ocid> [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the Command Line Reference.

  • Run the DeleteSecurityZone operation to delete a security zone.