Skip to content

Mask secrets when writing logs - #551

Merged
Eljo George (eljog) merged 9 commits into
mainfrom
eljog/secret-masking
Jun 18, 2023
Merged

Eljo George (eljog) merged 9 commits into
mainfrom
eljog/secret-masking

Conversation

@eljog

Copy link
Copy Markdown
Member

Secrets must be handled securely at all times and should not be written in plain text into logs.

@eljog
Eljo George (eljog) requested a review from a team as a code owner June 14, 2023 01:02
Comment thread src/spec-common/secrets.ts Resolved
Comment thread src/spec-node/devContainersSpecCLI.ts Resolved
Comment thread src/spec-node/devContainers.ts Resolved
Comment thread src/spec-utils/log.ts Resolved
Comment thread src/spec-utils/log.ts Resolved

@chrmarti Christof Marti (chrmarti) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One additional comment and I'm not sure if stepDetails could contain secrets. Looks good otherwise!

Comment thread src/spec-node/devContainers.ts Resolved
@eljog
Eljo George (eljog) merged commit 32709e7 into main Jun 18, 2023
@eljog
Eljo George (eljog) deleted the eljog/secret-masking branch June 18, 2023 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants