Commit Graph

13 Commits

Author SHA1 Message Date
Arvind Bright 2a266e78a0
authz: use pointer to to structpb.Struct instead of value (#6307) 2023-05-22 15:39:17 -07:00
Gregory Cooke 390c392f84
authz: Rbac engine audit logging (#6225)
add the functionality to actually do audit logging in rbac_engine.go and associated tests for that functionality.
2023-05-17 10:21:06 -04:00
Easwar Swaminathan b153b006ce
multiple: standardize import renaming for typed structs (#6238) 2023-05-01 17:30:53 -07:00
Gregory Cooke cf89a0b931
authz: Swap to using the correct TypedConfig in audit logger parsing (#6235)
Swap audit logger parsing to using the correct TypedConfig representation
2023-05-01 14:37:26 -04:00
Gregory Cooke e853dbf004
authz: add conversion of json to RBAC Audit Logging config (#6192)
Add conversion of json to RBAC Audit Logging config
2023-04-26 15:05:18 -04:00
Doug Fawley 778860e606
testing: update Go to 1.19 (#5717) 2022-10-17 15:04:34 -07: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 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