Skip to content

Commit

Permalink
Merge pull request #5 from LogCraftIO/fix/splunk-rules-schema
Browse files Browse the repository at this point in the history
fix: add splunk rule definition action and dispatch fields for rules …
  • Loading branch information
MatisseB committed Jun 25, 2024
2 parents a956f84 + e613530 commit a835628
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions splunk/package/rule.k
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ schema SavedSearch:
"""Splunk Saved Search
cron_schedule: str, optional
Valid values: cron string.
disabled: str, optional
Human-readable description of this saved search. Defaults to empty string.
disabled: bool, optional
Indicates if the saved search is enabled. Defaults to false.
dispatch_buckets: int, optional
Expand Down Expand Up @@ -50,6 +48,10 @@ schema SavedSearch:
Defines the viewstate id associated with the UI view listed in 'displayview'.
workload_pool: str, optional
Specifies the new workload pool where the existing running search will be placed.
action: any, optional
Enable or disable an alert action.
dispatch: any, optional
Wildcard argument that accepts any dispatch related argument.
"""
cron_schedule?: str
description?: str
Expand All @@ -69,7 +71,5 @@ schema SavedSearch:
search?: str
vsid?: str
workload_pool?: str
test?: bool | int | 't'
actions: any
acl: any
dispatch: any
action?: any
dispatch?: any

0 comments on commit a835628

Please sign in to comment.