Creating a workload type

Note

If the Version is in the draft state, you can create workload types.
If the Version is any other state, you cannot.
For more information about Version states, see the Version approval section.

To create a workload type

  1. Open the Version.

  2. Select Workloads and actions from the left-hand menu.

  3. [If required] Click Enable to enable the extension point.

  4. Click Add workload type.

    ../../../../_images/ss-workloads-create.png
  5. Enter a Name for the workload type.

  6. Enter a Description for the workload type.

  7. Specify a unique Code for your workload type.

    Note

    To send this workload, the connector must specify the CTI in the workload’s type field.
    For more information on CTI codes, see CTI.
  8. In the Payload field, specify the JSON Schema of the workload attributes.

    Note

    You must specify the data structure of the attributes that apply to your workload.
    Attributes can include, for example, hostname, MAC and IP addresses, hardware and software information, etc.

    Important

    To create a device status widget, you must define at least one attribute that represents a workload status.
    To define such an attribute, you must use the enum keyword when you define an object property.
    For example:
    {
        "type": "object",
        "properties": {
            "status": {
                "type": "string",
                "enum": [ "OFFLINE", "ONLINE" ]
            }
        }
    }
    
  9. [Optional] Define Attributes presentation.

    Note

    This determines how Acronis Cyber Platform displays the workload data.
    For more information on how Acronis Cyber Platform displays your workload data, see Widgets and reports.

    Important

    To create a device status widget, you must define at least one attribute presentation for the attribute that represents a workload status.

    For each attribute, specify:
    • A Name for the attribute.
      This is the attribute column title in the Cyber Protection console.
    • The Data type of the attribute (text, date, time, datetime, byte size).
      This is the format of the attribute column in the Cyber Protection console.
    • Select the corresponding field name from the Payload value dropdown.
      The dropdown list is populated by the JSON schema specified in step 8.
    • [Optional] Select Sortable if the column can be sorted by this value.

  10. (Optional) Turn on the Map to platform workloads switch and select the Host name and MAC address from the dropdowns.

    Note

    This option allows the platform to perform automatic merging of your workloads with Acronis workloads based on matching host name and MAC address.

    • Select an attribute that corresponds to the workload’s host name in the Host name (Payload link) dropdown.

    • Select an attribute that corresponds to the workload’s MAC address in the MAC address (Payload link) dropdown.

  11. Click Save changes.

Example

../../../../_images/ss-workloads-create-example.png