Giter Site home page Giter Site logo

Comments (2)

ehsandeep avatar ehsandeep commented on September 4, 2024

Example:- providers.yaml

profile: subfinder
provider: slack
slack_webhook_url: https://a.b.c/slack
slack_username: test
slack_channel: test
slack_threads: true

profile: subfinder
provider: discord
discord_webhook_url: https://discord.com/api/webhooks/XXXXX
discord_username: lol

profile: abc
provider: discord
discord_webhook_url: https://discord.com/api/webhooks/XXXXX
discord_username: aaa

profile: xyz
provider: telegram
telegram_apikey: XXXXX9218891:AAEQPydThIZXXXXX
telegram_chat_id: 36808XXXXX


profile: test
provider: custom
custom_webook_url: http://127.0.0.1:8000/api/v1/webhook
custom_method: POST
custom_headers: '{"X-Api-Key":"XXXXX", "Content-Type":"application/json"}' # Multi header input support
custom_body: '{{data}}'

from notify.

parrasajad avatar parrasajad commented on September 4, 2024

Updated example provider config:

slack:
  - profile: subfinder
    slack_webhook_url: https://a.b.c/slack
    slack_username: test
    slack_channel: test
    #if slack_thread_ts valid message time stamp, it will be sent as a reply in thread
    slack_thread_ts: 346XXXXXX.46
  - profile: test
    slack_webhook_url: https://a.b.c/slack
    slack_username: test
    slack_channel: random
discord:
  - profile: aXX
    discord_webhook_url: https://discord.com/api/webhooks/XXXXX
    discord_username: aXX
    discord_channel: teXX
telegram:
  - profile: xyz
    telegram_apikey: XXXXX9218891:AAEQPydThIZXXXXX
    telegram_chat_id: 36808XXXXX
custom:
  - profile: test
    custom_webook_url: http://127.0.0.1:8000/api/v1/webhook
    custom_method: POST
    custom_headers: '{"X-Api-Key":"XXXXX", "Content-Type":"application/json"}' # Multi header input support
    custom_body: '{{data}}'

from notify.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.