Getting Remediation Recipe Details
Get a detailed view of remediation recipes.
The detailed view of a remediation recipe provides information about the remediation recipe and links to descriptions of the run, metrics and configuration.
You must select a remediation recipe from the remediation recipe dashboard. On the Remediation Recipes list page, select the remediation recipe that you want to work with. If you need help finding the list page, see Listing Remediation Recipes.The detailed view of a remediation recipe presents the state of the remediation recipe and provides information about the remediation recipe in the following sections:
Remediation recipe details
- In this section you can view information about the remediation recipe, run the remediation recipe, clone the remediation recipe, deactivate the remediation recipe, enable logging, add tags to the remediation recipe, or delete the remediation recipe.
- To run the remediation recipe, see Creating a Remediation Run.
- To move the remediation recipe to a different compartment, see Moving a Remediation Recipe.
- To edit the remediation recipe, see Editing a Remediation Recipe.
- To clone the remediation recipe, see Cloning a remediation recipe.
- To deactivate the remediation recipe, see Deactivating a Remediation Recipe.
- To delete the remediation recipe, see Deleting a Remediation Recipe.
- A list of resources from which you can view the remediation runs, its metrics, and its configuration.
- A table of remediation runs. See Listing Remediation Runs.
Click the name of a remediation run to view its details.
Metrics
The metrics provide a view of the remediation recipe during a specified time period, by default the last hour. You can choose a different time period from the Quick Selects list, or explicitly specify the start time and end time using date-time editors. For example, you can use the charts to view the percentage of CVEs remediated in the previous hour, or the mean time to resolution during the previous month.
The metrics are provided as two charts:
- CVEs Remediated
- Mean Time to Resolution
In these charts, you can view statistics during the specified time period. From a chart, you can select the interval (for example, five minutes) as described in Metrics Feature Overview. The Options menu provides the following actions:
- View Query in the Metrics Explorer
- Copy Chart URL
- Copy Query (MQL)
- Create an Alarm on this Query
- Table View
For more information describing the Monitoring Query Language (MQL) and the actions available from the Options menu, see Monitoring Query Language (MQL) Reference and Viewing Default Metric Charts.
Configuration
The configuration of a remediation recipe provides the details of its current configuration, and the ability to edit the elements of its configuration.
Select Edit to edit an element of the configuration of the remediation recipe. See Editing a Remediation Recipe.
Overview
The Overview tab provides the following information:
- Remediation Recipe Oracle Cloud Identifier (OCID). Each remediation recipe has an Oracle-assigned unique ID called an OCID. For details about the syntax of an OCID, see Resource Identifiers.
- The compartment containing the remediation recipe.
- Timestamp indicating when the remediation recipe was created.
- Timestamp indicating when the remediation recipe was last updated.
Tags
The Tags tab provides you with details of the tag key-value pairs that are associated with the remediation recipe. You can add and remove a remediation recipe's tags.
Run history
The Run history shows details of all the remediation runs associated with the remediation recipe such as last stage name and summary, timestamp indicating when the stage started and ended, and status of the remediation run. Following actions are available for each remediation run listed in the run history:- Delete: Delete the remediation run. This action can't be undone.
- Move resource: Move the remediation run from the existing compartment to another compartment. Specify the destination compartment to move the resource.
- Edit: Update the name of the remediation run.
- Cancel: Cancel the remediation run that's in progress.
- View tags: View tags associated with the remediation run if it exists. You can add tags if no tags are available.
- Add tags: Add tags to the remediation run.
- In this section you can view information about the remediation recipe, run the remediation recipe, clone the remediation recipe, deactivate the remediation recipe, enable logging, add tags to the remediation recipe, or delete the remediation recipe.
Use the oci adm remediation-recipe get command and required parameters to retrieve details of the specified remediation recipe:
oci adm remediation-recipe get --remediation-recipe-id remediation_recipe_id [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.
Use the GetRemediationRecipe operation to retrieve details of the specified remediation recipe.