Creating a Worklet

Use the Worklet™ option to perform any scriptable action on devices, including disabling a vulnerable process, managing native OS controls, mass rollback of patches, and moving unwanted applications.

Note: Before you create a worklet from scratch, browse the Worklet Catalog for available and customizable worklets. 

Creating a Worklet

To create a worklet, follow these steps:

  1. From the main console, click Manage > Policies.
  2. From the System Management page, click Create Policy.
  3. Click Worklet.
  4. Click Next.
  5. Click the OS for the custom policy you are creating.
    Note: The worklet you create should be run on a device of the same OS. 
  6. In the Policy Info area, configure the following:
    • In the Policy Name field, enter a name for the worklet. The field is required.
    • In the Notes field, enter any notes, if required.
  7. In the Evaluation Code area, enter a script for the worklet you are creating. For example worklets, click the Worklet Library link directly in the console.
    Note: If you switch to a different OS, the code fields are automatically cleared.
  8. In the Remediation Code area, enter remediation logic to execute when the evaluation code above returns non-compliance.
  9. If relevant, you can also upload a software installation file for your worklet.
    Note: The current file size limit is 1 GB.
  10. In the Schedule area, set the patching schedule that will run on the device. The Schedule Preview provides a calendar view of the patching schedule. See Setting a Patching Schedule.
  11. (Optional) Associate this policy with a group by selecting the plus in the upper right of the page and selecting the desired group(s). When the policy is saved, the group is then assigned to the policy.
  12. Click Create Policy.

Disabling a Worklet

To disable a worklet, follow these steps:

  1. From the System Management page, click the worklet you want to disable.
  2. From the Edit Worklet page, go to Groups and remove any associated groups.
  3. Click Save Policy.

Browse the Catalog of Community Worklets

The catalog of worklets allows you to immediately use a verified worklet for your purposes. You can also create a new policy based on an existing worklet.

  1. From the System Management page, navigate to the Community Worklets tab.
  2. You can rearrange by selecting the Column button on the right or sort by clicking column headers.
  3. Click Actions:
    • Select View Details to find out what the verified worklet is used for.
    • Select Create Policy to customize the existing worklet for your own purposes.

Contact Automox Support (support@automox.com) for further assistance.

Related Topics: