Safeguard
Topic

Developer Tools

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

2959 articles

Developer Tools

Does go mod vendor let you build when the proxy is down?

Vendoring copies dependencies into your repo so Go builds do not touch the network. How it works, when Go uses it automatically, and the upkeep it adds.

Oct 18, 20263 min read
Developer Tools

go.mod go line vs toolchain line: what does GOTOOLCHAIN do?

The go line sets a module's minimum Go version. The toolchain line suggests a toolchain, and GOTOOLCHAIN decides whether Go may download one.

Oct 18, 20263 min read
Developer Tools

What is the difference between the go line and toolchain line in go.mod?

The go line sets the minimum Go version a module needs. The toolchain line only suggests which toolchain to run. How both behave since Go 1.21.

Oct 18, 20263 min read
Developer Tools

Exclude, replace or upgrade: how to fix a vulnerable Go transitive module

To fix a vulnerable transitive Go module, require the fixed version directly. exclude only blocks a version, and replace skips authentication.

Oct 18, 20263 min read
Developer Tools

How do you know if a Go module is deprecated before you use it?

Go modules mark themselves deprecated with a comment in go.mod. Check with go list -m -u and read the message before adding or keeping a dependency.

Oct 18, 20263 min read
Developer Tools

How do you give developers self-service security scans?

Self service scanning means developers can run the same checks as the pipeline locally and in the IDE. Options, trade offs and a rollout plan.

Oct 18, 20263 min read
Developer Tools

Why does GitLab run two pipelines, or none, on a merge request?

Branch and merge request pipelines can both start, or neither. Use workflow rules and CI_OPEN_MERGE_REQUESTS so security jobs run once and never skip.

Oct 18, 20263 min read
Developer Tools

How do GitLab scheduled pipelines work for recurring security scans?

GitLab pipeline schedules run with their owner's permissions and can go inactive. What to set up for recurring scans, and why to stagger the cron times.

Oct 18, 20263 min read
Developer Tools

Which GitLab Runner executor isolates jobs: shell, Docker or Kubernetes?

The shell executor gives no clean build and no protected file system. Docker and Kubernetes isolate better. A plain comparison for choosing a runner.

Oct 18, 20263 min read
Developer Tools

How do protected runners keep GitLab deploy secrets safe?

A protected runner accepts jobs from protected branches and tags solely. How to set one up, how tags route jobs, and what to check on instance runners.

Oct 18, 20264 min read
Developer Tools

When can a GitLab merge request pipeline use protected variables?

A merge request pipeline gets protected variables and runners only when three conditions hold. Here they are, why forks never qualify, and how to check.

Oct 18, 20263 min read
Developer Tools

How long do GitLab job artifacts last, and who can download them?

Artifacts expire by expire_in or the instance default, but the latest are kept. Covers artifacts:access, dependencies, and why not to use them as releases.

Oct 18, 20263 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.