In #79 we introduced new commands to keep track of request logs, but we log everything. Let's actually filter the data we save to disk.
Acceptance Criteria
- Create a public boolean global variable in the httpclient package package
SanitizeLogs , which defaults to true.
- There is no need for this value to ever be changed in this MR, it just needs to be public so down stream builds can change this value.
- If the value is
true, then when saving to disk we should do a replace all and make sure that the client_secret is not saved to disk but replaced with something else like '*****'
- If the value is
false no changes should happen.
In #79 we introduced new commands to keep track of request logs, but we log everything. Let's actually filter the data we save to disk.
Acceptance Criteria
SanitizeLogs, which defaults to true.true, then when saving to disk we should do a replace all and make sure that the client_secret is not saved to disk but replaced with something else like '*****'falseno changes should happen.