Skip to content

Background tasks

Three types of tasks are done in the background:

  • rule tasks,
  • knowledge tasks,
  • user tasks.

Rule tasks can be seen and activated in Settings > Customization > Rules engine. Knowledge and user tasks can be seen and managed in Data > Processing > Tasks. The scope of each task is indicated.

Background_tasks

Rule tasks

If a rule task is enabled, it leads to the scan of the whole platform data and the creation of entities or relationships in case a configuration corresponds to the tasks rules. The created data are called 'inferred data'. Each time an event occurs in the platform, the rule engine checks if inferred data should be updated/created/deleted.

Knowledge tasks

Knowledge tasks are background tasks updating or deleting entities and correspond to mass operations on these data. To create one, select entities via the checkboxes in an entity list, and choose the action to perform via the toolbar.

Before launching the task, OpenCTI shows its scope and actions and asks for a confirmation. An enrichment launches without this confirmation when it targets 1000 elements or fewer, from an entity list or from an investigation. Above 1000 elements, every task asks for a confirmation and warns about the number of targeted entities.

The update action can also add, replace or remove the value of a custom field.

Restoring or permanently deleting several objects from the Trash also runs as a knowledge task.

Rights

The rights below use the capability names of Users and Role Based Access Control.

  • To create a knowledge task, the user should have the Create / Update knowledge capability. A deletion, a restore or a permanent deletion from the Trash also requires Delete knowledge, and a merge requires Merge knowledge.
  • The Data > Processing > Tasks page requires the Create / Update knowledge capability. On this page, a user sees and manages only the tasks they created. Users with Bypass all capabilities see and manage the tasks of every user.

User tasks

User tasks are background tasks updating or deleting notifications. It can be done from the Notification section, by selecting several notifications via the checkboxes, and choosing an action via the toolbar.

Rights

  • A user can create a user task on its own notifications only.
  • In Data > Processing > Tasks (which requires the Create / Update knowledge capability), a user sees and manages only the user tasks they created. Users with Bypass all capabilities see and manage the tasks of every user.