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)

Automated security testing frameworks

A typical automated security testing framework may include the following key components:

Key components Usage scenarios
Security testing tools Security testing tools are in charge of testing for specific security vulnerabilities, such as cross-site scripting (XSS) and SQL injection, and also analyze HTTP responses for security issues
Target web service In our example, we will use NodeGoat and WebGoat for the target testing website
Testing results analysis Security testing tools may provide initial testing reports. Testing results can be further integrated by either a testing framework, such as Robot Framework, or a testing management tool, such as ArcherySec or OWASP DefectDojo
Robot Framework This is a popular automation testing framework that we can use to integrate an automation process
Automation scripts These scripts can...