Skip to content

Asset Tags

A tag is a label on assets, like db-servers or printers. Tags group assets by what they are, independent of where they are on the network. This is what sets them apart from segments, which group addresses by network.

  • An asset can have any number of tags, and a tag can be on any number of assets.
  • Tags can be used as source or destination in segmentation policies. A policy db-servers only accept PostgreSQL covers every database server, whichever segment it is in.
  • Most Ethernet lists can be filtered by tag.

Tags are managed on the Tags tab of the Assets page under Ethernet in the sidebar of your Nzyme web interface. They belong to a tenant.

Field Required Limits
Name Yes Up to 24 characters. Letters, digits, dashes, underscores and dots. The first character is a letter or a digit. Unique per tenant, without regard to case.
Description No Up to 64 characters. Say what the assets with this tag have in common.

Tagging Assets

There are three ways to put a tag on an asset:

  • On the asset details page. The Tags card lists the tags of the asset. Select a tag under Add a tag ... and click Add. New tag ... creates a tag with the name you enter and adds it in one step. The cross next to a tag removes it from the asset.
  • From a suggestion. See Suggested Tags.
  • On the Tags tab. Create Tag creates a tag that is on no asset yet. Click the number in the Assets column of a tag to see the assets that have it, and to remove it from some of them. Edit in the row of a tag changes its name and description.

The asset list shows the first tag of every asset and how many more it has. So does the context overlay of a MAC address.

Suggested Tags

The Suggested Tags card on the Tags tab proposes tags for assets by the ports that sessions were sent to them on:

Suggested tag For assets that sessions were sent to on
db-servers 5432/tcp, 3306/tcp, 1433/tcp, 1521/tcp, 27017/tcp, 6379/tcp, 9042/tcp
web-servers 80/tcp, 443/tcp, 8080/tcp, 8443/tcp
file-servers 445/tcp, 139/tcp, 2049/tcp
mail-servers 25/tcp, 587/tcp, 143/tcp, 993/tcp
directory-servers 389/tcp, 636/tcp, 88/tcp
printers 9100/tcp, 631/tcp, 515/tcp
remote-desktop 3389/tcp, 5900/tcp
ssh-servers 22/tcp
dns-servers 53/udp, 53/tcp

An asset is suggested for a tag when all of this is true:

  • Nzyme recorded at least five sessions to one of the ports of the tag as an inbound port of the asset.
  • The last of these sessions was recorded within the last 30 days.
  • The asset does not have the tag yet.

Apply puts the tag on the asset. If the tag does not exist yet, which the list marks with (new), it is created first. Nothing is tagged automatically. A suggestion is only a proposal:

  • A host that is contacted on port 443 is not necessarily a web server. Sessions that were rejected or got no reply count as well, so a host that is only scanned on a port can be suggested.
  • Inbound ports go by the MAC address that a session was recorded with. A router that forwards traffic to servers behind it can be suggested for the tags of these servers.

Suggestions are worked out when the page is loaded, from the 500 served ports with the most sessions. The card says so when there were more.

Using Tags in Policies

In the scope or in an allowed crossing of a policy, select the type Tag and the tag. The policy then covers the internal addresses of all assets that have the tag.

  • A tag follows its assets. Nzyme resolves a tag to the IP addresses that the tagged assets claimed by ARP, so a policy keeps covering an asset when its address changes. If several assets claimed an address, it counts for the asset that used it last. An address that an asset claimed earlier stays covered until another asset claims it or it is deleted from the asset.
  • Tagging or untagging an asset changes what the policies with that tag cover, from the next evaluation on.
  • Policies refer to a tag itself, not to its name. Renaming a tag does not change what a policy covers.
  • A tag that a policy refers to cannot be deleted. Remove it from the policy first. The Used by Policies column of the Tags tab names the policies. A policy can hold on to a tag for a while after you removed it from the policy, see Changing and Deleting Policies.

Filtering Lists by Tag

Most lists of Ethernet data that show MAC addresses have filter fields for tags. A row matches if the asset with that MAC address has the tag.

List Filter fields
Asset list Tag
TCP/UDP sessions Source Asset Tag, Destination Asset Tag
DNS transaction log Client Asset Tag, Server Asset Tag
Other lists, like ARP, DHCP, TLS, SSH, ICMP, beacon check-ins, scans and spoofing A field that ends in Asset Tag for each side that has a MAC address.

The filters know two operators. == matches rows whose asset has the tag. != matches all other rows, including rows without a known asset. The tag is selected from the list of tags of the tenant. A filter keeps working when the tag is renamed. Deleting a tag does not change filters that name it, for example in monitors: == then matches no row and != matches every row.

List filters go by the MAC address that was recorded with a row. If traffic passed a router before it reached the tap, that is the MAC address of the router and not of the device behind it. Policies do not have this limitation, because they go by IP address.

Actions on Several Tags or Assets

The Actions menu above the list of tags deletes several tags at once. A dialog asks what to delete: the tags you checked, all tags that match the current filters, or all tags. Tags that a segmentation policy refers to are skipped, and the page lists them with the policies that hold them.

The list of assets below a tag has the same menu with Remove Tag. It removes the tag from the assets you checked or from all assets that have it. The tag itself is kept.

Deleting a tag removes it from all assets. This cannot be undone.

Required Permissions

All users can view tags, the assets that have them and the suggestions. Super administrators, organization administrators and users with the Manage Ethernet Assets permission can create, change and delete tags, add them to and remove them from assets, and apply suggestions.

Using a tag in a segmentation policy requires the Manage Ethernet Monitoring permission instead, because it changes the policy and not the tag.