Skip to main content

Create and edit recipes

This page explains the options when creating and editing a recipe. You can also duplicate an existing recipe, customize the copy, and then save as a new recipe.

Start buildingโ€‹

To create a recipe from scratch:

  1. Navigate to the Composer dashboard.

  2. Select Create recipe to open the Recipe builder with a blank canvas.

    Composer - recipe builder: blank.

Step 1: Enter basic informationโ€‹

  1. In the Recipe builder side panel, configure the basic information of the recipe on the Details tab.

    • Title: Name of the recipe.

    • Description (Optional): Descriptive information. Supports Markdown syntax for advanced formatting.

    • Provider: The service provider. This field is set to General by default.

    • Severity: The severity level of insights generated by the present recipe. Supported values: Critical, High, Medium, Low.

    • Pillars: The category of insights generated by the present recipe. Supported values: Cost, Operations, Performance, Security.

    • Compliance standards (Optional): Choose one or more standards from the dropdown. For example, SOC2, HIPAA, GDPR.

    • Check and run continuously: Select this checkbox if you want the recipe to run continuously.

      Below is the basic configuration of an example recipe.

      Composer - recipe builder: add details.

Step 2: Add resourcesโ€‹

  1. Search for a target resource in the Resources side panel, and then drag the resource to the Recipe builder canvas.

    The example screenshot below shows the canvas with the AWS EBS volume resource.

    Composer - recipe builder: add resource.

  2. (Optional) To add a related resouce, select the Add icon (+) on the resource card, and the select a relation type to add.

    Composer - recipe builder: add related resource.

Step 3: Create a queryโ€‹

  1. In the Recipe builder side panel, select the Query tab.

    Composer - recipe builder: Query.

  2. Select Add rule to add a single rule.

    If you need to have several rules in a single group, select Add group and then select Add rule in the group.

  3. In the filters dialog, search for the rules to add. You can select an option from the list to narrow down the scope, searching by Properties, Events, Cost, Metrics, Tags, Group by, or All.

    Composer - recipe builder: Add rule.

  4. Select Done. The new rule is added to the side panel, under the corresponding resource. You can adjust the rule using the dropdown of each component.

    Composer - recipe builder: Add rule.

  5. Select Run Query to test the new recipe.

Clear allโ€‹

If you need to start anew with a recipe, select Clear all from the kebab menu (โ‹ฎ) in the top bar.

The Clear all option clears the canvas and resets all recipe details without requiring you to leave the page. You can also first select Save and publish to save the current recipe before clearing the canvas for a new one.

Publish the recipeโ€‹

When the recipe is ready:

  1. Select Save and publish.

  2. Select Close to exit the Recipe builder.