Skip to main content

Create recipes

This page explains how to create a recipe from scratch. 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.

Publish the recipe​

When the recipe is ready:

  1. Select Save and publish.

  2. Select Close to exit the Recipe builder.