Axonius - Add Custom Data to Assets
  • 30 Oct 2022
  • 3 Minutes to read
  • Dark
    Light
  • PDF

Axonius - Add Custom Data to Assets

  • Dark
    Light
  • PDF

Axonius - Add Custom Data to Assets adds one custom field (string type) to each of the assets that are the result of the query. You can then use that field in future queries.

To configure Axonius - Add Custom Data to Assets, from the Action Library, click Axonius Utilities, and then click Axonius - Add Custom Data to Assets.

Action Settings

  1. Field name and Field value (required, default: empty) - Specify the string type custom field name and the value to be added on all relevant assets. That field can then be used in future queries.
  2. Field type (required, default: String) - Select the custom field type: String, Boolean, Float, Integer, Date, String, List Float, List Integer, List String or List Date.
    • When you choose String, specify a free-text value for the custom field in the Field value field.
    • When you choose Boolean, select a custom field value either Yes or No in the Field value field.
    • When you choose List String, enter each item and either type a comma, a semi-colon or press Enter to add the value to the list. You can also paste a comma separated list into the field. See Adding a List String below.
    • When you choose Date or List Date you have to select a date, see Adding Dates below for more details.
    • Click on items in the list to edit them.
NOTE
  • If the added custom field already exists on the device, it is` overridden.
  • If the added custom field already exists with a different field type, the action will fail.

For example. If you want to add an item to an existing list from the enforcement center - you need to use the existing enforcement and add the item there. When you add an item to an existing list, you overwrite the values in the list.

Adding Dates

You can add one or more Dates as custom field values. This is useful to identify the first time an asset was non-compliant.
To add a single date

  1. Enter a Field name.

EnforecementDate.png

  1. Select Date as the Field type.

  2. From the Date Type field, set the type of date that will be set in this field; either choose Now (Execution time) or set a Specific date.

    • Now (Execution time) adds the date and time that the Enforcement action is run.
    • A Specific date can be either in the past or the future. When you choose Specific date, click in the Set Date field to select a date and time. The times displayed are in UTC.

EnforcementDatePicker.png

  1. You can use the option Don’t overwrite values if custom field already exists if you do not want to change an existing date that you have already added (for instance if the action added a custom date to show the first time something was found on the system, you would not want to overwrite this value).
  2. Click Save to save the Action.

To Add a List of Dates

  1. Select List Date as the Field type
  2. Follow the steps in Adding Dates.
  3. Click Add Date in the field, to add another date.
  4. Click Save to save the Action.

Adding a List String

To add items to a list string

  • Do one of the following
    • Type the name of the field value and press Enter.
    • Type the name of the field value and press Comma (,).
    • Type the name of the field value and press Semicolon (;).

AddCustomDataFieldTypeListString.png

For example
* Type “field-1” and press Enter. A tile named “field-1” is added to the list.
* Type “field-2” and type a comma “,”. A tile named “field-2” is added to the list.
* Type “field-3” and type a semicolon “;”. A tile named “field-3” is added to the list.

To remove items from the list, click the x in the tile you want to remove.
You can select If field exists add new values to the list (otherwise override all existing values) to add new values to a list if the field already exists, otherwise existing values are overwritten.

Note:

Once you add custom data, you can use the custom data as a field in queries.


To learn more about configuring Enforcement Sets, see Configuring Enforcement Sets.


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.