Book Image

Practical Security Automation and Testing

By : Tony Hsiang-Chih Hsu
Book Image

Practical Security Automation and Testing

By: Tony Hsiang-Chih Hsu

Overview of this book

Security automation is the automatic handling of software security assessments tasks. This book helps you to build your security automation framework to scan for vulnerabilities without human intervention. This book will teach you to adopt security automation techniques to continuously improve your entire software development and security testing. You will learn to use open source tools and techniques to integrate security testing tools directly into your CI/CD framework. With this book, you will see how to implement security inspection at every layer, such as secure code inspection, fuzz testing, Rest API, privacy, infrastructure security, and web UI testing. With the help of practical examples, this book will teach you to implement the combination of automation and Security in DevOps. You will learn about the integration of security testing results for an overall security status for projects. By the end of this book, you will be confident implementing automation security in all layers of your software development stages and will be able to build your own in-house security automation platform throughout your mobile and cloud releases.
Table of Contents (19 chapters)

What is BDD security testing?

ATDD stands for Acceptance Test-Driven Development, and BDD means behavior-driven development. In some scenarios, these two terms can be interchangeable. The purpose of adopting ATDD or BDD is to make security testing more transparent for all project members. The security testing results can provide quick feedback on the meeting of business objectives, for instance. The other purpose of BDD adoption is the provision of dynamic documentation for the whole project cycle, since BDD is done with an English-like language that follows the Given, When, Then (GWT) format.

In this book, we introduce the use of Robot Framework and Gauntlt to achieve BDD security automation testing. Here is a comparison of these two BDD testing frameworks:

Robot Framework Gauntlt
Type ATDD BDD
Script format

Keyword-driven script:

  • Execute command
  • Create session
  • ...