For the complete documentation index, see llms.txt. This page is also available as Markdown.
Cortex XSOAR6.12EoLCortex XSOAR 6.x

Incident Lifecycle

Understand the incident lifecycle in Cortex XSOAR 6.12.

Cortex XSOAR is an orchestration and automation system used to bring all of the various pieces of your security apparatus together.

Using Cortex XSOAR, you can define integrations with your third-party security and incident management vendors. You can then trigger events from these integrations that become incidents in Cortex XSOAR. Once the incidents are created, you can run playbooks on these incidents to enrich them with information from other products in your system, which helps you complete the picture.

In most cases, you can use rules and automation to determine if an incident requires further investigation or can be closed based on the findings. This enables your analysts to focus on the minority of incidents that require further investigation.

The following diagram explains the incident lifecycle in Cortex XSOAR.

incident-lifecycle.png

Planning

Before you begin configuring integrations and ingesting information from third parties, consider the following:

Phase
Description

Create fields

Used to display information from third-party integrations and playbook tasks when an incident is created or processed. For more information, see Incident Fields.

Create incident types

Classify the different types of attacks with which your organization deals.

Create incident layouts

Customize your layouts for each incident type to make sure the most relevant information is shown for each type. For more information, see Customize Incident Layouts.

This is an iterative process. After you initially create your fields and incident types, as well as implement them in your incident layouts, you can start the process of ingesting information. You can then see how accurately you have mapped out your information. Make changes as you go along and learn more about the information you are receiving. Information that is not mapped to fields is available in labels, but it is much easier to work with the information when it is properly mapped to a field and displayed in the relevant layouts.

Configure Integrations

You configure integrations with your third-party products to start fetching events. Events can be potential phishing emails, authentication attempts, SIEM events, and more.

Classification Mapping

Once you configure the integrations, you have to determine how the events ingested from those integrations will be classified as incidents. For example, for email integrations, you might want to classify items based on the subject field, but for SIEM events, you will classify by event type. In addition, you have to map the information coming from the integrations into the fields that you created in the planning stage. For more information, see Classification and Mapping.

Pre-Processing

Pre-processing rules enable you to perform certain actions on incidents as they are ingested into Cortex XSOAR directly from the UI. Using the rules, you can select incoming events on which to perform actions, for example, link the incoming event to an existing incident, or based on configured conditions, drop the incoming incident altogether. For more information, see Create Pre-Process Rules for Incidents.

Incident Created

Based on the definitions you provided in the Classification and Mapping stage, as well as the rules you created for pre-processing events, incidents of various types are created. The incidents all appear in the Incidents page of the Cortex XSOAR user interface, where you can start the process of investigating.

Running Playbooks

Playbooks are triggered either when an incident is created or when you run them manually as part of an investigation. When triggered as part of an incident that was created, the playbooks for the type of incident that was classified will run on the incident. Alternatively, if you are manually running a playbook, you can select whichever playbook is relevant for the investigation. For example, playbooks can take IP address information from one integration and enrich that IP address with information from additional integrations or sources.

Post-Processing

Once the incident is complete and you are ready to close it out, you can run various post-processing actions on the incident. For example, send an email to the person who opened the incident informing them that their incident has been resolved, or close an incident in a ticketing system.

Fetch Incidents From an Integration Instance

You can poll third party integration instances for events and turn them into Cortex XSOAR incidents that trigger automations (fetching). There are a number of integrations that support fetching, but not all support this feature. You can view each integration in the Cortex XSOAR Developer Hub.

You set the objects to be fetched and their mapping in Settings → OBJECTS SETUP → Incidents → Classification & Mapping.

When setting up an instance, you can configure the integration instance to fetch events. You can also set the interval for which to fetch new incidents, by configuring the Incidents Fetch Interval field. The fetch interval default is 1 minute. This enables you to control the interval in which an integration instance reaches out to third-party platforms to fetch incidents into Cortex XSOAR. If the integration instance, does not have the Incidents Fetch Interval field, you can add this field by editing the integration settings.

Note

  • In some integrations the Incidents Fetch interval is called Feed Fetch Interval.

  • If the integration instance does not have the Incidents Fetch Interval field, you need to add this field by editing the integration settings. If the integration is from a content pack, you need to create a copy of the integration. Any future updates to this integration will not be applied to the copy integration.

You can change the default for all integration instances by setting the server configuration using the serversiemincidents.schedule key. The value is the interval in seconds (s), minutes (m) or hours (h). Setting the incident fetch interval when defining an instance overrides the server configuration settings.

Go to Settings → About → Troubleshooting. For example, type jobs.serversiemincidents.schedule key and 120s value. It is recommended that you do not set the value to less than one minute (1m).

Note

If you turn off fetching for a period of time and then turn it on or disabled the instance and enabled it, the instance remembers the "last run" timestamp, and pulls all events that occurred while it was off.

  1. Select the integration instance you want to fetch incidents by going to Settings → INTEGRATIONS and click the integration instance settings button.

  2. Select the Fetches incidents checkbox.

    Once enabled, Cortex XSOAR searches for events that occurred within the time frame set for the integration, which is based on the specific integration. The default is 10 minutes prior, but can be changed in the integration script implementation.

  3. (Optional) In the Incidents Fetch Interval field, set the number of hours or days, and the number of minutes the interval for which to fetch incidents (default 1 minute).

  4. (Optional) If the Incidents Fetch Interval field does not appear, add it to the integration.

    Relevant for any incident fetching integration.

    1. For out-of-the-box integrations, select the duplicate integration button.

      If you have already duplicated the integration, click the Edit integration’s source button.

    2. In the Basic section, select the Fetches incidents checkbox.

      In the Parameters section, you can see that the incidentsFetchInterval parameter is added. Change the default value if necessary.

      integration-fetch.png
    3. Save the integration.

Receive Notification on an Incident Fetch Error

The administrator and Cortex XSOAR users on the recipient’s list receive a notification when an integration experiences an incident fetch error, which occurs for a state transition from Success to Failure during an incident fetch.

Important

Because notifications are triggered only by the state transition, you will not receive an alert if:

  • A new integration instance fails its first fetch attempt (since a successful fetch has not yet occurred).

  • You force a fetch failure for testing purposes before a successful fetch has occurred.

Cortex XSOAR users can select their notification method, such as email, from their user preferences. Administrators with multiple instances of mail sender can choose to receive one email notification instead of multiple email notifications.

Note

The connectivity behavior that exists between third-party applications may trigger a fetch failure, which will send a notification to an administrator and users. If the fetch operates correctly just after the notification was sent, the notification may no longer be relevant.

Before you begin

In the integration instance, ensure that you select the Fetch Incidents checkbox.

  1. Select Settings → About → Troubleshooting → Add Server Configuration.

  2. Add the following keys and values:

    Key
    Value

    module.health.notification.users

    List of names in CSV format, for example user1,user2,user3.

    message.ignore.failedFetchIncidents

    false.

  3. (Optional) Administrators that have multiple instances of a mail sender configured that want to receive only one email notification should select the Do not use by default option in the integration instances that should not be used to send emails.

Last updated

Was this helpful?