opensearch-project / opensearch-project/alerting

Make custom webhook host supports IP address as well

Open
#52 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Kotlin
Stars
82
Forks
133
Avg merge
2d 11h
Merged PRs (30d)
9

Description

Issue by raymanound
Sunday Dec 29, 2019 at 17:02 GMT
Originally opened as https://github.com/opendistro-for-elasticsearch/alerting/issues/137


Hi, I have a use case that sending request to localhost with data but the host in custom attributes URL does not accept either "localhost" or "127.0.0.1". Can you consider to make it accept those values? Thanks.
image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the custom webhook URL behavior with localhost and 127.0.0.1, then locate the validation or request-handling entry point for custom attributes. Done means both host forms are accepted for webhook requests without breaking existing host handling, with coverage for the reported cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.