Skip to main content

Change inventory criteria

The inventory criteria that you specify determine the functions scanned by Contrast Serverless. By default, Contrast scans all functions discovered in your AWS account.

Excluding a function excludes it from the inventory and scan results.

Before you begin
  • Identify the functions you want to include or exclude in scans.

Steps
  1. Select Serverless in the header.

  2. Select the Settings tab.

  3. Under Inventory, specify the criteria:

    • Include or exclude a tag associated with one or more functions. Optionally, specify a value for the tag to further refine the inventory.

    • Include or exclude functions by name. The options are: Name is, Name starts with, or Name ends with.

    ServerlessCriteria.png
  4. Select Save and Rescan.

    Contrast rescans the inventory automatically based on the new criteria.