Overview
Beacon CI telemetry is written as normalized JSONL for a single ephemeral CI job. The completedruntime.jsonl file is the durable handoff artifact: upload it as a workflow artifact, copy it to object storage, or route it into the same SIEM and log pipelines that consume Beacon endpoint JSONL.
This page covers export workflows for
beacon ci. For persistent laptop or workstation forwarding, use Log Forwarding.Export Contract
By default,beacon ci exec writes the CI runtime log to $RUNNER_TEMP/beacon/runtime.jsonl when RUNNER_TEMP is set. Otherwise it uses the system temp directory. Use --log-path when your workflow needs a stable artifact path.
Each line in
runtime.jsonl is one complete Beacon event using the Endpoint Event Schema. Beacon applies redaction, sanitization, truncation, and event-size limits before events are written, so downstream artifacts receive the same normalized JSONL contract as local endpoint logs.
Export Paths
Workflow Artifact
The Agent Beacon CI Telemetry GitHub Action uploads the CI runtime log as a workflow artifact by default:Object Storage Upload
For CI runners that should hand off telemetry through object storage,beacon ci exec can upload the completed runtime.jsonl after telemetry validation.
Upload to Amazon S3:
--upload is repeatable, so a job can upload to both destinations when required:
--upload requires Beacon v0.0.44 or newer.
S3 upload uses aws s3 cp and the standard AWS credential provider chain. GCS upload uses gcloud storage cp when available, falling back to gsutil cp.
GitHub Actions Object Storage
Configure cloud credentials at the job level, then pass the upload destination to the Agent Beacon action:BEACON_CI_GCS_BUCKET plus optional BEACON_CI_GCS_PREFIX:
Object Layout
In GitHub Actions, object keys use this shape:Destination Mapping
The JSONL artifact is the universal CI export contract. Existing destination packs and forwarding patterns can consume the same file after it is downloaded, copied, or routed into the customer-managed handoff path.Security Notes
Keep cloud credentials in CI secret stores, OIDC roles, workload identity, or job-level credential actions. Do not pass cloud credentials through prompt text, action inputs, or committed workflow files. When object storage upload is configured, Beacon strips common AWS and Google credential environment variables from the child agent process while keeping them available to the post-run uploader. This reduces credential exposure to the command being observed. Review artifact access before rollout. CI runtime JSONL can contain prompt, tool, file, command, and run context where supported runtimes emit it. Beacon applies redaction, sanitization, truncation, and event-size limits before writing the artifact, but artifact retention, access, and downstream routing remain controlled by GitHub Actions, object storage, and your customer-managed pipeline.Failure Behavior
By default,beacon ci exec fails the step when telemetry validation fails. Set --require-telemetry=false or the action input require-telemetry: "false" when telemetry health should warn but not gate the build.
Object storage upload runs after telemetry validation. Upload failures fail the CI step so broken export paths are visible. If the child command exits non-zero, that child exit code still takes precedence.
Related
beacon ci
Run and validate ephemeral Beacon telemetry collection in CI.
Log Forwarding
Compare endpoint SIEM, log aggregation, object storage, and local forwarding paths.
Retention and Redaction
Choose how much content Beacon writes before export.
Endpoint Event Schema
Review normalized JSONL event fields.

