Skip to content

Commit

Permalink
Merge pull request splunk#10 from splunk/allow-channel-tokens
Browse files Browse the repository at this point in the history
Allow dynamic recipient values
  • Loading branch information
Siegfried Puchbauer authored Dec 11, 2020
2 parents 0d17ed3 + 9648060 commit e232cb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/default/restmap.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[validation:savedsearch]
action.slack.param.channel = validate( match('action.slack.param.channel', "^[#@]"), "Slack channel is invalid (must start with # or @)")
action.slack = case('action.slack' != "1", null(), 'action.slack.param.channel' == "action.slack.param.channel" OR 'action.slack.param.channel' == "", "Channel cannot be empty", 1==1, null())

0 comments on commit e232cb4

Please sign in to comment.