Listing Web Application Firewall Policies

View a list of the web application firewall policies in a compartment.

    1. Open the navigation menu  and select Identity & Security. Under Web Application Firewall, select Policies.

      The Policies list page opens. All policies in the selected compartment are displayed in a table.

      The list indicates the name, policy type (WAF Policy or Edge Policy), status, and created date and time (UTC date timestamp) information for each policy.

    2. To view the policies in 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.

    Filtering List Results

    Use filters to limit the policies in the list.

    On the left side of the list page, select a value from one of the available filters, such as compartment, state, name, policy type, or tags.

    To limit policies to WAF policies, select the WAF policy value for the policy type filter.

    Actions

    In the list table, select the name of a policy to open its details page, where you can view its status and perform other tasks.

    To perform an action on a policy directly from the list table, select any of the following options from the Actions menu (Actions Menu) in the row for that policy:

    To create a WAF policy, select Create WAF policy.

    To delete more than one policy at a time, select the checkboxes next to the policy names and then select Delete.

  • Use the oci waf web-app-firewall-policy list command and required parameters to list web application firewall policies in a compartment:

    oci waf web-app-firewall-policy list --compartment-id compartment_ocid [OPTIONS]

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the ListWebAppFirewallPolicies operation to list the web application firewall policies in a compartment.