Skip to content

Conversation

@sumitkmr2
Copy link
Contributor

@sumitkmr2 sumitkmr2 commented Oct 27, 2025

Commit Message: Add directory skeleton and basic logic for field checker

Additional Description: Add dummy implementation of overridden methods of FieldChecker. Subsequent PRs will add incremental functionality including:

  • Logic for scrubbing fields of depth 1.
  • Logic for scrubbing fields of depth > 1.
  • Integration with core filter logic
  • Support for map, arrays and enum types.

Risk Level: None
Testing: UTs added just for coverage POV for now. UTs will be added incrementally per PR as per the functionality added.
Docs Changes: None
Release Notes: N/A
Platform Specific Features: N/A
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

@repokitteh-read-only
Copy link

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #41713 was opened by sumitkmr2.

see: more, trace.

@sumitkmr2 sumitkmr2 changed the title Add FieldChecker and ProtoScrubber [ProtoApiScrubber] Add directory skeleton and basic logic for field checker Oct 28, 2025
],
deps = [
"//source/common/protobuf",
"@com_google_protoprocessinglib//proto_processing_lib/proto_scrubber",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This dependency is added for the classes FieldCheckerInterface, FieldCheckResults, etc.

@sumitkmr2 sumitkmr2 marked this pull request as ready for review October 28, 2025 18:32
@sumitkmr2 sumitkmr2 requested a review from adisuissa as a code owner October 28, 2025 18:32
@sumitkmr2
Copy link
Contributor Author

Note that the Prechecks and Checks failure are not related to this change. Possibly transient failures in a different filter.

@adisuissa adisuissa self-assigned this Oct 29, 2025
Copy link
Contributor

@adisuissa adisuissa left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@adisuissa
Copy link
Contributor

/retest

@adisuissa adisuissa enabled auto-merge (squash) October 31, 2025 18:17
@adisuissa adisuissa merged commit 1a41f71 into envoyproxy:main Oct 31, 2025
24 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