Book Image

Hands-On Security in DevOps

By : Tony Hsiang-Chih Hsu
Book Image

Hands-On Security in DevOps

By: Tony Hsiang-Chih Hsu

Overview of this book

DevOps has provided speed and quality benefits with continuous development and deployment methods, but it does not guarantee the security of an entire organization. Hands-On Security in DevOps shows you how to adopt DevOps techniques to continuously improve your organization’s security at every level, rather than just focusing on protecting your infrastructure. This guide combines DevOps and security to help you to protect cloud services, and teaches you how to use techniques to integrate security directly in your product. You will learn how to implement security at every layer, such as for the web application, cloud infrastructure, communication, and the delivery pipeline layers. With the help of practical examples, you’ll explore the core security aspects, such as blocking attacks, fraud detection, cloud forensics, and incident response. In the concluding chapters, you will cover topics on extending DevOps security, such as risk assessment, threat modeling, and continuous security. By the end of this book, you will be well-versed in implementing security in all layers of your organization and be confident in monitoring and blocking attacks throughout your cloud services.
Table of Contents (23 chapters)

Secure coding patterns and keywords

The objective of a source code keyword or a specific patterns-based search technique is not to replace any other automated code-scanning tools. It's to support both the whitebox review and automated code-scanning tools by searching potentially high-risk strings. The security team may prepare or define a set of keywords or regular expression strings that can lead to security issues. Once the project team has a set of search strings, it may use any search tool, such as GREP, to do the search, and analyze the search results. This kind of search can be done with partial source code, and is programming-language independent. It's simple to search for a specific issue, as long as we have well-defined search strings.

The following diagram shows a general process of this kind of whitebox review technique:

Here is an example of how to search...