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

fix(discover): Add validation for invalid span ID (#271) #29784

Merged
merged 2 commits into from
Nov 5, 2021

Conversation

narsaynorath
Copy link
Member

Reject trace.span and trace.parent_span in discover queries if not valid
16 digit hexadecimal strings, or contains wildcards.

Reject trace.span and trace.parent_span in discover queries if not valid
16 digit hexadecimal strings, or contains wildcards.
@narsaynorath narsaynorath requested a review from a team November 4, 2021 15:13
@narsaynorath narsaynorath requested a review from a team as a code owner November 4, 2021 15:13
Copy link
Member

@wmak wmak left a comment

Choose a reason for hiding this comment

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

Small question about where is_span_id should go, but otherwise LGTM

@narsaynorath narsaynorath merged commit 5d6d801 into master Nov 5, 2021
@narsaynorath narsaynorath deleted the fix/discover-invalid-trace-span-id branch November 5, 2021 15:31
@github-actions github-actions bot locked and limited conversation to collaborators Nov 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants