Mapping Rules

On the [Resources > Mapping Rules] page, you can manage rules that automatically assign resources to applications based on resource attributes such as tags or cloud accounts.

The header holds two actions: [Create Mapping Rule] and [Apply All Rules]. Creating a rule does not assign anything on its own — rules take effect when they are applied, which is described under Applying Rules.

Summary Cards

Three metric cards at the top of the page provide an at-a-glance overview:

CardDescription
Total RulesTotal number of mapping rules, with active and inactive counts
Active RulesNumber of currently active rules. The line below counts every resource matched by a mapping rule — whether or not that rule is still active
Assignments (7d)Automatic assignments performed in the last 7 days, with a week-over-week trend

Rule List

Rules are displayed in a table ordered by priority. You can reorder rules by dragging the grip handle on the left side of each row.

ColumnDescription
⠿ (Grip)Drag to reorder priority
PriorityEvaluation order — lower numbers run first
Rule NameName of the mapping rule (click to open the detail page)
ConditionCondition badges showing the matching criteria
Target ApplicationApplication that matched resources will be assigned to (click to navigate)
StatusToggle switch to enable or disable the rule
Matched ResourcesNumber of resources currently matched by this rule
Last MatchedTimestamp of the most recent match, with a status indicator dot

Search and Filters

UI ElementDescription
SearchSearch rules by name
StatusFilter by status — All Status, Active, Inactive
All ApplicationFilter by one or more target applications
More menu (⋮)Refresh the list
ExportExport the list to a file (see Exporting the List)

Row Actions

Click the more menu (⋯) on a rule row to access the following actions:

ActionDescription
EditNavigate to the edit form to modify the rule
DeleteOpen the delete confirmation dialog

Exporting the List

[Export] on the toolbar turns what you are currently looking at into a file.

ℹ️
Export is a toolbar button, not an item in the ⋮ menu. It used to be tucked into the overflow menu, where people did not find it.

Selecting it offers the two formats; choosing one starts the export.

FormatRow limit
Excel30,000 rows
CSV50,000 rows

The file is built from the filters you have applied and the columns visible on screen — narrowing the list narrows the file, and a column turned off in display settings does not appear in it. At least one column has to be on.

When the list is too big

Going over the row limit stops the export rather than silently truncating it, and you are told by how much. Narrow the filters — or turn off columns — and run it again.

⚠️
A row count under the limit does not guarantee the file builds. Wide columns can push the file over the size limit even when the rows fit, and a build that takes too long fails the same way. Both say so rather than producing a partial file.

The file downloads on its own once it is ready.

Rule Detail

Click a rule name in the table to open its detail page. The detail view includes a header showing the rule name, description, and action buttons (Edit / Delete), plus three tabs. Matched Resources and Run History show their counts on the tab. A fourth tab, Changes, is shown greyed out — it is not available yet.

Summary Tab

Provides an overview of the rule:

  • Rule Info — Priority, Rule Name, Status (Enabled / Disabled), Matched Resources count, and Last Matched timestamp
  • Conditions — The list of attribute conditions defined on the rule
  • Application — Target application card showing abbreviation and total resource count
  • Matched Resources preview — Top 5 matched resources with a View All link

Matched Resources Tab

A paginated, filterable table of all resources matched by this rule.

ColumnDescription
NameResource name
Resource IDCloud provider resource identifier
CSPCloud service provider — AWS, Azure, GCP, or NCP
AccountCloud account the resource belongs to
RegionRegion of the resource
ServiceService type
StatusResource status — Active, Disconnected, Deleted, Virtual, External
Last SyncedLast synchronization timestamp

Above the table are a search field, [Filter] (with Services, Regions, and Statuses tabs), and a provider selector (All Providers).

Run History Tab

A paginated log of every automatic assignment execution for this rule.

ColumnDescription
Executed AtTimestamp of the assignment run
Current ConditionThe rule’s conditions as they are now — see below
Resource NameResource that was matched
Target ApplicationApplication the resource was assigned to
StatusSuccess or Failed
Reason / ErrorError message if the assignment failed

Filters: time range (Last 24h / Last 7d / Last 30d / Last 90d) and status (All Status / Success / Failed).

ℹ️
The run log does not record the condition a run used. The Current Condition column therefore shows the rule’s present conditions on every row, and the header says so — The log has no as-executed condition. If you edit a rule’s conditions, older runs show the new conditions too; they are not what those runs evaluated.

Applying Rules

Creating or editing a rule does not move any resource by itself. Rules take effect when they are applied: every active rule is evaluated in priority order against every unmapped resource, and each resource is assigned to the first rule it matches.

Select [Apply All Rules] above the list to run this at any time.

Resources that are already mapped are not affected, even if you change the rules afterwards. A run can take a while. When it finishes, a toast reports the outcome — Mapping rules applied., or Mapping rules applied with some failures. — with the counts Applied N · Failed N · Skipped N. Skipped resources are the ones that matched no rule.

ℹ️
Rules are always applied as a set. There is no way to run a single rule — applying evaluates every active rule in priority order, which is what makes priority meaningful.

After creating a rule

Creating a rule is the moment it is easiest to forget this second step. So when you return to the list right after saving a new rule, the confirmation opens on its own and explains the situation in its own words.

Selecting [Apply] runs it immediately. Selecting [Cancel], or closing the dialog, leaves the new rule in place but unapplied — it will pick up resources after the next resource collection (rules are applied automatically once a collection finishes), or whenever you use [Apply All Rules] yourself.

ℹ️
The prompt appears only once per creation. Once you dismiss it, it does not reopen if you revisit or reload the list.

Create a Mapping Rule

Click [Create Mapping Rule]

Click the [Create Mapping Rule] button at the top right of the list page. This opens a dedicated form page.

Fill in General information

FieldRequiredDescription
Rule NameYesA concise name that describes the intent of the rule
DescriptionNoExplain why this rule exists and when it should be revisited

Define Conditions

FieldRequiredDescription
AttributeYesWhat to match, in three groups — Resource (Provider, Resource Name, Resource Group, Resource Type), Boundary (Account, Region, VPC), and Tag (CSP Tags, CloudOps Tags)
OperatorYesHow to match. equals and is one of for every attribute; CloudOps Tags also offers does not equal and contains. Rules created elsewhere can also show starts with or matches pattern; such a condition is kept as is when you save, and the form says so
KeyConditionalThe tag key — required for CSP Tags and CloudOps Tags
ValueYesThe value(s) to match against. With is one of, separate values with commas. For Account, pick one of your connected accounts

Click [Add AND condition] to add multiple conditions. All conditions must be satisfied for a resource to match.

Matching resources preview below the conditions shows which active resources match before you save. Click [Check matches] — it does not run on its own, and its result is cleared whenever you change a condition.

  • The count of matching resources, split into Unassigned, Assigned by rule, and Assigned manually. Applying the rule maps only the unassigned ones.
  • When editing a rule, how the matches compare with the saved conditions — added, removed, and kept.
  • The matching resources, 20 per page, each marked Unassigned, This rule, Other rule, or Manual.

Select Target Application

Choose a leaf-level application to assign matched resources to.

ℹ️
Only leaf applications (lowest level in the hierarchy) can be selected as mapping rule targets. If a matching resource is already assigned to an application, its existing mapping will be maintained.

Review Conflict Preview

Before saving, open the Conflict Preview step and select [Preview Now] to check the rule against the existing ones. The preview can report three kinds of result:

ResultWhat it meansCan you save?
… issue(s) block savingThe target application is no longer valid (deleted, or it now has child applications), or a rule with the same name already exists. Fix the target in the Action step or rename the rule in the General stepNo — saving as-is fails
… existing rule(s) have exactly the same conditionAnother rule — inactive ones included — has exactly the same conditions. Each is listed with [View]Yes, but you get a second rule with the same condition. Edit the existing rule or change your condition instead
… existing rule(s) share an overlapping conditionAnother rule matches some of the same resources. Each is listed with the condition it conflicts on and [View]Yes

Only when none of these applies does the preview say No overlapping rules — This condition doesn’t overlap with any existing rule. You can save it.

ℹ️
An overlap does not block saving. The preview reports it as a warning so you can judge whether the overlap is intentional — priority order decides which rule wins when two both match, so an overlap is often deliberate.

Click [Create]

Click [Create] to save the rule. You are redirected back to the list page, where the apply confirmation opens automatically so the new rule can take effect — see After creating a rule.

Edit a Mapping Rule

Open the edit page

From the list page, click the more menu (⋯) on the rule row and select Edit. Or from the detail page, click the Edit button in the header.

Modify fields

The edit form is identical to the create form, pre-populated with the existing values. You can update the rule name, description, conditions, and target application.

A rule may carry conditions the form cannot show — for example prefix or regular-expression matches created through the API. The Conditions step says these are kept, and saving does not remove them; they are also included in the conflict preview.

Review Conflict Preview

As with creating, the conflict preview checks the rule against the others. The rule you are editing is excluded from the check.

Click [Update]

Click [Update] to apply the changes.

Delete a Mapping Rule

Open the delete dialog

From the list page, click the more menu (⋯) on the rule row and select Delete. Or from the detail page, click the Delete button in the header.

Confirm deletion

The dialog shows the rule name, how many resources are currently matched, and the target application. Click [Delete Rule] to confirm, or [Cancel] to keep it.

If the matched count cannot be loaded, the dialog says We couldn’t confirm how many resources this rule currently assigns to … rather than showing 0 — a rule that may still be mapping resources should not look safe to delete.

ℹ️
Deleting a rule keeps existing resource-to-application assignments. Only new resources matching the deleted rule’s conditions will no longer be auto-assigned.

Priority and Reorder

Rules are evaluated in priority order (lowest number first). To change a rule’s priority, drag its grip handle (⠿) to a new position in the table. The priority numbers update automatically.

Reordering works on the full list only. While a search or a filter is applied, the grip is disabled and says Clear search and filters to reorder rule priority.

ℹ️
When no mapping rules have been created, the table shows No mapping rules yet — Create a mapping rule to automatically assign resources to applications. Use [Create Mapping Rule] in the page header to add one.
v1.11.0