-
-
Notifications
You must be signed in to change notification settings - Fork 746
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
Remove authentication headers from webhook payloads #4983
Conversation
Co-authored-by: Krisztian Nagy <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for contributing this. The change looks great!
Please also include a Changelog record for this in CHANGELOG.rst
.
Co-authored-by: Eugen C. <[email protected]>
Co-authored-by: Krisztian Nagy <[email protected]>
updated the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this idea a lot. Probably good to list out what headers are going to be stripped out in the CHANGELOG and probably also in st2docs
Authentication headers (along with authentication cookies) shouldn't be stored in the payload of the trigger instance, since authentication data from
GET
query parameters are not stored either.Not filtering in
_log_request
since onDEBUG
loglevel those can be useful data.