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

[Backport 2.7] obfuscate ip addresses in alert error message #527

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport b8e6e75 from #511.

* obfuscate ip addresses in alert error message

Signed-off-by: Surya Sashank Nistala <snistala@amazon.com>

* make ip obfuscation lower case

Signed-off-by: Surya Sashank Nistala <snistala@amazon.com>

* update test with lowercase ip obfuscation

Signed-off-by: Surya Sashank Nistala <snistala@amazon.com>

---------

Signed-off-by: Surya Sashank Nistala <snistala@amazon.com>
(cherry picked from commit b8e6e75)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@codecov
Copy link

codecov bot commented Sep 8, 2023

Codecov Report

Merging #527 (82effdc) into 2.7 (31322e1) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##                2.7     #527      +/-   ##
============================================
+ Coverage     72.44%   72.47%   +0.02%     
  Complexity      709      709              
============================================
  Files           113      113              
  Lines          4700     4705       +5     
  Branches        614      614              
============================================
+ Hits           3405     3410       +5     
  Misses         1037     1037              
  Partials        258      258              
Files Changed Coverage Δ
...g/opensearch/commons/alerting/alerts/AlertError.kt 44.44% <100.00%> (+12.62%) ⬆️

@engechas engechas merged commit 1209d30 into 2.7 Apr 11, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants