forked from hawtio/hawtio-online
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Masks IP Addresses in json responses (HAWNG-824)
* gateway-api.ts * Adds response interceptor to proxy to capture the body and mask any ip addresses in the body string * jolokia-agent.ts * Before sending back the response, ip addresses are masked in the body * utils.ts * Regex matched and replacement function * Only response that cannot be masked is the responses from the websockets as these are never intercepted by the express server.
- Loading branch information
1 parent
a53192c
commit 4ca046e
Showing
3 changed files
with
32 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters