EngDev

 View Only

Retrieve security sessions count by zone with Ansible 

12-20-2021 12:53

Overview

This example will show how to retrieve the security session count by zone.

In addition to the Ansible playbok, this project also ships with additional tools to help you along your way. You will find a Dockerfile for running the project in an isolated environment, and a Makefile for those of us that hate typing out everything all the time.

⚙️ How it works

The data is collected from the firewalls by issuing NETCONF RPCs to retrieve the data as XML, to which Ansible will automatically translate into a dictionary for us.

There are two filter plugins for this project, which will help us transform the data and perform basic logic operations in Python.

Let's take a second to review the documentation in the files/docs/ directory.

Name

Description

Ansible Playbook

Retrieve Security Sessions by Zone

Inventory file

Inventory

Statistics
0 Favorited
3 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.