Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 1.38 KB

README.md

File metadata and controls

44 lines (33 loc) · 1.38 KB

karen

Simple incident handler for poopmail

Report receiver configuration

Default config:

[reports]

    [reports.example1]
    type = "http"
    url = "http://example.com"
    method = "POST"
    payload = "{\"hello\": \"world\", \"field1\": \"{SERVICE_NAME} {TOPIC} {DESCRIPTION} {TYPE}\"}" # Optional
        [reports.example1.header] # Optional
        "Authorization" = "..."

    [reports.example2]
    type = "discord"
    url = "https://discord.com/api/webhooks/123/abc"
    content = "@everyone" # Optional
        [reports.example2.icons] # Optional
        "toilet" = "https://cdn.bigbathroomshop.co.uk/media/catalog/product/cache/07469e52453ec3e9e92a88c7a63b12d8/h/l/hlb031w_ls_b_new_1000.jpg"

    [reports.example3]
    type = "telegram"
    bottoken = "1234567:ABCdefgHIjklMNOpQrSTUVwXYZ"
    chatid = "1234567"

Credits and thirdpary licenses

Lettuce:
Apache License 2.0

Gson:
Apache License 2.0

toml:
MIT License

discord-webhooks:
Apache License 2.0