Skip to content
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

Adds sanitization of request log data on output #1280

Merged
merged 3 commits into from
Dec 19, 2024

Conversation

fhats-stripe
Copy link
Contributor

Reviewers

r? @stripe/developer-products

Summary

This PR adds some basic sanitization of the output of stripe logs tail, as elements of this output can be influenced by user input. Also adds a few tests for the behavior added.

@fhats-stripe fhats-stripe requested a review from a team as a code owner December 19, 2024 19:25
@fhats-stripe fhats-stripe force-pushed the fhats/strip-ansi-from-tailing-output branch from 2e24420 to 1abf51c Compare December 19, 2024 19:27
@fhats-stripe fhats-stripe force-pushed the fhats/strip-ansi-from-tailing-output branch from 1abf51c to 376fb8c Compare December 19, 2024 19:28
Copy link
Contributor

@ianjabour-stripe ianjabour-stripe left a comment

Choose a reason for hiding this comment

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

Great fix! Glad this was easy to test against as well 👍

@fhats-stripe fhats-stripe merged commit 549b46d into master Dec 19, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants