Encrypting Webhook URLs

Bjoern Kimminich's Avatar

Bjoern Kimminich

31 Aug, 2016 01:35 PM

In order to prevent abuse of a webhook URL (in my case to gitter.im) I would like to encrypt the URL of a webhook notification:

notifications:
  - provider: Webhook
    url:
      secure: c4xwvfA2YpTyASkpasFt2vA6q4pCxCMoWhfX9/JwBxp6rub4dphj6smGxy+5rnsHcvVU6/FvzVHQo4hoxL5gOA==
    on_build_success: false
    on_build_failure: true
    on_build_status_changed: true

This is currently not accepted as a valid appveyor.yml:

"url" must be a string. (Line: 37, Column: 7)

Is there a workaround and/or might this change make it into the platform at some point?

  1. 1 Posted by Bjoern Kimminic... on 25 May, 2017 10:20 PM

    Bjoern Kimminich's Avatar

    Just checked if this issue might have silently been fixed, but unfortunately it hasn't been. Any chance this supposedly simple but useful enhancement will make it into AppVeyor?

  2. 2 Posted by tdmalone on 14 Jun, 2017 09:30 PM

    tdmalone's Avatar

    Duplicate report: http://help.appveyor.com/discussions/problems/5478-how-to-secure-a-webhook-url

    Not that it's a solution, but a workaround would be to configure Gitter in the interface.

    I would still like to see the ability to provide a secure url value in the YAML though!

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • ParseError_UrlSecure.png 21.2 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac