List Firewall Policies

See a list of the firewall policies in a compartment.

    1. On the navigation menu, click Identity & Security. Under Firewalls, click Network Firewall Policies.
    2. Select a compartment.
      All network firewall policies display.
  • 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.