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>
36 lines
714 B
Protocol Buffer
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;
|
|
}
|