Managing the Query Favorites List
Add queries that you want to run again to the favorites list.
You can add existing queries to the favorites list from the Past queries and Run query pages. If you create a query from the Favorite queries page, the query is automatically added to the favorites list.
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Use the oci cloud-guard saved-query change-compartment command and required parameters to move a favorite query to a different compartment:
oci cloud-guard saved-query change-compartment --compartment-id, -c <new_compartment_ocid> --saved-query-id <query_ocid> [OPTIONS]
Use the oci cloud-guard saved-query create command and required parameters to create a favorite query:
oci cloud-guard saved-query create --compartment-id, -c <compartment_ocid> --display-name <saved_query_display_name> --query-parameterconflict <query_expression> [OPTIONS]
Use the oci cloud-guard saved-query delete command and required parameters to delete a favorite query:
oci cloud-guard saved-query delete --saved-query-id <query_ocid> [OPTIONS]
Use the oci cloud-guard saved-query get command and required parameters to get the details for a favorite query:
oci cloud-guard saved-query get --saved-query-id <query_ocid> [OPTIONS]
Use the oci cloud-guard saved-query list command and required parameters to list all available favorite queries in a compartment:
oci cloud-guard saved-query list --compartment-id, -c <compartment_ocid> [OPTIONS]
Use the oci cloud-guard saved-query update command and required parameters to update a favorite query:
oci cloud-guard saved-query update --saved-query-id <query_ocid> [OPTIONS]
Run the ChangeSavedQueryCompartment operation to move a favorite query to a different compartment.
Run the CreateSavedQuery operation to create a favorite query.
Run the DeleteSavedQuery operation to delete a favorite query.
Run the GetSavedQuery operation to get the details for a favorite query.
Run the ListSavedQueries operation to list all available favorite queries in a compartment.
Run the UpdateSavedQuery operation to update a favorite query.
What's Next
To schedule a query to run periodically, see Scheduling a New Query.