Safeguard
Topic

Developer Tools

In-depth guides and analysis on developer tools from the Safeguard engineering team.

2959 articles

Developer Tools

How long does Bitbucket Pipelines keep artifacts, and what is scoped?

Artifacts last up to 14 days and 1 GB each. Shared artifacts pass between steps, scoped ones do not. How to limit what lands in them and move records out.

Oct 18, 20264 min read
Developer Tools

Can Bitbucket block a merge when the Pipelines build fails?

Yes, with a merge check on successful builds, but blocking is a Premium feature. Without it you only get a warning. Setup steps, fork behavior and gaps.

Oct 18, 20263 min read
Developer Tools

How do Bitbucket deployment environments control who ships to production?

Bitbucket deployments add environment variables, manual promotion and, on Premium, branch restrictions and permissions. What each controls and the gaps.

Oct 18, 20264 min read
Developer Tools

How do you scan dependencies in a Bazel repository?

Bazel records module resolution in MODULE.bazel.lock, but that file is not a package list. See what it holds and how to build an inventory you can scan.

Oct 18, 20263 min read
Developer Tools

Baseline a new scanner without drowning developers in findings

How to roll out a new dependency scanner so day one is calm: baseline old findings, gate only new ones, and schedule the rest as a time-boxed backlog.

Oct 18, 20263 min read
Developer Tools

How do you back up a Git repository with a mirror clone?

A mirror clone copies every ref, not just branches. How to take one, keep it current, test the restore, and what it does not include, such as issues.

Oct 18, 20263 min read
Developer Tools

Avoiding lock-in: export formats to demand from a security scanner

Ask any scanner for SBOMs in CycloneDX or SPDX, results in SARIF, and VEX statements. Test an export during the pilot so leaving later is not a crisis.

Oct 18, 20263 min read
Developer Tools

Are JupyterLab extensions safe to install on a shared server?

JupyterLab docs say an extension can run code on the server, kernel and browser. Who should install them, and how to lock down a shared server.

Oct 18, 20263 min read
Developer Tools

Do devDependencies end up in your production JavaScript bundle?

The dependencies or devDependencies label does not decide what a bundler ships. Imports do. Learn how tree shaking works, where it stops, and how to check.

Oct 18, 20263 min read
Developer Tools

What is the difference between apt upgrade and apt full-upgrade?

apt upgrade never removes packages and skips upgrades that would need removal. full-upgrade may remove them. Know which to run and what gets skipped.

Oct 18, 20264 min read
Developer Tools

Should you run apt upgrade inside a running container or rebuild?

Rebuild the image. Patching a running container is lost on restart and leaves no record. Use the pull flag to get a fresh base and redeploy the new image.

Oct 18, 20264 min read
Developer Tools

Should scripts and CI use apt or apt-get?

Use apt-get and apt-cache in scripts and CI. The apt manual says apt may change behaviour between versions, so apt suits terminals, not pipelines.

Oct 18, 20264 min read

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.