Uh oh!
There was an error while loading. Please reload this page.
chore(devel): enable CLI telemetry in the traced sandbox kit - #3382
chore(devel): enable CLI telemetry in the traced sandbox kit#3382migmartri wants to merge 1 commit into
Conversation
AI Session Checks — 🟡 60% · ✅ 0 failing
|
| Status | Attribution | File | Lines |
|---|---|---|---|
| modified | ai | devel/sandbox-kit/spec.yaml | +1 / -1 |
Policies (4)
| Status | Policy | Material | Messages |
|---|---|---|---|
| ✅ Passed | ai-config-ai-agents-allowed | ai-coding-session-6a4633 | - |
| ✅ Passed | ai-config-no-dangerous-commands | ai-coding-session-6a4633 | - |
| ✅ Passed | ai-config-no-secrets | ai-coding-session-6a4633 | - |
| ✅ Passed | ai-config-mcp-servers-allowed | ai-coding-session-6a4633 | - |
Security Checks — ⚠️ 1 failing
✅ iac-scan
| Status | Policy | Messages |
|---|---|---|
| ✅ Passed | iac-misconfiguration | - |
PR info
| Status | Policy | Messages |
|---|---|---|
| ✅ Passed | pr-description-required | - |
pr-user-story-linked | PR/MR #3382 does not reference a user story or issue in title, description, or branch 'chore(devel): enable CLI telemetry in the traced sandbox kit'. Expected patterns: ["(?i)[A-Z]+-[0-9]+", "#[0-9]+", "(?i)[A-Z]{2", "}-[0-9]+", "(?i)gh-[0-9]+", "(?i)\[[A-Z]+-[0-9]+\]"] |
⏭️ 2 scans not applied
| Scan | Reason |
|---|---|
vulnerability-scan | no manifest/lockfile changed |
github-actions-scan | no workflow files changed |
Powered by Chainloop and Chainloop Trace
Drop DO_NOT_TRACK=1 from the sandbox kit environment and allow egress to crb.chainloop.dev, the endpoint the CLI reports usage telemetry to, so sessions run through the kit are counted like any other CLI usage. Assisted-by: Claude Code Signed-off-by: Miguel Martinez Trivino <miguel@chainloop.dev> Chainloop-Trace-Sessions: 6a463356-6105-4697-a537-fd08c713afa2 Signed-off-by: Miguel Martinez Trivino <miguel@chainloop.dev>
2644f50 to
f80771bCompare
The traced-Claude sandbox kit (
devel/sandbox-kit) setDO_NOT_TRACK=1and did not allow egress to the telemetry endpoint, so CLI usage from sessions run inside the sandbox was never reported.This removes the
DO_NOT_TRACKenvironment variable from the kit and addscrb.chainloop.dev:443to the kit's network allow rules, so those sessions report usage like any other CLI invocation. The host is deliberately kept out ofNO_PROXY, since telemetry is plain HTTPS and does not need the proxy bypass that the gRPC endpoints require.AI disclosure: this change was produced with the assistance of Claude Code.