Excluded assets

Assets that do not appear in the Inventory by default. Some assets are automatically excluded by built-in exclusion rules. You can also exclude assets using rules you create.

When searching the Inventory using the search bar, results will always include excluded assets.

Creating a custom exclusion rule

Create a custom exclusion rule to exclude assets from your Inventory.

Procedure

  1. Select Settings > Excluded Assets.

  2. Select Add Exclusion.

  3. Enter an exclusion rule name (policy name) and description.

  4. (Optional) Select a label or add a new label.

  5. Select Next.

  6. Select the scope of your exclusion rule.

  7. Using Rego language, enter the desired rule in the terminal window.

  8. Select Next > Done.

To view excluded assets, select Inventory > Filters > Excluded Assets.

Including assets that were excluded by an exclusion rule

Include assets in the Inventory by turning off their exclusion rule.

Procedure

  1. Select Settings > Excluded Assets.

  2. Turn off the toggle of the desired exclusion rule.

Excluding an entire asset type

Procedure

  1. Select Settings > Excluded Assets.

  2. Select Add Exclusion.

  3. Enter an exclusion rule name (policy name) and description.

  4. (Optional) Select a label or add a new label.

  5. Select Next.

  6. Select the scopes you want to exclude altogether (e.g., aws_ssm_parameter).

  7. In the coding window, type: firefly = true

  8. Select Next > Done.

Last updated