Cloudflare R2, Backblaze B2 and Wasabi with SpockOps
Archive every deployment decision, policy change and signed checkpoint in Cloudflare R2, Backblaze B2 or Wasabi, as a durable copy of the record you control and can verify.
Not every firm wants its audit record in the same cloud as everything else. SpockOps can write the governance chain, its record of every deployment decision, review, outcome, policy change and signed checkpoint, to Cloudflare R2, Backblaze B2 or Wasabi. Each speaks the Amazon S3 interface, and each makes a durable archive the firm controls.
Why keep the chain in S3-compatible storage? #
For independence and for long retention. A copy with a second provider survives an outage, an account problem or a change of cloud at the first. These providers are built for storing a great deal of data for a long time, which suits an audit record that is written once, read rarely and kept for years.
Three situations call for it most often:
- A second copy outside the main cloud. A regulated firm that streams the chain to its SIEM through Amazon S3 or Azure can keep a further copy elsewhere, so that no single provider holds the only record.
- An archive without a SIEM. A smaller firm preparing for its first SOC 2 audit may not run a SIEM at all. An archive it can verify is evidence enough to answer an auditor's questions about change control.
- A firm's own pipeline or data lake already built on one of these providers.
SpockOps does not offer these providers as a route into a security tool, so it lists them under "Your own pipeline or storage" rather than beside a SIEM. The chain they hold is the same chain every other destination receives. 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; the audit streaming overview describes the chain and why it can be trusted.
What lands in the bucket? #
The same files SpockOps writes to Amazon S3: one compressed file a minute while there is something to send, in a folder layout modelled on GitHub's own audit log stream. Each file holds newline-delimited JSON, one line per record, with everything SpockOps adds in a spockops object.
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. A file holds up to 5,000 records or 10 MB. The Amazon S3 page lists every kind of record and its action.
How is each provider set up? #
In the same three steps for each: create a bucket, create a key that can write to it, and enter both in SpockOps. In SpockOps, open the Audit streaming page under Settings and, under "Your own pipeline or storage", choose the provider's tile. The key is stored as a secret and never written to the chain.
Cloudflare R2 #
- Create a bucket in the Cloudflare dashboard, and note your account ID, a 32-character value shown on the R2 overview.
- Create an R2 API token with Object Read & Write permission, limited to that bucket, and note its access key ID and secret.
- In SpockOps, choose Cloudflare R2 and enter the account ID, the bucket and the key. SpockOps writes to
https://<account ID>.r2.cloudflarestorage.com; no region is needed.
Backblaze B2 #
- Create a bucket, and note its S3 endpoint, such as
s3.us-west-004.backblazeb2.com. The part afters3.is the region, hereus-west-004. - Create an application key that can write to that bucket only, and note its key ID and application key.
- In SpockOps, choose Backblaze B2 and enter the bucket, the region and the key.
Wasabi #
- Create a bucket in the region you want, such as
eu-central-1. - Create an access key for a dedicated user whose policy allows
s3:PutObjecton that bucket's SpockOps folder, pluss3:DeleteObjectif SpockOps should remove its connection-check file. - In SpockOps, choose Wasabi and enter the bucket, the region and the key.
For all three, then:
- Confirm the connection. SpockOps writes a small file named
.spockops-connection-testto the folder and removes it if it is allowed to. No records are sent. - Choose how much history to send. For an archive, send the whole chain, so the bucket holds every record from the start.
If a provider ever refuses the key, the stream pauses and the SpockOps workspace's administrators are emailed. Once the key is fixed, an administrator resumes the stream, and it picks up from where it stopped.
How should the archive be kept and verified? #
As any store of audit evidence: private, protected from deletion for the retention period, and checked from time to time. Each provider offers object locking and lifecycle rules for this, and SpockOps' verifier confirms that the files hold every record, unaltered, with every daily checkpoint signed.
- Keep every version, and lock later. Backblaze B2 keeps every version of a file by default, and lifecycle rules set how long they are kept; SOC 2 auditors commonly look back over a twelve-month period, and PCI DSS asks for twelve months of audit history. Don't enable Object Lock or bucket locks yet: SpockOps sometimes rewrites a file it has just written, when it retries a batch, and its connection check reuses one file, and a lock refuses both. Support for locked buckets is planned.
- Keep access narrow. SpockOps' key can write but not read or list. Give readers, including an auditor, read-only keys of their own.
- Verify on a schedule. Download a period's files with any S3 tool pointed at the provider, order the records by their sequence number and run the verifier, as the Amazon S3 page shows. With the AWS command-line tool, add the provider's endpoint, for example
--endpoint-url https://<account ID>.r2.cloudflarestorage.com.
SpockOps' verifier, spockops-verify, does the checking. It 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 ledger and the receipt explains why an auditor values the chain.
What should a team know before relying on it? #
Three points are worth settling at the start. These providers hold the chain but do not analyze it; every kind of record arrives; and the chain covers what SpockOps governs.
- An archive, not a SIEM. Searches and alerts need a tool that reads the files. A firm that wants both can stream to a SIEM and to one of these providers at once.
- The whole chain arrives. Policy changes, stream changes and checkpoints come with the deployment records, which keeps the archive 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
Why use S3-compatible storage for the governance chain?
For a second copy outside the main cloud, for an archive without a SIEM, or for a pipeline already built on one of these providers. The chain is the same as at every other destination.
What access does SpockOps need?
A key that can write to one bucket: an R2 API token with Object Read & Write, a B2 application key for the bucket, or a Wasabi access key allowed s3:PutObject.
Can a SIEM read these buckets?
SpockOps offers them as archives rather than routes into a security tool. To search and alert on the chain, stream it to a SIEM as well.
How can we prove the archive is complete and unaltered?
Run SpockOps' verifier on the files. It checks every record, link and daily signed checkpoint against SpockOps' published keys, offline.
SpockOps












