argoproj / argoproj/argo-workflows
Hide secrets in logs
- Dominant language
- Go
- Stars
- 17k
- Forks
- 3.7k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 138
Description
# Summary
Currently, the secrets are printed in the logs without any filtering. It would be nice if the secrets could be redacted in the logs while being printed
# Use Cases
This would prevent unintentional leaks of a secret in the log by running something like `env` in the workflow
NOTE: This does not prevent intentionally leaks of the secrets. Someone can still run something like `env | base64` to extract the secrets from the logs, as the filtering will not be able to filter out the secret output.
---
**Message from the maintainers**:
Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.
Contributor guide
Research direction
The issue names no files, tests, or entry points. Start by locating where workflow output is emitted and where secrets are available, then define redaction behavior and add coverage showing that secrets printed through commands such as env are hidden while intentionally transformed values are not expected to be filtered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100