We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When creating a workflow using 'Splunk HEC export' as an action the event never gets sent and the job fails with an undefined variable error.
Event gets send.
Setup a workflow with a 'Splunk HEC export' action. Trigger the workflow.
2.4.189
RedHat
7.9
7.4
No response
Stacktrace on job: Notice Error: Undefined variable: response in [/var/www/MISP/app/Model/WorkflowModules/action/Module_webhook.php, line 189] Error: Call to a member function isOk() on null #0 /var/www/MISP/app/Model/WorkflowModules/action/Module_splunk_hec_export.php(121): Module_splunk_hec_export->sendToSplunk() #1 /var/www/MISP/app/Model/Workflow.php(689): Module_splunk_hec_export->exec() #2 /var/www/MISP/app/Model/Workflow.php(610): Workflow->executeNode() #3 /var/www/MISP/app/Console/Command/WorkflowShell.php(54): Workflow->walkGraph() #4 /var/www/MISP/app/Lib/cakephp/lib/Cake/Console/Shell.php(459): WorkflowShell->walkGraph() #5 /var/www/MISP/app/Lib/cakephp/lib/Cake/Console/ShellDispatcher.php(222): Shell->runCommand() #6 /var/www/MISP/app/Lib/cakephp/lib/Cake/Console/ShellDispatcher.php(66): ShellDispatcher->dispatch() #7 /var/www/MISP/app/Console/cake.php(45): ShellDispatcher::run() #8 {main}
The text was updated successfully, but these errors were encountered:
Update Module_splunk_hec_export.php
6616fbf
Fixes: MISP#9680
Successfully merging a pull request may close this issue.
Actual behavior
When creating a workflow using 'Splunk HEC export' as an action the event never gets sent and the job fails with an undefined variable error.
Expected behavior
Event gets send.
Steps to reproduce
Setup a workflow with a 'Splunk HEC export' action.
Trigger the workflow.
Version
2.4.189
Operating System
RedHat
Operating System version
7.9
PHP version
7.4
Browser
No response
Browser version
No response
Relevant log output
Extra attachments
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: