Works with SpockOps

Amazon S3 and SpockOps

Keep every deployment decision, policy change and signed checkpoint in your own Amazon S3 bucket, under your retention, and verify it whenever you need to.

Talk to us about audit streaming
The SpockOps mark beside the words Amazon S3

Regulated firms keep evidence where they control it. SpockOps writes the governance chain, its record of every deployment decision, review, outcome, policy change and signed checkpoint, to an Amazon S3 bucket in the firm's own AWS account. Retention, encryption and access stay with the firm, and any tool that reads S3 can pick the chain up from there.

Why keep the chain in your own bucket? #

Because evidence is stronger when it does not depend on the vendor that produced it. With a copy in the firm's own account, under its own retention, the chain survives any change of vendor, and any rewrite of history inside SpockOps would no longer match it. The bucket is also the one destination every SIEM can read.

GitHub takes the same view of its own audit log. GitHub Enterprise Cloud can stream its audit log to Amazon S3, and many firms already keep that stream in a bucket of their own. SpockOps writes in a folder layout modelled on GitHub's, so the two records can sit side by side, under the same policies, read by the same tools.

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 the governance chain. Each record carries the hash of the one before it, and each day SpockOps signs the latest point in the chain. A copy in the firm's bucket is what turns those properties into proof: the firm holds the record, and the firm can check it.

What lands in the bucket? #

One compressed file a minute while there is something to send, in a folder named for the minute it covers. Each file holds newline-delimited JSON, one line per record, in GitHub's audit log format, with everything SpockOps adds in a spockops object. Nothing else is written, apart from a small file used to check the connection.

A file's path reads like this:

spockops/2026/11/16/09/31/21303b0e-73d6-5446-b1f4-627360e7912f.json.log.gz

The first part is the folder you choose; then the year, month, day, hour and minute in UTC; then a name derived from the batch of records the file holds.

A file holds up to 5,000 records or 10 MB, whichever comes first. Every kind of record in the chain arrives, in order:

Record action
Deployment decision, with each policy and rule checked spockops_deployment.decision
Review spockops_deployment.review
Outcome spockops_deployment.status
Policy created, changed or deleted, for workflow, agentic and deployment policies spockops_policy.create, .update, .destroy
Policies in force when recording began spockops_policy.baseline
A destination created, changed, paused, resumed or removed spockops_stream.create, .update, .pause, .resume, .destroy
Daily signed checkpoint spockops_chain.checkpoint

The audit streaming overview shows a decision and a policy change in full.

How is it set up? #

With an IAM user that may write to one folder of one bucket and do nothing else. A cloud administrator creates the user and its access key; a SpockOps administrator enters the bucket and the key, confirms the connection, and chooses how much history to send. No workflow or repository changes.

In AWS:

  1. Choose a bucket and a folder. A firm that already streams GitHub's audit log to S3 can use the same bucket with a folder of its own. SpockOps uses spockops unless told otherwise.
  2. Create an IAM user for SpockOps with this policy, and an access key for it. The delete permission only lets SpockOps tidy up its connection check, and can be left out:
{
  "Version": "2012-10-17",
  "Statement": [{
    "Effect": "Allow",
    "Action": ["s3:PutObject", "s3:DeleteObject"],
    "Resource": "arn:aws:s3:::YOUR-BUCKET/spockops/*"
  }]
}
  1. If the bucket encrypts with a KMS key by default, allow the same user kms:GenerateDataKey on that key. SpockOps sets no encryption of its own, so the bucket's default encryption applies to every file.

In SpockOps:

  1. Open the Audit streaming page under Settings. Under "Your own pipeline or storage", choose Amazon S3, or choose the security tool that will read the bucket and its S3 route.
  2. Enter the bucket, its region and the folder, then the access key ID and secret. The key is stored as a secret and never written to the chain.
  3. Confirm the connection. SpockOps writes a small file named .spockops-connection-test to the folder and removes it if it is allowed to. No records are sent. Tools reading the bucket should be pointed at files ending in .json.log.gz, which keeps this file out of them.
  4. Choose how much history to send: from now on, the whole chain, or everything from a chosen date. For an evidence store, send the whole chain.

If AWS ever refuses the key, for example because it was rotated or its policy changed, the stream pauses and the SpockOps workspace's administrators are emailed. Once the access is fixed, an administrator resumes the stream, and it picks up from where it stopped. The stream's creation, and any later change to it, is itself written to the chain.

How should the bucket be configured to hold evidence? #

As a firm would configure any store of audit evidence: private, encrypted, versioned, and kept for as long as its obligations require. None of this is specific to SpockOps, and a bucket already holding GitHub's audit log is probably configured this way. The settings below are the ones an auditor is likely to ask about.

Setting Recommendation Why it matters
Block Public Access On, which is the default for new buckets The chain names repositories, people and policies
Default encryption SSE-S3, or SSE-KMS where the firm wants control of the key SpockOps writes with whatever the bucket sets; with KMS, grant the SpockOps user kms:GenerateDataKey
Versioning On Every version of every file is kept, so nothing written can be silently replaced
Object Lock Not yet. A bucket with a default retention period requires a checksum on every upload, which SpockOps does not send yet Versioning, above, already keeps every version of every file; Object Lock support is planned
Lifecycle rules Keep recent files in S3 Standard, then move them to an archive class, then expire them Matches retention to the obligation rather than keeping everything forever
Access to read Separate read-only roles for each tool and for auditors SpockOps can write but not read; readers can read but not write
Access logging CloudTrail data events or S3 server access logs on the bucket Records who read the evidence and when

Retention is where a regulation meets the bucket. PCI DSS, for example, asks for twelve months of audit history with the most recent three immediately available. A lifecycle rule that keeps three months in S3 Standard, archives the rest and expires files after the retention period meets that directly. What DORA, PCI DSS and SOX ask of a software change is set out in what regulators require.

Which tools can read the bucket? #

Most security tools that run on AWS can, because the files are compressed JSON lines in a layout they already read for GitHub. One bucket can serve several readers at once, each through its own read-only access, and a firm that changes SIEM later keeps its history: the new tool reads the same bucket.

Tool How it reads the bucket
Splunk The Splunk Add-on for AWS, with an SQS-based S3 input
Datadog The Datadog Forwarder, triggered by each new file
Elastic Security Elastic Agent's AWS S3 input, with SQS notifications or polling
Panther An S3 log source
Google SecOps An Amazon S3 (v2) feed
Sumo Logic An Amazon S3 source on a hosted collector
Cribl Stream Its Amazon S3 source or collector
Amazon Athena Queries the files in place, with no SIEM at all

Whichever tool reads the bucket, point it at files ending in .json.log.gz under the chosen folder. The Splunk and Datadog pages cover their setup and first searches.

How is the copy in the bucket verified? #

With SpockOps' verifier, spockops-verify, run by anyone the firm hands it to, including its auditor. It checks that every record's hash is correct, that each record links to the one before it with no gaps, and that every daily checkpoint carries a valid signature from SpockOps' published keys. It answers plainly: everything holds, or here is what does not.

The verifier comes in two forms, a Python script and a Bash script, both downloaded from the Audit streaming page in SpockOps. Neither needs a connection to SpockOps to run. The checks rest on standard SHA-256 hashes and Ed25519 signatures, so a team can also write its own in any language. To check a period, gather its files, put the records in order by their sequence number and verify the result. File names are not in sequence order, and two files can share a minute's folder, so the records are ordered by spockops.seq rather than by path:

aws s3 sync s3://YOUR-BUCKET/spockops/2026/11/ ./chain/ --exclude "*" --include "*.json.log.gz"
find chain -name '*.json.log.gz' -exec gzip -dc {} + | jq -c -s 'sort_by(.spockops.seq)[]' > 2026-11.jsonl
curl -sO https://spockops.com/.well-known/rbom-keys.json
python3 spockops_verify.py 2026-11.jsonl --keys rbom-keys.json

A period that starts part-way through the chain verifies on its own: its first record is anchored to the one before it.

The verifier exits with 0 when everything holds and 1 when anything does not, so it can run on a schedule and alert on failure. With --json it prints a report suitable for an evidence file. The ledger and the receipt explains why an auditor values the chain, and automating DevOps audits how it supports testing every change rather than a sample.

What should an AWS team know before relying on it? #

Four points are worth settling at the start. SpockOps authenticates with an access key today; encryption follows the bucket's default; every kind of record arrives; and the chain covers what SpockOps governs. Each affects how the bucket and its access are set up.

  • An access key, for now. SpockOps signs in to AWS as the IAM user created for it, limited to one folder. Rotating that key on the firm's usual schedule is straightforward: create a new key, enter it in SpockOps, then delete the old one. Support for a cross-account IAM role is planned.
  • Encryption follows the bucket. SpockOps does not choose a KMS key per stream. Whatever default encryption the bucket sets applies to every file.
  • The whole chain arrives. Policy changes, stream changes and checkpoints come with the deployment records. They are few in number, and they keep the 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

What access does SpockOps need to the bucket?

An IAM user allowed s3:PutObject on one folder of one bucket, plus s3:DeleteObject if SpockOps should remove its connection-check file. It cannot read or list the bucket.

What format are the files in?

Gzipped newline-delimited JSON in GitHub's audit log format, one record per line, at paths of the form folder/YYYY/MM/DD/HH/MM/name.json.log.gz, a layout modelled on GitHub's own stream.

Can SpockOps write to a bucket encrypted with KMS?

Yes. SpockOps uses the bucket's default encryption. With SSE-KMS, grant the SpockOps IAM user kms:GenerateDataKey on the key.

Can the same bucket hold GitHub's audit log stream?

Yes. Give SpockOps its own folder. The two records then sit side by side under the same policies and can be read by the same tools.

Which security tools can read the bucket?

Splunk, Datadog, Elastic Security, Panther, Google SecOps, Sumo Logic and Cribl Stream, among others, and Amazon Athena can query the files in place.

How do we prove the files are complete and unaltered?

Run SpockOps' verifier on them. It checks every hash, every link between records and every daily signed checkpoint against SpockOps' published keys, offline.

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.