Commit Graph

12 Commits

Author SHA1 Message Date
Doug Fawley 778860e606
testing: update Go to 1.19 (#5717) 2022-10-17 15:04:34 -07:00
Ashitha Santhosh 011544f729
authz: add additional logs to sdk authz (#5094)
* Adds additional logs to sdk authz

* resolve comment

* adds logs displaying request details

* remove sdk_server_interceptor log

* log subset of rpcData

* resolving comment

* format log message
2022-02-18 14:24:03 -08:00
Ashitha Santhosh 75fd0240ac
remove sdk term from grpc authz (#5191) 2022-02-10 15:13:34 -08:00
赵延 c44f627fd1
cleanup: replace grpc.WithInsecure with insecure.NewCredentials (#5177) 2022-02-09 11:17:46 -08:00
Ashitha Santhosh fbaf7c5582
authz: update representation of allow authenticated in SDK (#5052)
* remove empty principals logic

* Update test

* minor formatting

* resolving comments
2021-12-28 15:07:12 -08:00
Ashitha Santhosh 5d90b32d9d
authz: fix regex expression match (#5035)
* Fixes regex expression matching.

* Adds tests

* Updates FulMatchWithRegex and regex string for presence match.

* Add tests for FullMatchWithRegex

* Update regex to allow whitespace characters
2021-12-09 15:37:33 -08:00
Ryan Leung 14ebd917f2
lint: fix some unused parameter issues (#4956) 2021-11-09 11:18:21 -08:00
Ashitha Santhosh 4f21cde702
authz: support empty principals and fix rbac authenticated matcher (#4883)
* authz: support empty principals in SDK and fixes to rbac authenticated
matcher.

* Minor formatting

* Remove pointer from principals fields

* resolving comments
2021-10-21 15:39:02 -07:00
Ashitha Santhosh b99d1040b7
authz: create file watcher interceptor for gRPC SDK API (#4760)
* authz: create file watcher interceptor for gRPC SDK API
2021-10-08 17:09:55 -07:00
Ashitha Santhosh b189f5e1bc
authz: create interceptors for gRPC security policy API (#4664)
* Static Authorization Interceptor
2021-09-02 11:22:07 -07:00
Aliaksandr Mianzhynski 9c668aeab8
all: preallocate slices where possible (#4609) 2021-08-11 09:17:59 -07:00
Ashitha Santhosh 52546c5d89
authorization: translate SDK policy to Envoy RBAC proto (#4523)
* Translates SDK authorization policy to Envoy RBAC proto.
2021-06-30 11:14:57 -07:00