Skip to main content

Create Test Incidents

This Integration is part of the Developer Tools Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.1.0 and later.

CreateIncidents fetches incident created manually.

Configure Create Test Incidents on Cortex XSOAR#

  1. Navigate to Settings > Integrations > Servers & Services.

  2. Search for Create Test Incidents.

  3. Click Add instance to create and configure a new integration instance.

    Source URLThe base url of the source you wish to upload/ downlowd files from.True
    Trust any certificate (not secure)False
    Use system proxy settingsFalse
    Incident typeFalse
    Fetch incidentsFalse
  4. Click Test to validate the URLs, token, and connection.


You can execute these commands from the Cortex XSOAR CLI, as part of an automation, or in a playbook. After you successfully execute a command, a DBot message appears in the War Room with the command details.


Creates incidents from json files provided, and stores it in the instance context.

Base Command#



Argument NameDescriptionRequired
incidents_pathThe path of json file containing incidents. Can contain one incident or a list of incidents. For example: Packs/somePack/TestPlaybooks/examples.json.Required
attachment_pathsThe paths of the files to be added to incidents as attachment. Would be added to all incidents provided in the incident_path file. For example: Packs/somePack/TestPlaybooks/attach.eml.Optional

Context Output#

There is no context output for this command.

Command example#

!create-test-incident-from-file incidents_path=Packs/DeveloperTools/Integrations/CreateIncidents/test_data/incidents.json attachment_path="Packs/DeveloperTools/Integrations/CreateIncidents/test_data/YOU HAVE WON 10000$.eml"

Human Readable Output#

Loaded 1 incidents from file.