Files
mcr/proto/mcr/v1/audit.proto
Kyle Isom d5580f01f2 Migrate module path from kyle/ to mc/ org
All import paths updated to git.wntrmute.dev/mc/. Bumps mcdsl to v1.2.0.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-27 02:05:59 -07:00

36 lines
714 B
Protocol Buffer

syntax = "proto3";
package mcr.v1;
option go_package = "git.wntrmute.dev/mc/mcr/gen/mcr/v1;mcrv1";
import "mcr/v1/common.proto";
service AuditService {
rpc ListAuditEvents(ListAuditEventsRequest) returns (ListAuditEventsResponse);
}
message AuditEvent {
int64 id = 1;
string event_time = 2;
string event_type = 3;
string actor_id = 4;
string repository = 5;
string digest = 6;
string ip_address = 7;
map<string, string> details = 8;
}
message ListAuditEventsRequest {
PaginationRequest pagination = 1;
string event_type = 2;
string actor_id = 3;
string repository = 4;
string since = 5;
string until = 6;
}
message ListAuditEventsResponse {
repeated AuditEvent events = 1;
}