Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Crafting Secure Software

You're reading from   Crafting Secure Software An engineering leader's guide to security by design

Arrow left icon
Product type Paperback
Published in Sep 2024
Publisher Packt
ISBN-13 9781835885062
Length 156 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
GitGuardian SAS GitGuardian SAS
Author Profile Icon GitGuardian SAS
GitGuardian SAS
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Chapter 1: Introduction to the Security Landscape 2. Chapter 2: The Software Supply Chain and the SDLC FREE CHAPTER 3. Chapter 3: Securing Your Code-Writing Tools 4. Chapter 4: Securing Your Secrets 5. Chapter 5: Securing Your Source Code 6. Chapter 6: Securing Your Delivery 7. Chapter 7: Security Compliance and Certification 8. Chapter 8: Best Practices to Drive Security Buy-In 9. Other Books You May Enjoy Appendix: Glossary of Acronyms and Abbreviations: Index

Securing built-in CI/CD tools

Each major SCM has its own native CI/CD tool. There are GitHub Actions, GitLab CI/CD, and Bitbucket Pipelines, to name a few. Let’s look at a few high-level concerns to consider.

Be sure and intentional about "which" does "what"

Continous integration and continuous delivery (CI/CD) are two different pipelines. CI brings all the pieces together and builds and tests the artifacts. All the SAST, DAST, SCA, secrets scanning, and so on can be done in the CI pipeline, but can also be triggered by hooks and run before commits or to inspect pull requests before merging.

CD is intended to deploy the artifacts built in CI. They can be delivered to production or a testbed/staging environment. Some companies employ a green/blue method in which the last good deployment is demoted to the blue (backup) environment while the new artifacts are deployed to green (production). Should the latest code fail, the system can switch over to...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime