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

GRPC v1 API #3208

Closed
13 tasks done
josedonizetti opened this issue Jun 7, 2023 · 0 comments
Closed
13 tasks done

GRPC v1 API #3208

josedonizetti opened this issue Jun 7, 2023 · 0 comments

Comments

@josedonizetti
Copy link
Collaborator

josedonizetti commented Jun 7, 2023

There Tracee API server involves several changes which we are tracking at #2991 across releases.

This issue is tracking the work to be done to have a v1 GRPC API for 0.17.0. The v1 implementation should support the endpoints discussed:

service TraceeService {
    rpc GetEventDefinition(GetEventDefinitionRequest) returns (GetEventDefinitionResponse);
    rpc StreamEvents(StreamEventsRequest) returns (stream StreamEventsResponse);

    // global actions, enable/disable event
    rpc EnableEvent(EnableEventRequest) returns (EnableEventResponse);
    rpc DisableEvent(DisableEventRequest) returns (DisableEventResponse);

    rpc GetVersion(GetVersionRequest) returns (GetVersionResponse);
}

service diagnostic {
    GetMetrics()
    ChangeLogLevel() 
    DumpStack()
}
  • GRPC Server
  • Stream abstraction to be able to hook new output streams into the pipeline
  • Migrate api to root dir (eg: "./api")
  • StreamEvents endpoint
  • Add Enable/Disable rule to Tracee
  • Add Enable/Disable rule endpoint
  • Add GetEventDefinition endponit
  • Add Enable/Disable event
  • Add Enable/Disable event endpoint
  • Version endpoint
  • Add Diagnostic service for ChangeLogLevel
  • Add Diagnostic service for DumpStack
  • Add Diagnostic service for GetMetrics
@josedonizetti josedonizetti added this to the v0.16.0 milestone Jun 7, 2023
@josedonizetti josedonizetti self-assigned this Jun 7, 2023
@josedonizetti josedonizetti changed the title grpc server to get events grpc server to list events Jun 14, 2023
@josedonizetti josedonizetti modified the milestones: v0.16.0, v0.17.0 Jun 21, 2023
@josedonizetti josedonizetti changed the title grpc server to list events GRPC v1 API Jul 23, 2023
@josedonizetti josedonizetti mentioned this issue Jul 23, 2023
4 tasks
@josedonizetti josedonizetti modified the milestones: v0.17.0, v0.18.0 Jul 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants