Skip to content

Commit

Permalink
fix tag issue
Browse files Browse the repository at this point in the history
  • Loading branch information
misterpantz committed Dec 18, 2024
1 parent 2df82f6 commit 2b60382
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/platform/maintain/alerting/msteams.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ import Partial from "../../partials/\_editor-owner.mdx";

### Send a test alert to Microsoft Teams

If you don't successfully receive alerts in Microsoft Teams, you can test the webhook by sending a webhook payload to the endpoint. Open a shell and enter this command, substituting the URL you copied in Microsoft Teams for <WEBHOOK_URL>:
If you don't successfully receive alerts in Microsoft Teams, you can test the webhook by sending a webhook payload to the endpoint. Open a shell and enter this command. For `WEBHOOK_URL`, substitute the URL you copied in Microsoft Teams:

```bash
curl -vH "Content-Type: application/json" -d '{ "type": "message", "attachments": [ { "contentType": "application/vnd.microsoft.card.adaptive", "contentUrl": null, "content": { "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "type": "AdaptiveCard", "version": "1.2", "body": [ { "type": "TextBlock", "text": "Hello World, this is a Mondoo Test!" } ] } } ] }' "<WEBHOOK_URL>"
curl -vH "Content-Type: application/json" -d '{ "type": "message", "attachments": [ { "contentType": "application/vnd.microsoft.card.adaptive", "contentUrl": null, "content": { "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "type": "AdaptiveCard", "version": "1.2", "body": [ { "type": "TextBlock", "text": "Hello World, this is a Mondoo Test!" } ] } } ] }' "WEBHOOK_URL"
```

### Error messages in Microsoft Power Automate
Expand Down

0 comments on commit 2b60382

Please sign in to comment.