.. _splunk.es.splunk_finding_info_module: ***************************** splunk.es.splunk_finding_info ***************************** **Gather information about Splunk Enterprise Security Findings** Version added: 5.1.0 .. contents:: :local: :depth: 1 Synopsis -------- - This module allows for querying information about Splunk Enterprise Security Findings. - Use this module to retrieve finding configurations without making changes. - Query by ``ref_id`` to fetch a specific finding. Without ``earliest`` and ``latest``. - Query by ``title`` to filter findings by exact title match. - Use ``earliest`` and ``latest`` to control the time range of returned findings. - By default, if ``earliest`` and ``latest`` are not specified, findings from the last 24 hours are returned. - This default time (24 hours) range applies when querying by ``title`` or all findings (not by ``ref_id``). - This module uses the httpapi connection plugin and does not require local Splunk SDK. Parameters ---------- .. raw:: html
Parameter Choices/Defaults Comments
api_app
string
Default:
"SplunkEnterpriseSecuritySuite"
The app portion of the Splunk API path for the findings 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.
earliest
string
The earliest time for findings to return.
All findings returned have a _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, defaults to the last 24 hours (-24h).
Ignored when querying by ref_id (time is extracted from ref_id automatically).
Applies when querying by title or all findings.
latest
string
The latest time for findings to return.
All findings returned have a _time less than or equal to this value.
Accepts relative time (e.g. -30m, now), epoch time, or ISO 8601 time.
If not provided, defaults to the current time (now).
Ignored when querying by ref_id (time is extracted from ref_id automatically).
Applies when querying by title or all findings.
limit
integer
Maximum number of findings to return.
If not specified, all matching findings are returned.
Use this to limit large result sets.
ref_id
string
Reference ID (finding ID) to query a specific finding.
If specified, returns only the finding with this ID.
Takes precedence over title if both are provided.
The time is automatically extracted from the ref_id (format uuid@@notable@@time{timestamp}).
When querying by ref_id, the earliest and latest parameters are ignored.
title
string
Title name to filter findings.
Returns all findings with an exact title match.
Ignored if ref_id is provided.
The earliest and latest time filters still apply when querying by title.

Examples -------- .. code-block:: yaml - name: Query specific finding by ref_id (time extracted automatically from ref_id) splunk.es.splunk_finding_info: ref_id: "abc-123-def-456@@notable@@time1234567890" register: result - name: Display the finding info debug: var: result.findings - name: Query findings by title (from last 24 hours by default) splunk.es.splunk_finding_info: title: "Suspicious Login Activity" register: result - name: Query findings by title from the last 7 days splunk.es.splunk_finding_info: title: "Suspicious Login Activity" earliest: "-7d" register: result - name: Display findings with matching title debug: var: result.findings - name: Query all findings (from last 24 hours by default) splunk.es.splunk_finding_info: register: all_findings - name: Display all findings debug: var: all_findings.findings - name: Query all findings from the last 7 days splunk.es.splunk_finding_info: earliest: "-7d" latest: "now" register: all_findings - name: Query all findings from the last 30 days splunk.es.splunk_finding_info: earliest: "-30d" register: all_findings - name: Query findings with a limit on results splunk.es.splunk_finding_info: earliest: "-7d" limit: 100 register: limited_findings - name: Query findings from a specific time range (ISO 8601) splunk.es.splunk_finding_info: earliest: "2026-01-01T00:00:00" latest: "2026-01-07T23:59:59" register: all_findings - name: Filter findings by status using Jinja2 splunk.es.splunk_finding_info: earliest: "-7d" register: all_findings # Query findings with custom API path (for non-standard environments) - name: Query findings with custom API path splunk.es.splunk_finding_info: earliest: "-7d" api_namespace: "{{ es_namespace | default('servicesNS') }}" api_user: "{{ es_user | default('nobody') }}" api_app: "{{ es_app | default('SplunkEnterpriseSecuritySuite') }}" register: custom_findings Return Values ------------- Common return values are documented `here `_, the following are the fields unique to this module: .. raw:: html
Key Returned Description
findings
list / elements=dictionary
always
List of findings matching the query

Sample:
[{'ref_id': 'abc-123-def-456', 'title': 'Suspicious Login Activity', 'description': 'Multiple failed login attempts detected', 'security_domain': 'access', 'entity': 'testuser', 'entity_type': 'user', 'finding_score': 50, 'owner': 'admin', 'status': 'new', 'urgency': 'high', 'disposition': 'undetermined'}]
 
description
string
Description of the finding

 
disposition
string
Disposition of the finding

 
entity
string
The risk object (entity) associated with the finding

 
entity_type
string
Type of the risk object (user or system)

 
finding_score
integer
Risk score of the finding

 
owner
string
Owner of the finding

 
ref_id
string
The unique reference ID of the finding

 
security_domain
string
Security domain of the finding

 
status
string
Status of the finding

 
title
string
Title of the finding

 
urgency
string
Urgency level of the finding



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