Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(security): surface command_execution audit logs above SDK warning ceiling (#65288)

Felipe Rosa de Almeida816c65a07cd2
diff --git a/posthog/settings/logs.py b/posthog/settings/logs.py
index d3f81c56ce8f..2040f66bd184 100644
--- a/posthog/settings/logs.py
+++ b/posthog/settings/logs.py
@@ -65,7 +65,6 @@ structlog.configure(
cache_logger_on_first_use=True,
)
-
# Configure all logs to be handled by structlog `ProcessorFormatter` and
# rendered either as pretty colored console lines or as single JSON lines.
LOGGING = {
@@ -115,6 +114,7 @@ LOGGING = {
"posthog.tasks.hypercache_verification": {"level": "INFO", "handlers": ["console"], "propagate": False},
"posthog.storage.hypercache_verifier": {"level": "INFO", "handlers": ["console"], "propagate": False},
"posthog.auth.mfa": {"level": "INFO", "handlers": ["console"], "propagate": False},
+ "posthog.security.command_exec_audit": {"level": "INFO", "handlers": ["console"], "propagate": False},
"posthog.temporal.data_imports.pipelines.pipeline_v3.load": {
"level": "DEBUG",
"handlers": ["console"],