Online Help

Customization

Preview

This article outlines how to add custom fields in AlloyScan through the Scan fields page in the Customization section. This page allows administrators to manage custom fields that collect additional information about audited devices. With the ability to create custom fields, administrators can tailor the audit process to meet the unique needs of their organization and gain deeper insights into their network infrastructure.

Custom fields

The Scan fields page in the Customization section allows administrators to manage the custom fields that are available during the audit process. Using this fields, you can collect additional information about the audited devices, which can be useful for tracking and analysis.

NOTE: This option is currently available for Windows computers only.

To add a new custom field:

  1. On the Scan fields page click to start the process of creating a new custom field. The Add new field sliding pane is displayed.

  2. Provide the following parameters:

    • Name: A descriptive name for the field.

    • Label: The label for the field, which will be displayed to users during the scanning process.

    • Field type: Select a data type for the field from the available options, which include Currency, Date, DateTime, Integer, Logical, Memo, String, and Table.

      INFO: For a detailed description of each data type, see Field data types.

    • Script: Provide a PowerShell script by either editing it directly in the Script Editor or by loading a file. This script will run on every audited computer during the audit and collect additional information. The output must have the same data type as the custom field.

      INFO: For more information on creating a PowerShell script, see Using PowerShell to collect additional information.

    • Description: A brief explanation of the field's purpose.

Once the new custom field has been created, the PowerShell script will run during the audit and the field will store the output for analysis and reporting purposes.

Field data types

AlloyScan currently supports the following data types for custom discovery fields:

  • Currency: A monetary value, such as price.

  • Date: This data type is used for storing dates.

  • DateTime: This data type is used for storing both date and time values.

  • Integer: This data type is used for storing whole numbers, such as the number of CPU cores in a device or the amount of RAM.

  • Logical: This data type is used for storing boolean values, such as true or false.

  • Memo: This data type is used for storing longer blocks of text, such as notes or comments.

  • String: This data type is used for storing single-line character strings, such as the name of a device or software application.

  • Table: This data type is used for storing tabular data.