-
Notifications
You must be signed in to change notification settings - Fork 34
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
Metadata jwt failed status #419
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bcc2420
to
08d964e
Compare
08d964e
to
7c6c414
Compare
71dd46a
to
ffc1ac0
Compare
Ferdudas97
previously approved these changes
Jul 4, 2024
nastassia-dailidava
previously approved these changes
Jul 4, 2024
ffc1ac0
to
65c4f01
Compare
3c3a8f3
to
5b67453
Compare
65c4f01
to
1fc756d
Compare
ef19cff
to
75eb287
Compare
The base branch was changed.
KSmigielski
previously approved these changes
Jul 18, 2024
f8cd09a
to
047b509
Compare
0800a1d
to
3e41da1
Compare
3e41da1
to
b9b82a2
Compare
b9b82a2
to
348e628
Compare
Ferdudas97
approved these changes
Jul 24, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add JWT failure reason to metadata and use it in jwt-status field on denied requests
Tested and got log:
{"time":"2024-07-18T10:43:59.510562439Z","level":"INFO","message":"blocked requests[1]: GET /service-mesh-service-second/resources/slow*, client: {MISSING}, ip: <hidden>, protocol: http, statusCode: 403, authority: <hidden>:31000, lua_authority: , jwt-token-status: Jwt is expired\nsampled requests[1]:\npath: /service-mesh-service-second/resources/slow?delayMs=100, ip: <hidden>, request id: <hidden>\n","logger":"envoy.OutputLog[incoming_permissions]","thread":"log-summarizer","first_request_time":"2024-07-18T12:43:51.920+02:00"}