Skip to content
Opsfolk

Software supply chain, topic 36 of 70

Build pipeline hardening

The pipeline can deploy to production, so an attacker who controls it controls production. Give each job the least permission it needs, use OpenID Connect instead of stored cloud keys, pin third-party actions to a commit, keep untrusted pull requests away from secrets, and use ephemeral runners.

Protect the main branch and require review, so no single person or stolen token can push to production alone.

On Opsfolk

Nothing of ours for this topic yet: an article is on its way.

Elsewhere

Your progress