Listing Policies

See a list of the policies in a compartment.

    1. Open the navigation menu and click Identity & Security. Under Firewalls, click Network Firewall Policies.
    2. Select a compartment from the list.
      All network firewall policies are listed in tabular form.
  • Use the network-firewall network-firewall-policy list command and required parameters to list all network firewall policies in a compartment.
    oci network-firewall network-firewall-policy list 
    --compartment-id compartment_id [OPTIONS]

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

  • Run the ListNetworkFirewallPolicies operation to list all network firewall policies in a compartment.