projectdiscovery / notify

Notify is a Go-based assistance package that enables you to stream the output of several tools (or read from a file) and publish it to a variety of supported platforms.

Home Page:https://projectdiscovery.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adding support for posting data to custom webhook URL

ehsandeep opened this issue · comments

Suggested by Roni (on discord)

Example config:-

custom:
  - id: webhook
    custom_webook_url: http://0.0.0.0/api/webhook
    custom_method: GET
    custom_format: '{{data}}'
    custom_headers:
      Content-Type: application/json
      X-Api-Key: XXXXX

This would allow us to also format data? i.e. I'm interested in preserving the colored output from terminal -> to Slack but not sure how/where to do that.

@Regala do you example of slack supporting colored output in markdown or any format?

Ugh actually for now seems like only markdown is supported