Axonius - Add and Remove Tag
  • 03 Apr 2023
  • 3 Minutes to read
  • Dark
    Light
  • PDF

Axonius - Add and Remove Tag

  • Dark
    Light
  • PDF

Article Summary

The Axonius - Add Tag action adds one or more defined tags to all relevant assets.
The Axonius - Remove Tag action removes one or more defined tags from all relevant assets.

See Creating Enforcement Sets to learn more about adding Enforcement Actions to Enforcement Sets.

General Settings

  • Enforcement Set name (required) - The name of the Enforcement Set. A default value is added by Axonius. You can change the name according to your needs.
  • Add description - Click to add a description of the Enforcement Set. It is recommended to describe what the Enforcement Set does.
  • Run action on assets matching following query (required) - Select an asset category and a query. The Enforcement Action will be run on the assets that match the query parameters.
  • Action name (required) - The name of the Main action. A default value is added by Axonius. You can change the name according to your needs.
  • Configure Dynamic Values - Toggle on to enter a Dynamic Value statement. See Creating Enforcement Action Dynamic Value Statements to learn more about Dynamic Value statement syntax.

Add Tag

Required Fields

These fields must be configured to run the Enforcement Set.

  1. Tag names (required, default: empty) - Search for and choose one or more tags from a list of all the tags defined in the system. These tags will be added to all relevant assets. If the desired tag name does not exist in the system, you click Add New to add it.

Use Select All to select all tags, and Clear All to clear all selected tags from the list.

  1. Tag color - Set a color for the tag background. The default background color is white.

Additional Fields

These fields are optional.

  1. Remove this tag from entities not found in the saved query results (required, default: False) - Select whether to also remove the configured tags from all entities that are not part of the list of assets the Enforcement Task ran on. To see a list of these assets, view the run history detail and click Additional in the drawer header.
    ECRunHistory-Additional.png

Expiration date type
You can set an automatic expiration date for a tag or a group of tags on assets
in a query. In this way you can add a tag to one or more assets for a defined period of time; once the defined time ends, the tag is automatically removed from the assets. This can be useful for instance, if you have a system that cannot be patched for a specific period of time. You can create a saved query that will exclude assets with this specific tag. As a result, tagged assets will not be included in reports and dashboards using that saved query for the set time, until the tag expires.

From the drop down select an option

  • No Expiration
  • Specific Date
  • Days from Now

By default, tags do not have an expiration date.

Setting a Specific Date

  1. Select Specific Date
  2. A date picker is displayed
  3. Choose a date.
  4. Choose Save.

Expiration Date: now appears in the Auto-Expiring Tags column on the relevant Assets page.

Setting Days From Now

  1. Select Days From Now;

A drop-down with a number of days is displayed.

  1. Select the number of days from now for the tag to expire.

  2. Choose Save.

Expiration Date: now appears in the Auto-Expiring Tags column on the relevant Assets page.

Remove Tag

Required Fields

These fields must be configured to run the Enforcement Set.

  1. Tag names - Search for and choose one or more tags from a list of all the tags defined in the system. These tags will be removed only from entities that are already tagged with the specific tag name. Use Select All to select all tags, and Clear All to clear all selected tags from the list.

For more details about other Enforcement Actions available, see Action Library.


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.