-
Notifications
You must be signed in to change notification settings - Fork 432
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 New CLI: traceectl
#4419
Comments
Hey @ShohamBit , is this issue still active? If yes I would like to work on this! |
hi @hanshal101 yes this is still active. @ShohamBit perhaps it's best to work in increments: build the basic mechanisms and implement the basic functionality, and then the community can help implement additional areas in parrallel wdyt? |
Yup, this sounds good. I had one doubt since Shobham had already created a |
I think its a good idea. I already build the fundamentals if traceectl and ther is an open pr about it, waitng for review. I think that is a greatr idea that the community could help, but first marge the traceectl pr After that i would make checks on how easy is it to add new features and then i think it will be greate to open for community support |
Traceectl repo was the first veraion of traceectl, the thought process was to add traceectl as a submodule but then it vhabed to a new thing inside cmd. It is still a stand alone project but now under tracee/cmd Traceectl went on cupple of veraion before it reached the current state, you can review it's pr |
sure, thanks! |
Add New CLI:
traceectl
Description
Introduce a new client called
traceectl
for managing Tracee's policies, events, streams, plugins, and diagnostics. This CLI tool will provide structured and user-friendly commands for Tracee users to interact with its various components efficiently.Design Overview
traceectl
will be organized into several management categories: Policy Management, Event Management, Stream Management, Plugin Management, and Additional Commands. Each category will have well-defined subcommands to perform specific actions. The CLI will follow a consistent command structure for ease of use.Event Management
traceectl event list
: List all available event definitions.traceectl event describe <event_name>
: Get detailed information about a specific event.traceectl event enable <event_name>
: Enable capturing of a specific event.traceectl event disable <event_name>
: Disable capturing of a specific event.Stream Management
Additional Commands
traceectl metrics [--output <format>]
: Retrieve Tracee's performance metrics.traceectl version
: Display the version oftraceectl
.Usage
traceectl [flags] [options]
Use
traceectl <command> --help
for more details about a specific command.Use
traceectl options
to view global command-line options.Global Flags
-h, --help
: Help fortraceectl
.-s, --server='':
Address and port of the Tracee server.Implementation Plan
traceectl
CLI framework using Cobra.--help
output for all commands.Tasks
General
traceectl
repository.Event Management
event list
command.event describe
command.event enable
command.event disable
command.Stream Management
stream
command.Additional Commands
metrics
command.version
command.Additional Notes
This issue tracks the development of
traceectl
as a central client for interacting with Tracee.The text was updated successfully, but these errors were encountered: