Skip to content

Commit

Permalink
add filters to query audit logs
Browse files Browse the repository at this point in the history
  • Loading branch information
meyerjrr committed Nov 5, 2024
1 parent 142ecc7 commit d6f9a80
Show file tree
Hide file tree
Showing 3 changed files with 83 additions and 26 deletions.
70 changes: 44 additions & 26 deletions gen/commonfate/access/v1alpha1/audit_logs.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 34 additions & 0 deletions gen/commonfate/access/v1alpha1/audit_logs.pb.validate.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions proto/commonfate/access/v1alpha1/audit_logs.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import "commonfate/authz/v1alpha1/read_only.proto";
import "commonfate/entity/v1alpha1/eid.proto";
import "google/protobuf/struct.proto";
import "google/protobuf/timestamp.proto";
import "commonfate/access/v1alpha1/access_request.proto";


service AuditLogService {
rpc QueryAuditLogs(QueryAuditLogsRequest) returns (QueryAuditLogsResponse) {
Expand All @@ -22,6 +24,9 @@ message QueryAuditLogsRequest {
// Query for audit logs performed by a particular actor
// commonfate.entity.v1alpha1.EID actor = 2;


repeated Filter filters = 3;

// The token for the next page.
string page_token = 10;
}
Expand Down

0 comments on commit d6f9a80

Please sign in to comment.