Skip to content

Conversation

@potato
Copy link
Contributor

@potato potato commented Jul 2, 2020

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 on DEBUG loglevel those can be useful data.

Co-authored-by: Krisztian Nagy <krisztian.nagy@emarsys.com>
@pull-request-size pull-request-size bot added the size/S PR that changes 10-29 lines. Very easy to review. label Jul 2, 2020
@CLAassistant
Copy link

CLAassistant commented Jul 2, 2020

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@arm4b arm4b left a 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.

@arm4b arm4b added this to the 3.3.0 milestone Jul 2, 2020
potato and others added 2 commits July 2, 2020 14:25
Co-authored-by: Eugen C. <armab@users.noreply.github.com>
Co-authored-by: Krisztian Nagy <krisztian.nagy@emarsys.com>
@pull-request-size pull-request-size bot added size/M PR that changes 30-99 lines. Good size to review. and removed size/S PR that changes 10-29 lines. Very easy to review. labels Jul 2, 2020
@potato
Copy link
Contributor Author

potato commented Jul 2, 2020

updated the CHANGELOG.rst

Copy link
Member

@nmaludy nmaludy left a 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

@arm4b arm4b requested a review from nmaludy September 29, 2020 19:15
@arm4b
Copy link
Member

arm4b commented Sep 29, 2020

Thanks @potato @knagy for the contribution and @nmaludy for review! 👍

@arm4b arm4b merged commit 0d143d4 into StackStorm:master Sep 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug security size/M PR that changes 30-99 lines. Good size to review.

4 participants