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.4] obfuscate ip addresses in alert error message #524

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 #524 (56f6c8a) into 2.4 (ba00b5c) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##                2.4     #524      +/-   ##
============================================
+ Coverage     73.15%   73.18%   +0.02%     
  Complexity      699      699              
============================================
  Files           110      110              
  Lines          4604     4609       +5     
  Branches        609      609              
============================================
+ Hits           3368     3373       +5     
  Misses          982      982              
  Partials        254      254              
Files Changed Coverage Δ
...g/opensearch/commons/alerting/alerts/AlertError.kt 44.44% <100.00%> (+12.62%) ⬆️

@engechas engechas merged commit b59cf44 into 2.4 Apr 11, 2024
8 of 9 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