.. _splunk.es.splunk_finding_module:
************************
splunk.es.splunk_finding
************************
**Manage Splunk Enterprise Security findings**
Version added: 5.1.0
.. contents::
:local:
:depth: 1
Synopsis
--------
- This module allows for creation and update of Splunk Enterprise Security findings.
- When ``ref_id`` is not provided, a new finding is always created (no idempotency check).
- When ``ref_id`` is provided, the module will check if the finding exists and update it.
- Update operations use a different API endpoint and only support updating ``owner``, ``status``, ``urgency``, and ``disposition``.
- Tested against Splunk Enterprise Server with Splunk Enterprise Security installed.
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.
|
|
description
string
|
|
Description of the finding.
Required when creating a new finding.
|
|
disposition
string
|
Choices:
- unassigned
- true_positive
- benign_positive
- false_positive
- false_positive_inaccurate_data
- other
- undetermined
|
Disposition of the finding.
Can be updated on existing findings.
|
|
entity
string
|
|
The risk object (entity) associated with the finding.
Required when creating a new finding.
|
|
entity_type
string
|
|
The type of the risk object (entity).
Required when creating a new finding.
|
|
fields
list
/ elements=dictionary
|
|
List of custom fields to add to the finding.
Only used when creating new findings.
|
|
name
string
/ required
|
|
Name of the custom field.
|
|
value
string
/ required
|
|
Value of the custom field.
|
|
finding_score
integer
|
|
The risk score for the finding.
Required when creating a new finding.
|
|
owner
string
|
|
Owner of the finding.
Use admin for the administrator user.
Use unassigned to leave the finding unassigned.
Can be updated on existing findings.
|
|
ref_id
string
|
|
Reference ID (finding ID / event_id) of an existing finding.
Format is typically uuid@@notable@@time{timestamp} (e.g., 2008e99d-af14-4fec-89da-b9b17a81820a@@notable@@time1768225865).
If provided, the module will verify the finding exists and update it.
If not provided, a new finding is created.
When updating, only owner, status, urgency, and disposition can be modified.
|
|
security_domain
string
|
Choices:
- access
- endpoint
- network
- threat
- identity
- audit
|
Security domain for the finding.
Required when creating a new finding.
|
|
status
string
|
Choices:
- unassigned
- new
- in_progress
- pending
- resolved
- closed
|
Status of the finding.
Can be updated on existing findings.
|
|
title
string
|
|
Title of the finding.
Required when creating a new finding (without ref_id).
|
|
urgency
string
|
Choices:
- informational
- low
- medium
- high
- critical
|
Urgency level of the finding.
Can be updated on existing findings.
|