Excluding assets

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

Creating a custom exclusion rule

You can create a custom exclusion rule to exclude assets from your Inventory.

Procedure

  1. Go to the left pane > 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, go to the left pane > Inventory > Filters > Excluded Assets.

Including assets that were excluded by an exclusion rule

You can include assets in the Inventory by turning off their exclusion rule.

Procedure

  1. Go to the left pane > Settings > Excluded Assets.

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

Excluding an entire asset type

Procedure

  1. Go to the left pane > 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