.. _splunk.es.splunk_investigation_info_module: *********************************** splunk.es.splunk_investigation_info *********************************** **Gather information about Splunk Enterprise Security Investigations** Version added: 5.1.0 .. contents:: :local: :depth: 1 Synopsis -------- - This module allows for querying information about Splunk Enterprise Security Investigations. - Use this module to retrieve investigation configurations without making changes. - Query by ``investigation_ref_id`` to fetch a specific investigation. - Query by ``name`` to filter investigations by exact name match. - Use ``create_time_min`` and ``create_time_max`` to control the time range of returned investigations. 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.
create_time_max
string
The maximum time during which investigations were created.
All investigations returned have a creation time less than or equal to this value.
Accepts relative time (e.g. -30m, now), epoch time, or ISO 8601 time.
If not provided, no maximum time filter is applied.
create_time_min
string
The minimum time during which investigations were created.
All investigations returned have a creation time greater than or equal to this value.
Accepts relative time (e.g. -30m, -7d, -1w), epoch time, or ISO 8601 time.
If not provided, no minimum time filter is applied.
investigation_ref_id
string
Reference ID (investigation ID) to query a specific investigation.
If specified, returns only the investigation with this ID.
Takes precedence over name if both are provided.
limit
integer
Maximum number of investigations to return.
If not specified, all matching investigations are returned.
Use this to limit large result sets.
name
string
Name to filter investigations.
Returns all investigations with an exact name match.
Ignored if investigation_ref_id is provided.
The create_time_min and create_time_max time filters still apply when querying by name.

Examples -------- .. code-block:: yaml - name: Query specific investigation by ref_id splunk.es.splunk_investigation_info: investigation_ref_id: "abc-123-def-456" register: result - name: Display the investigation info debug: var: result.investigations - name: Query investigations by name splunk.es.splunk_investigation_info: name: "Security Incident 2026-01" register: result - name: Query investigations by name within a time range splunk.es.splunk_investigation_info: name: "Security Incident 2026-01" create_time_min: "-7d" create_time_max: "now" register: result - name: Display investigations with matching name debug: var: result.investigations - name: Query all investigations splunk.es.splunk_investigation_info: register: all_investigations - name: Display all investigations debug: var: all_investigations.investigations - name: Query investigations created in the last 7 days splunk.es.splunk_investigation_info: create_time_min: "-7d" register: recent_investigations - name: Query investigations created in the last 30 days splunk.es.splunk_investigation_info: create_time_min: "-30d" register: all_investigations - name: Query investigations with a limit on results splunk.es.splunk_investigation_info: create_time_min: "-7d" limit: 50 register: limited_investigations - name: Query investigations from a specific time range (ISO 8601) splunk.es.splunk_investigation_info: create_time_min: "2026-01-01T00:00:00" create_time_max: "2026-01-07T23:59:59" register: all_investigations - name: Query investigations from a specific time range (epoch) splunk.es.splunk_investigation_info: create_time_min: "1676497520" create_time_max: "1676583920" register: all_investigations # Query investigations with custom API path (for non-standard environments) - name: Query investigations with custom API path splunk.es.splunk_investigation_info: create_time_min: "-7d" api_namespace: "{{ es_namespace | default('servicesNS') }}" api_user: "{{ es_user | default('nobody') }}" api_app: "{{ es_app | default('missioncontrol') }}" register: custom_investigations Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: .. raw:: html
Key Returned Description
investigations
list / elements=dictionary
always
List of investigations matching the query

Sample:
[{'investigation_ref_id': 'abc-123-def-456', 'name': 'Security Incident 2026-01', 'description': 'Investigation into suspicious login activity', 'status': 'new', 'disposition': 'undetermined', 'owner': 'admin', 'urgency': 'high', 'sensitivity': 'amber', 'finding_ids': ['A265ED94-AE9E-428C-91D2-64BB956EB7CB@@notable@@62eaebb8c0dd2574fc0b3503a9586cd9']}]
 
description
string
Description of the investigation

 
disposition
string
Disposition of the investigation

 
finding_ids
list / elements=string
List of finding IDs attached to the investigation

 
investigation_ref_id
string
The unique reference ID of the investigation

 
name
string
Name of the investigation

 
owner
string
Owner of the investigation

 
sensitivity
string
Sensitivity level of the investigation

 
status
string
Status of the investigation

 
urgency
string
Urgency level of the investigation



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