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. On the Security Zones list page, select the security zone that you want to work with. If you need help finding the list page or the security zone, see Listing a Security Zone.
    2. On the details page, select the recipe name next to Recipe.

      The Recipe details page opens and displays the security zone policies that are enabled in the 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.