Safeguard
Security Guides•

Build-time, deploy-time and run-time controls: what is the difference?

Build-time controls inspect what you make, deploy-time controls decide what may start, run-time controls watch what is live. Definitions and a comparison.

Safeguard Security Team
4 min read

Build-time controls inspect what you are making, such as dependency scans and signing. Deploy-time controls decide whether an artifact may start, such as admission policies and approvals. Run-time controls observe and limit what is already running. Each catches different mistakes, and none replaces the others.

Definitions

Build-time means checks in the editor, pull request and pipeline, before an artifact exists in its final form. Deploy-time means checks at the moment of release or admission, when the artifact is about to start. Run-time means controls and monitoring while the software is live.

Kubernetes makes the middle layer concrete. Its documentation describes admission as a step that applies to requests that create, delete or modify objects, with validating and mutating controllers. That is deploy-time: a decision on a change request, not on a running process.

A comparison

QuestionBuild-timeDeploy-timeRun-time
What does it see?Source, dependencies, build outputThe manifest, the image reference, signatures, approvalsLive behavior, traffic, configuration over time
Typical examplesDependency scan, SBOM, static analysis, signingAdmission policy, deploy approval, provenance checkNetwork policy, resource limits, audit logs, monitoring
Strongest at catchingKnown vulnerable components, unsafe codeUnapproved sources, unsigned artifacts, risky settingsDrift, misuse, new advisories on old releases
Weak spotCannot see how it will be configuredCannot see what happens after startLate, so mistakes have already shipped
Feedback speedFast, in the developer workflowFast at release, slower to trace backDepends on how alerts are routed

Why you need more than one

A clean build scan says nothing about a manifest that runs a container as privileged. An admission policy says nothing about a library disclosed as vulnerable next month. A monitor tells you after the fact. The sensible approach is to put each check where its information is clearest and its cost of failure is lowest.

An example walk through

Take a new service.

  1. Build: dependency and SBOM scanning flag a vulnerable library, and the pull request is held until it is upgraded.
  2. Deploy: an admission policy checks that the image comes from an approved registry and that the pod does not request extra privileges.
  3. Run: network policy limits connections, audit logs record changes, and monitoring tells you when a new advisory affects the deployed version.

Remove any step and a specific mistake gets through.

How to decide where a new rule belongs

  • If the data is in the code or dependency list, check at build time.
  • If the data is in the deployment request, check at deploy time.
  • If the data only exists once it is live, monitor at run time.
  • If a mistake is hard to reverse, check earlier and make the check blocking.

What this post does not claim

Run-time controls here means things like network policy, limits and logging in your own platform. It does not mean any particular product category. Choose tools by the specific question you need answered.

Where Safeguard fits

Safeguard works mostly on the build and release side: SBOM and dependency scanning, reachability analysis, and policies, gates and guardrails, plus continuous monitoring of findings after release. Your platform's admission and network controls cover the rest.

Try it yourself

Click through it at your own pace, or open it full screen. See what a gate checks before a change moves to the next stage.

Quick check

Is deploy-time the same as runtime?

No. Deploy-time decides whether something may start. Run-time watches and limits it once it is live.

If I scan at build time, do I still need admission policy?

Yes. A scan does not see manifest settings or where an image is pulled from.

Why monitor after release?

New advisories are published about software you already shipped, and only monitoring tells you.

Sources

Last reviewed: 19 October 2026.

Never miss an update

Weekly insights on software supply chain security, delivered to your inbox.

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.