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
Go to the left pane > Settings > Excluded Assets.
Select Add Exclusion.
Enter an exclusion rule name (policy name) and description.
(Optional) Select a label or add a new label.
Select Next.
Select the scope of your exclusion rule.
Using Rego language, enter the desired rule in the terminal window.
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
Go to the left pane > Settings > Excluded Assets.
Turn off the toggle of the desired exclusion rule.
Excluding an entire asset type
Procedure
Go to the left pane > Settings > Excluded Assets.
Select Add Exclusion.
Enter an exclusion rule name (policy name) and description.
(Optional) Select a label or add a new label.
Select Next.
Select the scopes you want to exclude altogether (e.g., aws_ssm_parameter).
In the coding window, type:
firefly = true
Select Next > Done.
Last updated