--- id: create-cse-context-actions title: Create Context Actions sidebar_label: Create Context Actions description: Learn about context actions, options that a Cloud SIEM analyst can use to query an external system for information about an entity, IOC, or data encountered in a record. slug: /help/docs/cse/administration/create-cse-context-actions/ canonical: https://www.sumologic.com/help/docs/cse/administration/create-cse-context-actions/ --- import useBaseUrl from '@docusaurus/useBaseUrl'; import Iframe from 'react-iframe';  This topic has information about Cloud SIEM context actions and how to create them.  ## About context actions A context action is an option that a Cloud SIEM analyst can use to query an external system for information about an entity, IOC, or data encountered in a record. For example, you might want to check an IP address against a threat intel service, google a username, or run a log search in Sumo Logic for a hostname.  An authorized user can configure context actions and assign them to particular entity types, record fields, or common IOC types. * **Context actions on entity types**. You can assign a context action to one or more entity types, including custom entity types. An action assigned to an entity type will be available on any instance of that type in the **Entities** page, or in insights or signals that contain entities of the selected type. For an example, see the screenshot in [How a user accesses context actions](#how-a-user-accesses-contextactions).
An action you assign to an entity type will also be available for record fields that contain the entity type. For example, an action assigned to the Hostname entity type will be available for the `srcDevice_hostname`, `dstDevice_hostname`, and `device_hostname` record fields. * **Context actions on record fields**. You can assign a context action to selected record fields, or all record fields. In the Cloud SIEM UI, the action will be available on the context action menu for selected fields.   * **Context actions on IOC types**. You can assign a context action to one or more of the following IOC data types: * Domain * Hash * IP address * MAC Address * URL The context actions menu will be available for any of these types, wherever they appear in the Cloud SIEM UI. import TerraformLink from '../../reuse/terraform-link.md'; :::tip You can use Terraform to manage context actions with the [`sumologic_cse_context_action`](https://registry.terraform.io/providers/SumoLogic/sumologic/latest/docs/resources/cse_context_action) resource. ::: ## How a user accesses context actions A user runs a context action by clicking the context action icon Context action icon next to an entity, record field, or IOC and choosing an action from the list that appears. The icon appears when you hover over the value of the item. In the screenshot below, context actions are listed below the built-in **Add to Match List** and **Add to Suppressed List** options. List of context actions If an action name is shown in red font, that indicates that the action depends on a record field that doesn’t exist. :::training Micro Lesson Watch this micro lesson to learn more about how to use context actions.