Skip to content

[kill request] Add API validation to avoid config crash#14398

Merged
asraa merged 4 commits intoenvoyproxy:mainfrom
asraa:fix-kill-request
Jan 25, 2021
Merged

[kill request] Add API validation to avoid config crash#14398
asraa merged 4 commits intoenvoyproxy:mainfrom
asraa:fix-kill-request

Conversation

@asraa
Copy link
Contributor

@asraa asraa commented Dec 14, 2020

Signed-off-by: Asra Ali asraa@google.com

Commit Message: Adds an API validation to kill request proto to a LowerCaseString field.
Testing: Add regression test

Signed-off-by: Asra Ali <asraa@google.com>
@repokitteh-read-only
Copy link

CC @envoyproxy/api-shepherds: Your approval is needed for changes made to (api/envoy[\w/]*/(v1alpha\d?|v1|v2alpha\d?|v2))|(api/envoy/type/(matcher/)?\w+.proto).
CC @envoyproxy/api-shepherds: Your approval is needed for changes made to api/envoy/.
API shepherd assignee is @lizan
CC @envoyproxy/api-watchers: FYI only for changes made to api/envoy/.

🐱

Caused by: #14398 was opened by asraa.

see: more, trace.

// A map of string keys to requirements. The string key is the string value
// in the FilterState with the name specified in the *name* field above.
map<string, JwtRequirement> requires = 3;
map<string, JwtRequirement>
Copy link
Member

Choose a reason for hiding this comment

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

?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Huh, that is strange. I think this happened while running proto format, I'll revert the JWT files.

Signed-off-by: Asra Ali <asraa@google.com>
Base automatically changed from master to main January 15, 2021 23:02
@lizan
Copy link
Member

lizan commented Jan 22, 2021

@asraa can you check CI?

@asraa asraa merged commit 90534eb into envoyproxy:main Jan 25, 2021
aunu53 pushed a commit to aunu53/envoy that referenced this pull request Jan 25, 2021
…4398)

* fix kill request API validation for header 

Signed-off-by: Asra Ali <asraa@google.com>
Signed-off-by: Auni Ahsan <auni@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants