0

I tried to deploy Falco via Helm. And I set program_output for sending messages to slack channel but the problem is falco image doesnt have curl and jq packages.

How can I fix this problem?

My program output block:


      program: |
        jq 'if .priority == "Emergency" or .priority == "Critical" or .priority == "Error" then
          { attachments: [{ text: .output, color: "danger" }]}
        elif .priority == "Warning" or .priority == "Notice" then
          { attachments: [{ text: .output, color: "warning" }]}
        elif .priority == "Informational" then
          { attachments: [{ text: .output, color: "good" }]}
        else
          { attachments: [{ text: .output }]}
        end' | curl -d @- -X POST https://hooks.slack.com/services/

Falco Logs:

https://prnt.sc/-77RM5PLcS1u

Thanks in advance.

I expected not error message

Siyah
  • 1
  • 2

0 Answers0