Listing Security Zone Policies in a Compartment

View a list of security zone policies in a compartment.

Note

To learn more about security zone policies, see Security Zone Policies.
  • You can view the security zone policies from the security zone recipe. Identify the recipe for an existing security zone, and then view its policies.

    1. Open the navigation menu and click Identity & Security. Under Security Zones, click Overview.
    2. Under List scope, select the compartment associated with the security zone that you want to view.
    3. Click the name of the security zone.
    4. On the Security Zone details page, click the recipe name next to Recipe.

      The Recipe details page is displayed. The Policies table lists the security zone policies that are enabled in this recipe for the compartment.

  • Use the oci cloud-guard security-policy-collection list-security-policies command and required parameters to retrieve a list of security zone policies in a compartment:

    oci cloud-guard security-policy-collection list-security-policies --compartment-id <compartment_ocid> [OPTIONS]

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

  • Run the ListSecurityPolicies operation to retrieve a list of security zone policies in a compartment.