Skip to content

Update Modular Input to handle both KV Store and Indices as destination/target. #30

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 31 commits into
base: main
Choose a base branch
from

Conversation

CTIBurn0ut
Copy link
Contributor

The current OpenCTI Add-on for Splunk primarily functions within Splunk Cloud environments but lacks native support for modular inputs on Splunk Cloud, which restricts the ability to fetch OpenCTI threat intelligence data directly.

** This was rebuilt using the Splunk Add-on Builder
Added input_type field to the inputs.conf.spec file
Added logic to the input module to handle the new input_type field
copied alert actions and alert actions conf spec files

Dev Splunk instance (Add-on Builder):
https://splunk.dev.filigran.io:8000/en-US/app/splunk_app_addon-builder/tab_home?view=main

Dev Splunk App Install:
https://splunk.dev.filigran.io:8000/en-US/app/TA-opencti-add-on/inputs

This also includes searches that will populate the KV Stores

Added input_type field to the inputs.conf.spec file
Added logic to the input module to handle the new input_type field
copied alert actions and alert actions conf spec files
CTIBurn0ut and others added 28 commits June 17, 2025 14:44
Added index time to objects to track ingestion
set the `_time` field to the current time when
ingesting data. This ensures that the events
reflect the time they were processed rather than
the time they were created in OpenCTI.

update the `props.conf` to set the `TIME_PREFIX`
to `^` for the `opencti_stream` sourcetype.
This change ensures that the `_time` field is
correctly set to the current time when data is
ingested, rather than using the time from the
OpenCTI data.
This is necessary to ensure that the events
reflect the time they were processed rather than
the time they were created in OpenCTI.
This change is necessary to ensure that the
events reflect the time they were processed
rather than the time they were created in OpenCTI.

Updated savedsearches.conf to ensure that the
searches are correctly configured to use the
new `_time` field setting. This ensures that
the searches return results based on the time
the events were processed, rather than the time
they were created in OpenCTI.
This change is necessary to ensure that the
searches return results based on the time the
events were processed, rather than the time
they were created in OpenCTI.
Added packaged add-on for version 2.0.0
Added opencti_stream as default index in inputs.conf
- Applied structured logging across stream input module using syslog-style KV pairs
- Categorized logs using `type=` field (e.g., state, stream, kvstore, error)
- Included `input_name` in all logs for better input traceability
- Enhanced `state` log entries to include `stream_point` and `recover_until`
- Switched indicator value logging to use parsed STIX value
- Improved consistency and visibility for Splunk dashboarding and monitoring
- added new images for saved searches and search macros
- updated README with new images
- updated config input image to reflect changes in UI
 stanza to inputs.conf

- Added default [opencti_indicators] stanza to support backward compatibility
- Mirrors settings from opencti_stream for smoother transition from v1.1.4
- Complements updates in restmap.conf and inputs.conf.spec for full legacy input support
Added ApInspect bypass
Updated binaries in aob_py3
rebuild python environment to remove unneeded dependencies
updated python environment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enhance OpenCTI Add-on for Splunk to Support Data Ingestion via Heavy Forwarder and Index-Based Threat Intelligence Management.
2 participants