Listing Events Rules

View the rules in a compartment.

    1. Open the navigation menu  and select Observability & Management. Under Events Service, select Rules.
    2. To view the resources in a different compartment, use the Compartment filter to switch compartments.

      Note

      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.

    All events rules in that compartment are listed in tabular form.

    Optionally, the following tasks are available for each event rule.

    • Edit a rule.
    • Disable a rule.
    • Delete a rule.
    • Move a rule to a different compartment.
  • Use the oci events rule list command and required parameters to list the rules in a compartment:

    oci events rule list --compartment-id compartment_ocid [OPTIONS]

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

  • Run the ListRules operation to list the rules in a compartment.