Giter Site home page Giter Site logo

asa-ftd-parser's Introduction

ASA-FTD-object-parser

Python script for parsing network objects and network object-groups from Cisco ASA to Cisco FDM

The script reads all network objects and object-groups from a Cisco Adaptive Security Appliance (ASA), and then parse the objects and groups to a Cisco Firepower Threat Defence, running the local Firepower Device Manager.

Pre-requisites

Python 3.9 Supported ASA version 9.x+ Supported FDM verison 7.x+

Installation

https://github.com/girafskind/ASA-FTD-parser.git
mkdir ASA-FTD-parser
python3 -m venv mkdir venv_ASA-FTD-parser
source venv_ASA-FTD-parser/bin/activate

Now can install the packages required to run this script.

pip install -r ASA-FTD-parser/requirements.txt

Configuration

Copy "config-template.py" to "config.py", enter IP-address, username and passwords for FDM and ASA and run main.py

asaip = "<IP-address of ASA>"
asausername = "<Username for HTTP access on ASA>"
asapassword = "<Passowrd for HTTP access on ASA>"
asaport = "<Port listening on the HTTP service>" (if omitted, it defaults to tcp/443)

ftdip = "<IP-address of FDM>"
ftdusername = "<Username for HTTP access on FDM>"
ftdpassword = "<Passowrd for HTTP access on FDM>"

Running

'main.py' does not take any arguments, simply run:

python main.py

The script does not deploy the new configration the FDM device, either done manually in the FDM WebUI, or call the "deploy_config_to_fdm" function with the FDM object as argument.

The script will print out its progess, how many found networks and groups on the ASA. How many objects migrated and how many skipped, as well as a list of the skipped objects.

The machine that executes this script will need to have API access to both the ASA and the FTD.

Regards girafskind

published

asa-ftd-parser's People

Contributors

girafskind avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.