Works with SpockOps

Cribl Stream and SpockOps

Route every deployment decision, policy change and signed checkpoint through Cribl Stream, from your own bucket to every tool that needs it, with the record kept whole.

Talk to us about audit streaming
The SpockOps mark beside the words Cribl Stream

Many firms send every log through Cribl Stream before it reaches a SIEM, a data lake or an archive. SpockOps adds the record of how change was governed: each deployment decision with the rules behind it, each review and outcome, and every change to the policies themselves. Cribl reads it from the firm's own bucket and routes it wherever the firm's other security data goes.

What does SpockOps add to the pipeline? #

It adds judgment to the record of configuration. GitHub's audit log can show that a deployment reached production and that a reviewer approved it. SpockOps adds which policies and rules it was checked against, which failed, whether a person, a bot or an AI agent asked for it, and whether those rules had been loosened beforehand.

SpockOps is a GitHub App that checks workflows, AI agents and deployments against a team's policies, either watching, in Evaluate, or enforcing, in Block. Everything it decides, and every change to the policies it decides by, is written in order to a tamper-evident record called the governance chain: deployment decisions, reviews, outcomes, policy changes with their reasons, changes to where the chain is sent, and daily signed checkpoints. Each event is in GitHub's audit log format, with SpockOps' own fields in one spockops object. The audit streaming overview describes the chain in full.

Why route it through Cribl? #

For the reasons a firm routes anything through Cribl: one place to decide where data goes. The chain can reach several tools at once, follow the firm's existing routing and naming conventions, and move to a new SIEM without SpockOps being reconfigured. A Cribl team can treat it like any other source.

It does differ from most sources in one respect. A firewall or application log can be sampled, trimmed or reshaped to save cost; the governance chain should not be. Its value as evidence depends on every record being present and unchanged, and the section on routing below explains how to keep it that way.

How is it set up? #

In two parts: the bucket and SpockOps' write access, then a Cribl source that reads it. Cribl reads the chain from a bucket today; a direct route into Cribl is planned. No workflow or repository changes.

The bucket. Prepare it as the Amazon S3 page describes: an IAM user for SpockOps that can write to one folder, and nothing more. Then, in SpockOps, open the Audit streaming page under Settings and, under "Your own pipeline or storage", choose Cribl Stream. Enter the bucket, its region, the folder and the key, confirm the connection and choose how much history to send.

In Cribl Stream:

  1. Add an Amazon S3 source that reads new files through an SQS queue notified by the bucket, limited to SpockOps' folder and to files ending in .json.log.gz. The suffix keeps SpockOps' small connection-check file out of the pipeline.
  2. Use a newline-delimited JSON event breaker, so each line becomes one event with its fields parsed.
  3. Give the source read access to the bucket through its own IAM role or key. SpockOps' key can write but cannot read.
  4. Optionally, add an S3 collector on the same folder. It lets Cribl replay any period of the chain on demand, for example to fill a newly added SIEM with a full year of history.

How should the chain be routed? #

Whole, and to as many places as the firm needs. Give SpockOps' events a route of their own, send them on without sampling, dropping or rewriting them, and leave the files in the bucket as the original. Enrichment is fine on a copy bound for a dashboard; the copy meant as evidence should match what SpockOps wrote.

A route of its own. Every SpockOps event has an action beginning spockops_, so a route can select them with a filter such as:

action && action.startsWith('spockops_')

Place it above any route that samples, aggregates or drops by default, and give it a pass-through pipeline.

Three rules keep the record intact:

  • Do not sample or drop. Every record carries a sequence number and the hash of the one before it. A record missing downstream shows up as a gap, which an auditor will ask about.
  • Do not rewrite the record. Adding fields for a dashboard is harmless; changing or removing SpockOps' fields breaks the check that each field matches the record it came from.
  • Keep the bucket as the original. Whatever Cribl sends on, the files SpockOps wrote stay in the bucket, and those are what SpockOps' verifier checks.

Fan-out. One route can feed several destinations at once, such as a SIEM for detection, a data lake for analysis and a long-term archive. The Splunk, Datadog, Elastic Security and Microsoft Sentinel pages describe the searches each tool can run once the events arrive.

How is the copy verified? #

Against the files in the bucket, not the pipeline's output. The verifier confirms that every record is present and in order, that none was altered, and that every daily checkpoint carries a valid signature from SpockOps' published keys.

SpockOps' verifier, spockops-verify, is a single script, in Python or in Bash, downloaded from the Audit streaming page in SpockOps, and it needs no connection to SpockOps to run. It exits with 0 when everything holds and 1 when anything does not, naming each failure. The checks rest on standard SHA-256 hashes and Ed25519 signatures, so a team can also write its own in any language. The Amazon S3 page shows the commands, and the ledger and the receipt explains why an auditor values the chain.

What should a Cribl team know before relying on it? #

  • A bucket, for now. Cribl reads the chain from S3 as quickly as the source picks up new files. A direct route into Cribl is planned.
  • The whole chain arrives. Policy changes, stream changes and checkpoints come with the deployment records. Route them all; they are few in number and keep every copy complete enough to verify.
  • The chain covers what SpockOps governs. A deployment to an environment that does not use SpockOps' protection rule produces no decision. SpockOps shows which environments and workflows its policies cover, so gaps are visible rather than assumed.

Questions

How does SpockOps data reach Cribl Stream?

SpockOps writes a compressed file a minute to an Amazon S3 bucket in your account, and a Cribl Amazon S3 source reads each new file. A direct route into Cribl is planned.

Can we sample or trim SpockOps events in Cribl?

It is best not to. Every record links to the one before it, so a dropped or altered record shows up as a gap or a mismatch. Route the events whole and keep the bucket as the original.

Can Cribl replay history into a new SIEM?

Yes. An S3 collector on SpockOps' folder can replay any period of the chain on demand.

How do we prove the record is complete?

Run SpockOps' verifier, spockops-verify, on the files in the bucket. It checks every record, link and daily signed checkpoint against SpockOps' published keys, without connecting to SpockOps.

Talk to us about audit streaming

Every run checked.
Every deployment decided.
Every decision signed.

One rulebook for people, bots and agents across your GitHub Actions estate. SpockOps checks every run as it starts, decides each deployment by who asked, what ran it and where it came from, and signs every decision into a record your auditors can re-run. Engineers see each verdict as a check beside their tests, and nothing in their workflows changes.

No changes to any workflow or repository: nothing runs inside your pipelines.