Hi Mark, Can you please provide your input on the following audit logging API query https://groups.google.com/g/grpc-io/c/C3Jvipb_hYI
Best Regards, Ramesh On Tuesday, January 28, 2025 at 1:32:44 AM UTC+5:30 Mark D. Roth wrote: > There is an experimental audit logging API you can use for this. See gRFC > A59 <https://github.com/grpc/proposal/blob/master/A59-audit-logging.md> > for details. The actual exposed C++ API for you to use is here > <https://github.com/grpc/grpc/blob/master/include/grpcpp/security/audit_logging.h> > . > > On Wednesday, January 15, 2025 at 3:07:26 PM UTC-8 Rameshreddy Mudhireddy > wrote: > >> Hi Dev team, >> >> Is there a way to log policy based authorization failures using grpc-c++ >> libs. >> Typical flow includes >> >> std::shared_ptr<grpc::experimental::AuthorizationPolicyProviderInterface> >> provider = >> grpc::experimental::FileWatcherAuthorizationPolicyProvider::Create(policyFile, >> >> 10, &status) >> builder.experimental().SetAuthorizationPolicyProvider(provider); >> >> This will load the policy file and authorize the incoming rpc requests. >> Are there any hooks available to interact with the policy engine to log the >> denied rpcs requests? >> >> Appreciate your feedback, Thank you. >> > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/grpc-io/70662515-7873-4841-816a-d880f47eece9n%40googlegroups.com.
