Graylog2 / Graylog2/graylog-plugin-integrations

slack plugin - validate webhook url while creation and update

Open
#632 0 comments 0 reactions 0 assignees View on GitHub
bug slack-plugin ux
Dominant language
Java
Stars
17
Forks
14
PR merge metrics
No merged PRs in 30d

Description

## Description
we can save the slack notification form using an invalid webhook url, `https://hooks.slack.com/services/xxxxxx/xxxx/xxxxxx`
![slack_notification_form_validation](https://user-images.githubusercontent.com/6947168/98126263-fd554780-1e7a-11eb-9cc5-b1c415985de0.png)

## Possible Solution
1. perform a reg-ex validation of webhook using [formik](https://formik.org/)

## Reference
https://regex101.com/

## Environment

- Graylog Version:4.0.0
- Elasticsearch Version: n/a
- MongoDB Version:n/a
- Browser Version:firefox

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.