Listing a Security Zone

List the security zones in a compartment.

    1. Open the navigation menu , select Identity & Security, and then select Security Zones.

      The Security Zones list page opens. The security zone associated with the selected compartment is displayed in a table.

    2. To view the security zone associated with a different compartment, use the Compartment filter to switch compartments.
      You must have permission to work in a compartment to see the resources in it. If you're not sure which compartment to use, contact an administrator. For more information, see Understanding Compartments.
  • Use the oci cloud-guard security-zone-collection list-security-zones command and required parameters to list the security zone associated with a compartment:

    oci cloud-guard security-zone-collection list-security-zones --compartment-id <compartment_ocid> [OPTIONS]

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

  • Run the ListSecurityZones operation to list the security zone associated with a compartment.