Filter out unknown fields in ProtoApiScrubber #43315
Conversation
|
Hi @nickshokri, welcome and thank you for your contribution. We will try to review your Pull Request as quickly as possible. In the meantime, please take a look at the contribution guidelines if you have not done so already. |
|
@sumitkmr2 cannot be assigned to this issue. |
|
nickshokri is not allowed to assign users. |
|
@nickshokri please merge main @sumitkmr2 please also review the change /wait |
|
@phlax friendly ping |
|
CC @envoyproxy/api-shepherds: Your approval is needed for changes made to |
|
cc @adisuissa Gentle ping on this for a review. |
adisuissa
left a comment
There was a problem hiding this comment.
Thanks!
Overall LGTM.
/lgtm api
Please consider adding an integration test that will show what are the expected inputs and outputs in the case of scrubbing.
|
@adisuissa friendly ping on this. I'm hoping to get this in by EOW. |
|
Please fix DCO |
Signed-off-by: nick <nickshokri@google.com>
Signed-off-by: nick <nickshokri@google.com>
Signed-off-by: nick <nickshokri@google.com>
Signed-off-by: nick <nickshokri@google.com>
Signed-off-by: nick <nickshokri@google.com>
…to unknown_field_filter Signed-off-by: nick <nickshokri@google.com>
Signed-off-by: nick <nickshokri@google.com>
Head branch was pushed to by a user without write access
Signed-off-by: nick <nickshokri@google.com>
Signed-off-by: nick <nickshokri@google.com>
Head branch was pushed to by a user without write access
…voyproxy#43315) Signed-off-by: nick <nickshokri@google.com> Signed-off-by: Kuat <kyessenov@users.noreply.github.com> Co-authored-by: Kuat <kyessenov@users.noreply.github.com>
…voyproxy#43315) Signed-off-by: nick <nickshokri@google.com> Signed-off-by: Kuat <kyessenov@users.noreply.github.com> Co-authored-by: Kuat <kyessenov@users.noreply.github.com> Signed-off-by: Xuyang Tao <taoxuy@google.com>
…voyproxy#43315) Signed-off-by: nick <nickshokri@google.com> Signed-off-by: Kuat <kyessenov@users.noreply.github.com> Co-authored-by: Kuat <kyessenov@users.noreply.github.com> Signed-off-by: Jonathan Wu <jtwu@google.com>
…voyproxy#43315) Signed-off-by: nick <nickshokri@google.com> Signed-off-by: Kuat <kyessenov@users.noreply.github.com> Co-authored-by: Kuat <kyessenov@users.noreply.github.com> Signed-off-by: Nick Shipilov <nick.shipilov.n@gmail.com>
…voyproxy#43315) Signed-off-by: nick <nickshokri@google.com> Signed-off-by: Kuat <kyessenov@users.noreply.github.com> Co-authored-by: Kuat <kyessenov@users.noreply.github.com>
Commit Message: Add an unknown field filter in the ProtoApiScrubber's CheckField() method. A max depth cap of 100 was also added to prevent stack overflow.
Additional Description: Note that AI was used for creating the unit tests
Risk Level: Low
Testing: Added unit tests and confirmed they pass
Docs Changes: Added to ProtoApiScrubber documentation the existence of an unknown field filter
Release Notes: Added section under "minor changes"
Platform Specific Features: N/A