apple / apple/foundationdb

Logging trace events for CLI commands

Open
#3,333 0 comments 0 reactions 0 assignees View on GitHub
operations
Dominant language
C++
Stars
16.7k
Forks
1.6k
Avg merge
1d 20h
Merged PRs (30d)
126

Description

When someone is using the CLI to make changes to the database, the team operating the cluster may want centralized logging on this. This may be necessary for compliance with security requirements, or it may just be desirable as a check for unauthorized access to the cluster. Can we add some kind of centralized logging for these kind of commands?

Ideally, I think we would want to log the command, the IP it came from, and a summary of the certificate that was used to access the cluster.

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or specific entry points. Start by locating the CLI command handling and existing cluster logging or certificate-authentication paths, then define the audit event contents and centralized logging destination before implementing and testing the feature.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, databases, distributed-systems, observability, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.