Tagging a Web Application Firewall when Updating

When updating a web application firewall policy, you can tag the policy as needed.

Using the Console

  1. Begin the steps for editing a web application firewall policy using the Oracle Cloud Infrastructure Console as described in Editing a Web Application Firewall Policy.

  2. In the Details page of the selected load balancer, click Add Tags.

    Alternatively, click the Actions menu (Actions Menu) for the load balancer to which you want to add tags, and then click Add Tags.

    The Add Tags dialog box appears.

  3. Complete the following:

    • Tag Namespace

    • Tag Key

    • Value

    See Overview of Tagging for descriptions of these fields.

  4. Click +Additional Tag to add another tag. Click X to remove the associated tag.

  5. Click Add Tags.

    The dialog box closes and you are returned to the Details page.

Using the CLI

Use the --defined-tags or --freeform-tags options when running the oci waf web-app-firewall-policy update command to tag a web application firewall policy when you update it:

Command
oci waf web-app-firewall-policy update [...] [--defined-tags | --freeform-tags] tags [OPTIONS]

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

Using the API

Run the UpdateLoadBalancer operation to create a load balancer. Include the definedTags and freeformTags attributes and their values.