Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Clear System Event Log support #148

Merged
merged 5 commits into from
Oct 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@
{
"name": "Go",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/go:0-1-bullseye",
"image": "mcr.microsoft.com/devcontainers/go:1-1.21-bullseye",
"features": {
"ghcr.io/devcontainers/features/go:1": {},
"ghcr.io/devcontainers-contrib/features/protoc-asdf:1": {},
"ghcr.io/jungaretti/features/make:1": {}
"ghcr.io/devcontainers-contrib/features/protoc-asdf:1": {}
}

// Features to add to the dev container. More info: https://containers.dev/features.
Expand Down
207 changes: 181 additions & 26 deletions api/v1/diagnostic.pb.go

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

10 changes: 10 additions & 0 deletions api/v1/diagnostic.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import "api/v1/common.proto";

service Diagnostic {
rpc Screenshot (ScreenshotRequest) returns (ScreenshotResponse);
rpc ClearSystemEventLog (ClearSystemEventLogRequest) returns (ClearSystemEventLogResponse);
}

message ScreenshotRequest {
Expand All @@ -19,4 +20,13 @@ message ScreenshotRequest {
message ScreenshotResponse {
bytes image = 1;
string filetype = 2;
}

message ClearSystemEventLogRequest {
v1.Authn authn = 1;
v1.Vendor vendor = 2;
}

message ClearSystemEventLogResponse {
string task_id = 1;
}
16 changes: 16 additions & 0 deletions api/v1/diagnostic.validator.pb.go

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

36 changes: 36 additions & 0 deletions api/v1/diagnostic_grpc.pb.go

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

Loading
Loading