Hello,
I’m looking for how to pass authorization tokens using Prometheus Alertmanager.
My configuration is:
- name: 'msteamsdesktop'
webhook_configs:
- url: 'https://d.teamwork.com/tasklists/111111/tasks.json'
send_resolved: false
http_config:
authorization:
credentials: 'bSDVkTG5UdkNydQ=='
For curl it looks like that
curl --request POST \
--url https://ht.io/s/teamwork/4908/tasklists/id/tasks.json \
--header 'Authorization: Basic undefined' \
--header 'Content-Type: application/json' \
--data '{.....