The Simplest Way to Make Cohesity and JetBrains Space Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

You link cohesity and jetbrains space to trigger data backups during code builds. This setup lets your team restore test data and protect source code repos. Cohesity manages backups, snapshots, and data recovery across your servers and cloud storage. JetBrains Space handles git repos, code reviews, team chats, and build jobs. When you pair them, your build jobs can request fresh data clones. Your team can also back up build artifacts before a big release. How cohesity and jetbrains space shar

Your coding agents run with your access.

Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.

You link cohesity and jetbrains space to trigger data backups during code builds. This setup lets your team restore test data and protect source code repos.

Cohesity manages backups, snapshots, and data recovery across your servers and cloud storage. JetBrains Space handles git repos, code reviews, team chats, and build jobs. When you pair them, your build jobs can request fresh data clones. Your team can also back up build artifacts before a big release.

How cohesity and jetbrains space share roles and data

Data moves between the two tools through web APIs and webhook events. A build job in JetBrains Space starts by reading a project secret key. The job uses this key to log in to the Cohesity cluster API. Once logged in, the job sends a request to create a data snapshot.

Cohesity checks the role tied to that key before it runs any task. If the role allows snapshot creation, Cohesity takes the backup and replies. It sends a status update back to the JetBrains Space build log. You can also send Cohesity alerts into a JetBrains Space team channel. This helps developers see right away if a backup or restore task fails.

Common failure modes and how to scope roles

Many teams make the mistake of using one shared admin account for scripts. If a build script leaks that wide key, all backup data is at risk. Broad tokens let any build job delete snapshots or read private volumes. Unlogged API calls also make it hard to see who ran a restore.

You can fix this by giving each project its own scoped service role. In Cohesity, create a custom role that only touches one specific data view. Do not give build jobs permission to change cluster rules or delete backups. In JetBrains Space, store the API key inside a locked project secret store. Limit which branch builds can read and use that secret key during runs.

End-to-End Encryption: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Network paths between your build workers and your backup cluster also need care. Do not expose the backup cluster management port to the public internet. Run your JetBrains Space worker nodes inside a private network segment instead. Set firewall rules so workers only reach the backup API over HTTPS. Rotate the API keys on a regular schedule to keep access clean.

Keeping test data safe during restores

Developers often use Cohesity to clone production databases for testing in JetBrains Space. Production data often holds real emails, phone numbers, card numbers, or national IDs. Restoring raw production snapshots into a test build puts sensitive user records at risk. You should scrub or mask those sensitive fields before the test job starts.

Data masking rewrites matched fields in results so test jobs use safe values. You should also log every API call that asks for a data clone. Good logs show which build job asked for data and when it ran. This audit trail helps security teams check data use across every project.

Check database and API queries on the wire

Identity tools, roles, and network rules decide who opens a session. Setup alone cannot check what each query does or mask sensitive values in a response once a session starts. When workflows touch Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, or internal HTTP APIs, hoop.dev runs beside those services as an open-source proxy, a sidecar for your Postgres or API. It inspects requests coming in and results going back on the wire.

Your login details and client tools stay as they are while hoop.dev guardrails refuse bad deletes or drops before they run. On responses, hoop.dev data masking rewrites matched sensitive values in memory. Furthermore, hoop.dev holds SOC 2 Type II, is MIT licensed, and writes every query and decision to an audit trail that generates evidence for HIPAA, GDPR, and PCI DSS. See the source on GitHub.

Frequently asked questions

How does JetBrains Space trigger a Cohesity backup job?

A JetBrains Space automation job runs a script that calls the Cohesity REST API. The script sends a scoped token and starts the protection group run.

How can we limit what a build job does in Cohesity?

Create a role in Cohesity with rights to only the needed backup objects. Bind that role to a dedicated service user for that single project.

Can Cohesity send backup alerts to JetBrains Space chats?

Yes, you can set up an incoming webhook inside a JetBrains Space channel. Configure Cohesity alert rules to post status updates to that webhook URL.

The query runs. The emails stay hidden.