Skip to content

fix: duplicated variable in platform/splunk.py #50#52

Merged
0xFustang merged 1 commit intomainfrom
fix/50-duplicates-variables-splunk
Mar 24, 2026
Merged

fix: duplicated variable in platform/splunk.py #50#52
0xFustang merged 1 commit intomainfrom
fix/50-duplicates-variables-splunk

Conversation

@0xFustang
Copy link
Copy Markdown
Collaborator

Description

Fixes #50

  • alert_expiration is no longer required at the top level of your droid config. The value is now resolved in this order:

    1. Top-level alert_expiration parameter (existing behaviour)
    2. alert_expiration inside savedsearch_parameters (fallback)
    3. Default value of 96h if not set anywhere
  • When alert_expiration is present in savedsearch_parameters, it is now correctly skipped during the saved search creation/update loop. It is instead applied as alert.expires, which is the parameter Splunk's API actually accepts.

@0xFustang 0xFustang self-assigned this Mar 24, 2026
@0xFustang 0xFustang merged commit c58ec11 into main Mar 24, 2026
2 checks passed
@0xFustang 0xFustang deleted the fix/50-duplicates-variables-splunk branch March 24, 2026 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

duplicated variable in platform/splunk.py is preventing exporting rules.

1 participant