Skip to content

Sanitize HTTP Logs #116

@steve-r-west

Description

@steve-r-west

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

  1. 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.
  2. 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 '*****'
  3. If the value is false no changes should happen.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions