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

authorize: log check() error #3846

Merged
merged 1 commit into from Jan 3, 2023
Merged

authorize: log check() error #3846

merged 1 commit into from Jan 3, 2023

Conversation

wasaga
Copy link
Contributor

@wasaga wasaga commented Jan 2, 2023

Summary

Currently, if ext_authz gRPC Check() call fails with error, the error (that would likely occur due to misconfiguration) would
not be printed anywhere, and just the ext_authz_error would be present in the Envoy log.

This PR adds logging of underlying reason along with the request-id.

Related issues

User Explanation

Checklist

  • reference any related issues
  • updated docs
  • updated unit tests
  • updated UPGRADING.md
  • add appropriate tag (improvement / bug / etc)
  • ready for review

@wasaga wasaga requested a review from a team as a code owner January 2, 2023 03:45
@coveralls
Copy link

Coverage Status

Coverage: 62.905% (-0.009%) from 62.914% when pulling 50db127 on wasaga/log-authz-error into 271b078 on main.

@wasaga wasaga merged commit e728991 into main Jan 3, 2023
@wasaga wasaga deleted the wasaga/log-authz-error branch January 3, 2023 16:05
@wasaga wasaga added the enhancement New feature or request label Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants