IaC-Ignored assets

Assets that appear in the Inventory but are ignored from IaC coverage calculation. These assets are ignored according to built-in and custom rules.

Creating a custom ignore rule

Create a custom ignore rule to ignore assets from your IaC coverage.

Procedure

  1. Select Settings > IaC-Ignored.

  2. Select + Add ignore rule.

  3. Enter a Name and Description.

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

  5. Select Next.

  6. Select the scope of your ignore rule.

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

  8. Select Next > Done.

To view IaC-Ignored assets, select Inventory > Filters > IaC-Ignored.

Including assets that were ignored by an ignore rule

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

Procedure

  1. Select Settings > IaC-Ignored.

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

Ignore an entire asset type

Procedure

  1. Select Settings > IaC-Ignored.

  2. Select + Add Ignore rule.

  3. Enter a Name and Description.

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

  5. Select Next.

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

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

  8. Select Next > Done.

Last updated