.. _splunk.es.splunk_investigation_module: ****************************** splunk.es.splunk_investigation ****************************** **Manage Splunk Enterprise Security investigations** Version added: 5.1.0 .. contents:: :local: :depth: 1 Synopsis -------- - This module allows for creation and update of Splunk Enterprise Security investigations. - When ``investigation_ref_id`` is not provided, a new investigation is created. - When ``investigation_ref_id`` is provided, the module will update the existing investigation. - Update operations can modify all fields except ``name``. Parameters ---------- .. raw:: html
Parameter Choices/Defaults Comments
api_app
string
Default:
"missioncontrol"
The app portion of the Splunk API path for the investigations endpoint.
Override this if your environment uses a different app name.
api_namespace
string
Default:
"servicesNS"
The namespace portion of the Splunk API path.
Override this if your environment uses a different namespace.
api_user
string
Default:
"nobody"
The user portion of the Splunk API path.
Override this if your environment requires a different user context.
description
string
The description of the investigation.
disposition
string
    Choices:
  • unassigned
  • true_positive
  • benign_positive
  • false_positive
  • false_positive_inaccurate_data
  • other
  • undetermined
The disposition of the investigation.
Can be updated on existing investigations.
finding_ids
list / elements=string
List of finding IDs (event_ids) to attach to the investigation.
When updating, findings are added to the investigation via a separate API call.
Finding IDs can only be added, removal is not supported.
investigation_ref_id
string
Reference ID of an existing investigation.
If provided, the module will update the existing investigation.
If not provided, a new investigation is created.
When updating, all fields except name can be modified.
investigation_type
string
The type of the investigation.
If not specified, the default investigation type is used.
Can be updated on existing investigations.
name
string
The name of the investigation.
Required when creating a new investigation (without investigation_ref_id).
Cannot be updated after creation.
Note that names are not unique - multiple investigations can have the same name.
owner
string
The owner of the investigation.
Use admin for the administrator user.
Use unassigned to leave the investigation unassigned.
Can be updated on existing investigations.
sensitivity
string
    Choices:
  • white
  • green
  • amber
  • red
  • unassigned
The sensitivity of the investigation.
Can be updated on existing investigations.
status
string
    Choices:
  • unassigned
  • new
  • in_progress
  • pending
  • resolved
  • closed
The status of the investigation.
Can be updated on existing investigations.
urgency
string
    Choices:
  • informational
  • low
  • medium
  • high
  • critical
  • unknown
The urgency of the investigation.
Can be updated on existing investigations.

Examples -------- .. code-block:: yaml # Create a new investigation - name: Create an investigation splunk.es.splunk_investigation: name: "Security Incident 2026-01" description: "Investigation into suspicious login activity" status: new owner: admin urgency: high sensitivity: amber disposition: undetermined # Create an investigation with findings attached - name: Create investigation with findings splunk.es.splunk_investigation: name: "Malware Investigation" description: "Investigation into potential malware detection" status: new owner: admin urgency: critical sensitivity: red finding_ids: - "A265ED94-AE9E-428C-91D2-64BB956EB7CB@@notable@@62eaebb8c0dd2574fc0b3503a9586cd9" # Create an investigation with a specific type - name: Create investigation with investigation type splunk.es.splunk_investigation: name: "Phishing Investigation" description: "Investigation into phishing attempt" status: new owner: admin urgency: high investigation_type: "phishing" # Update an existing investigation status - name: Update investigation status splunk.es.splunk_investigation: investigation_ref_id: "inv-12345-abcde" status: in_progress owner: analyst1 # Update investigation disposition - name: Close investigation as resolved splunk.es.splunk_investigation: investigation_ref_id: "inv-12345-abcde" status: resolved disposition: true_positive urgency: low # Add findings to an existing investigation - name: Add findings to investigation splunk.es.splunk_investigation: investigation_ref_id: "inv-12345-abcde" finding_ids: - "B376FE05-BF9F-539D-A2E3-75CC067FC8DC@@notable@@73fbccc9d1ee3685gd1c4614b0697de0" Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: .. raw:: html
Key Returned Description
changed
boolean
always
Whether any changes were made.

Sample:
True
investigation
dictionary
always
The investigation result containing before/after states.

Sample:
{'before': None, 'after': {'name': 'Security Incident 2026-01', 'description': 'Investigation into suspicious login activity', 'status': 'new', 'owner': 'admin', 'urgency': 'high', 'sensitivity': 'amber', 'disposition': 'undetermined', 'investigation_type': 'phishing'}}
 
after
dictionary
always
The investigation state after module execution.

 
before
dictionary
when investigation existed
The investigation state before module execution (if existed).

msg
string
always
Message describing the result.

Sample:
Investigation created/updated successfully


Status ------ Authors ~~~~~~~ - Ron Gershburg (@rgershbu)