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

Updating profiles with ids

ehsandeep opened this issue · comments

We added profile field support in the config file and profile flag to use any specific profile instead of all providers at once.

Example:-

notify -profile recon_subfinder
discord:
  - profile: recon_subfinder
    discord_webhook_url: https://discord.com/api/webhooks/XX/XX
    discord_username: test
    discord_channel: notify-test

We can update the profile with id to improve the UX and simple to use.

After change:-

notify -id recon,hack
discord:
  - id: recon
    discord_webhook_url: https://discord.com/api/webhooks/XX/XX
    discord_username: test
    discord_channel: notify-test
    
  - id: hack
    discord_webhook_url: https://discord.com/api/webhooks/XX/XX
    discord_username: hack
    discord_channel: hack-test