Skip to content

Conversation

@parrasajad
Copy link
Contributor

closes #156

@parrasajad parrasajad requested a review from ehsandeep October 6, 2022 09:43
@parrasajad parrasajad linked an issue Oct 6, 2022 that may be closed by this pull request
@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 6, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Member

@ehsandeep ehsandeep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Config:

teams:
  - id: "test"
    teams_webhook_url: "https://<domain>.webhook.office.com/webhookb2/xx@xx/IncomingWebhook/xx"
    teams_format: "{{data}}"

Example Run:

echo teams_test | ./notify -id test -v

             __  _ ___    
  ___  ___  / /_(_) _/_ __
 / _ \/ _ \/ __/ / _/ // /
/_//_/\___/\__/_/_/ \_, / v1.0.3
                   /___/  

		projectdiscovery.io

Use with caution. You are responsible for your actions
Developers assume no liability and are not responsible for any misuse or damage.
Using default provider config: /Users/geekboy/.config/notify/provider-config.yaml
teams_test
[VER] discord notification sent for id: test
[VER] teams notification sent for id: test

Result:

image

@ehsandeep ehsandeep merged commit 1d5b2a4 into dev Oct 6, 2022
@ehsandeep ehsandeep deleted the teams-fix branch October 6, 2022 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Teams Connector - Hardcoded URL issue

3 participants