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

envoy remote triage: Validate ip address #2794

Merged
merged 1 commit into from
Sep 19, 2023

Conversation

scarlettperry
Copy link
Contributor

@scarlettperry scarlettperry commented Sep 18, 2023

Description

PR updates the field name to specifically validate for an ip address as address permits either hostname or ip. This currently allows for incorrect input type to the envoy admin endpoints as it uses socket address which is commonly an ip address.

We made a similar change on the UI #2573 to clarify the input field type.

For reference on protoc-gen-validate rules: https://github.com/bufbuild/protoc-gen-validate/blob/main/docs.md#strings

Testing Performed

Manually

@scarlettperry scarlettperry requested a review from a team as a code owner September 18, 2023 18:17
@scarlettperry scarlettperry merged commit 0e5812c into main Sep 19, 2023
6 checks passed
@scarlettperry scarlettperry deleted the sperry-validate-ip-address branch September 19, 2023 14:11
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