Skip to content

Send alerts from Wazuh to Microsoft Teams via wazuh-integratord #14753

Answered by CarlosRS9
thanhsang2606 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @thanhsang2606

I have reviewed the information you have provided as well as the attached scripts and I believe the problem is in your scripts' code. Let me explain this.

Your custom-teams script is using an invalid path for the embedded python binary. You are using framework/js/bin/js3 as the relative path, which does not exists by default in 4.3 and it is very likely the reason of the error. You should replace this line with:

WPYTHON_BIN="framework/python/bin/python3"

Regarding the custom-teams.py it has at least 3 code error, as follows:

  • Line 92 has an invalid tabulation. You should remove it.
  • Line 95 has an invalid blank space after the \. You should remove it.
  • Line 173 (the excep…

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@nicolasjulian-jubelio
Comment options

Answer selected by thanhsang2606
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants