-
Notifications
You must be signed in to change notification settings - Fork 747
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OAuth Slack Token Logged In Clear #944
Comments
This seems to be an issue of slack-go/slack, could you check if there's a way to disable it, or raise an issue in |
I'll check the code how this is used in Argo Events and if this an issue with |
Thanks @christophercutajar ! |
@whynowy from Argo, the argo-events/sensors/triggers/slack/slack.go Line 142 in 8d3904a
SengMessageContext function from chat.go in https://github.com/slack-go/slack/blob/686c209f9525a78313cfe54cbc07cd86bd677384/chat.go#L200.
From Argo point-of-view there is no safer api function that can be used within |
Looking this in more detail, this line of log is only logged argo-events/sensors/triggers/slack/slack.go Line 107 in 8d3904a
|
Thanks! A PR to fix it? |
Yeah @whynowy, will work on it and perform some testing to make sure that setting it to |
Signed-off-by: Derek Wang <[email protected]>
Signed-off-by: Derek Wang <[email protected]>
Thanks @whynowy for taking this and apologies for not solving this earlier. |
…argoproj#1003) Signed-off-by: Derek Wang <[email protected]>
Describe the bug
The OAuth base64 Slack token used by the Slack trigger is logged in the clear.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
OAuth Slack token not logged in the clear in the log files.
Screenshots
Not Applicable.
Environment (please complete the following information):
Message from the maintainers:
If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.
The text was updated successfully, but these errors were encountered: