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)

DevSecOps for the testing team

Q: What testing tools are suggested for data privacy assessment?

Data life cycle

Testing key points

Suggested testing tools

Transmission of data

  • Ensure that the sensitive information is not transmitted by GET
  • The secure communication protocol, such as TLS v1.2, SSH V2, SFTP, SNMP V3

SSLyze, NMAP, Wireshark

Storage of data

  • Check whether sensitive information is encrypted
  • Check that the permissions of the files are properly configured

TruffleHog: https://github.com/dxa4481/truffleHog

Encryption of data

No uses of weak encryption algorithms, such as MD5, RC4, Jackfish, and Tripple DES

Code-scanning tools: https://github.com/floyd-fuh/crass/blob/master/grep-it.sh

Data access and auditing

  • Logging any sensitive data query
  • CL permissions

AuthMatrix: https://github.com/SecurityInnovation/AuthMatrix

Removal...