Software Securityhome
Fix a findingSearch
Phase 5 of 6

Release

Ship what you built, signed and with an SBOM, with secure defaults on hardened infrastructure, in stages you can roll back.

Is what reaches production what you built, configured safely?

Security practices in this phase

  1. Artifact signing

    Sign packages and images, and verify signatures and provenance against an explicit trust policy before deploying.

    Done when: The deploy step rejects unsigned artifacts and artifacts signed by an unexpected identity.

  2. SBOM and provenance

    Generate an SBOM for what you actually ship, and provenance from the build platform, and keep both with each release.

    Done when: Every release has an SBOM and verifiable provenance that consumers can check.

  3. Secure defaults

    Turn off debug modes, verbose errors and sample content, set the security headers, and make the safe configuration the default one.

    Done when: A pre-release check of the deployed system confirms the headers, error pages and exposed paths, and a failure blocks the release.

  4. IaC and containers

    Review infrastructure changes as access changes, build minimal images that run as non-root, and enforce admission policies in the cluster.

    Done when: Policy checks run on IaC and manifests in CI, and the cluster rejects workloads that break them.

  5. Runtime secrets

    Give workloads short-lived credentials through workload identity or a secrets manager, rather than baking secrets into images or environment files.

    Done when: Each workload can read only its own secrets, and they rotate without a code change.

  6. Staged rollout

    Release to a small group first, watch health and security signals, and keep a rollback you have practiced.

    Done when: Rollback has been exercised, and a bad release can be stopped before it reaches everyone.

Guides

51 guides

Also part of this phase

Find your next answer

Type to search. Search runs in your browser.

Searches run in your browser, but the host can infer them from the index files they load. The address shows your search so you can bookmark or share it.