Send Report

POST {{slackUrl}}/api/chat.postMessage

This request sends the final scan findings to the slack channel specified in the notificationChannel variable.

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{"ok":true,"channel":"C01XXXXXXXX","ts":"1624949123.000400","message":{"bot_id":"B01XXXXXXXX","type":"message","text":"Scheduled scan was successfully completed.","user":"U01XXXXXXXX","ts":"1624949123.000400","team":"T01XXXXXXXX","bot_profile":{"id":"B01XXXXXXXX","deleted":false,"name":"Slack Secret Scan","updated":1613377831,"app_id":"A01XXXXXXXX","icons":{"image_36":"https://a.slack-edge.com/80588/img/plugins/app/bot_36.png","image_48":"https://a.slack-edge.com/80588/img/plugins/app/bot_48.png","image_72":"https://a.slack-edge.com/80588/img/plugins/app/service_72.png"},"team_id":"T01XXXXXXXX"},"attachments":[{"text":"1. \u003chttps://postman.slack.com/archives/C01XXXXXXXX/p1624949090000300|PMAK-60XXXXXXXXXXXXXXXXX-4caXXXXXXXXXXXXXXXXXXXX19edXXXXXXXX...\u003e\nPosted by: \u003c@U01XXXXXXXX\u003e\n","title":"1 messages containing sensitive keys/credentials were found.","id":1,"color":"D00000","fallback":"1 messages containing sensitive keys/credentials were found."}]},"warning":"missing_charset","response_metadata":{"warnings":["missing_charset"]}}