Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replacing spi.utils isHostInDenyList with core.utils isHostInDenyList #904

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

toepkerd
Copy link
Contributor

@toepkerd toepkerd commented Apr 15, 2024

Description

Testing: on local cluster, added a sample hostname to the deny list, then created channel with custom webhook option to a URL that sends to the denied hostname and received following error:

[status_exception] {"event_status_list": [{"config_id":"-q47444BQsqriBBcpim5","config_type":"webhook","config_name":"temp-test","email_recipient_status":[],"delivery_status":{"status_code":"400","status_text":"Webhook message creation failed with status:Host of url is denied, based on plugin setting [notification.core.http.host_deny_list]"}}]}

Issues Resolved

[List any issues this PR will resolve]

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@toepkerd
Copy link
Contributor Author

Security and Linux Builds are known to be flaky, example merged PRs with same failing CIs:
#861

@sbcd90 sbcd90 merged commit fa4007c into opensearch-project:main Apr 15, 2024
10 of 16 checks passed
@toepkerd toepkerd deleted the main-toepkerd branch April 16, 2024 18:14
opensearch-trigger-bot bot pushed a commit that referenced this pull request Apr 30, 2024
…#904)

Signed-off-by: Dennis Toepker <[email protected]>
(cherry picked from commit fa4007c)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
sbcd90 pushed a commit that referenced this pull request Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants