Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Security Automation with Ansible 2

You're reading from   Security Automation with Ansible 2 Leverage Ansible 2 to automate complex security tasks like application security, network security, and malware analysis

Arrow left icon
Product type Paperback
Published in Dec 2017
Publisher Packt
ISBN-13 9781788394512
Length 364 pages
Edition 1st Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
Akash Mahajan Akash Mahajan
Author Profile Icon Akash Mahajan
Akash Mahajan
 AKULA AKULA
Author Profile Icon AKULA
AKULA
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Title Page
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
1. Introduction to Ansible Playbooks and Roles 2. Ansible Tower, Jenkins, and Other Automation Tools FREE CHAPTER 3. Setting Up a Hardened WordPress with Encrypted Automated Backups 4. Log Monitoring and Serverless Automated Defense (Elastic Stack in AWS) 5. Automating Web Application Security Testing Using OWASP ZAP 6. Vulnerability Scanning with Nessus 7. Security Hardening for Applications and Networks 8. Continuous Security Scanning for Docker Containers 9. Automating Lab Setups for Forensics Collection and Malware Analysis 10. Writing an Ansible Module for Security Testing 11. Ansible Security Best Practices, References, and Further Reading

Security automation use cases


Now that once we have the tools set up, let's go through some of the standard tasks that allow us to do useful things with them. In case you haven't noticed, we love lists. Here is a list of tasks that will prepare you to build layers of automation for the stuff that is important to you:

  1. Adding playbooks or connecting your source code management (SCM) tools, such as GitHub/GitLab/BitBucket
  2. Authentication and data security
  3. Logging output and managing reports for the automation jobs
  4. Job scheduling
  5. Alerting, notifications, and webhooks

Adding playbooks

When starting out, either we would like to add our custom playbooks to the IT automation tools or we may be adding them to SCM tools such as GitHub, GitLab, and BitBucket. We will configure and add our playbooks to all of the three tools being discussed here.

Ansible Tower configuration

Ansible Tower has multiple features to add playbooks to perform scheduling and execution. We will see how we can add custom written playbooks...

You have been reading a chapter from
Security Automation with Ansible 2
Published in: Dec 2017
Publisher: Packt
ISBN-13: 9781788394512
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 $15.99/month. Cancel anytime
Visually different images