Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: # This diff Refactors `eden rage` so that all of the output is ran through a redaction method that attempts to remove any secrets/sensitive info. Secrets/tokens are detected using a list of regexes. These are hard coded in the shared "redact" library that is used in this diff. # Context `eden rage` dumps out environment information and logs, which may contain secrets or sensitive information. `sl rage` protects against this by running a redaction regrex over each line of the rage and replacing any secrets with `<redacted>`. We should reuse that logic in EdenFS as well, so that we can avoid dumping secrets or senstive information to the terminal or pastry. Reviewed By: lXXXw Differential Revision: D66678215 fbshipit-source-id: be6429dd599b3d51e3a038b10bb3c53c6627d49d
- Loading branch information