Concepts: What is a Task?

Tasks are very simple units of functionality that operate on the entity passed to them. They can modify the entity and/or create new entities.

There are a couple different “types” of tasks:

Discovery tasks: These are normal tasks that take a single entity and create new entities. Most tasks in Intrigue Core are discovery tasks.

Enrichment tasks: These tasks always run when a new entity is created, ensuring that the entity is built out before it’s marked “enriched.”

Import tasks: These tasks import information from a source, usually creating many many entities.

Vuln Check tasks: These tasks check for a given vulnerability and if found, create an issue.

Have a look at the existing Intrigue Core tasks here in the core repository!