Agent Provisioning Rule

When existing cloud agents are deactivated and new agents are created with the same attributes, such as the hostname or operating system, duplicate cloud agent assets can be created. Agent Provisioning Rules prevent this duplication by merging the agents based on the identification attributes selected for the rule.

You can edit and create a set of Agent Provisioning Rules by defining multiple conditions and selecting the required identification attributes. The rules run in sequence, and the assets are merged based on the match found.

To learn more, watch the following video.

Prerequisites

  • Cloud Agent for Windows: version 5.1
  • Cloud Agent for Linux: version 5.9
  • Cloud Agent for macOS Intel: version 5.4
  • Cloud Agent for macOS Apple silicon: version 5.5

The following screenshot shows the default Agent Provisioning Rule, after it is edited:

Default Agent Provisioning Rule.

Edit the Agent Provisioning Rule

To edit the Agent Provisioning Rule, follow these steps:

  1. Navigate to Rules > Asset Identification > Rules. The default Agent Provisioning Rule for Cloud Agents is displayed.
  2. From the Quick Actions menu of the Agent Provisioning Rules, click Edit.
  3. Add the required conditions and attributes.

    Conflict resolution applies when the final condition finds multiple matches. When you select the Apply Conflict Resolution for Asset Merge checkbox, the assets are merged based on the most recent update, the trustworthiness of the source, and the predefined weighting of the same asset identified by other conditions.

    Edit Agent Provisioning Rule page.

    To prevent incorrect merges, a Confirmation window is displayed when you select only Hostname as the primary attribute. In the window, click Yes to merge agents based only on the hostname, or click No.

     

  4. Click Save.

The Agent Provisioning Rule is updated.

If you click Reset, the rule is reset and its identification attributes are removed from the Identification Attribute column. You can then edit the rule and select different identification attributes.

View the Agent Provisioning Rule Details

To view the Agent Provisioning Rule details, follow these steps:

  1. Navigate to Rules > Asset Identification > Rules. The default Agent Provisioning Rule for Cloud Agents is displayed.
  2. From the Quick Actions menu of the Agent Provisioning Rule, click View. The rule details are displayed.

    Agent Provisioning Rule details.

Validate the Agent Provisioning Rule Trigger for Cloud Agent Assets

The Agent Provisioning Rule merges Cloud Agent assets automatically when a newly provisioned agent matches the parameters configured in the rule. To validate that the rule was triggered, follow these steps:

  1. Navigate to Inventory > Assets.
  2. From the Quick Actions menu of the required asset, click View Details.
  3. On the Summary tab of the Asset Details page, click Identification Log.

    Asset Identification Log.

The log displays the Agent Provisioning Rule name, the identification attribute, the timestamp, and the result. The Result column displays the attribute match status.

To view all condition settings of the Agent Provisioning Rule, edit the rule, and view the primary and secondary rule conditions in the Conditions section.

Related Topics

Create Asset Identification Rules

Source Native Key Rule

Qualys Scanner Rule

Third-Party Asset Import in CSAM