Skip to content
/ pyASA Public

A Python wrapper for the Cisco ASA firewall REST API, aimed to be easy and safe to use.

License

Notifications You must be signed in to change notification settings

xpac1985/pyASA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyASA

A Python wrapper for the Cisco ASA firewall REST API, aimed at network engineers starting into scripting. Does a lot of validation and other things to make scripting your firewall changes as easy and hassle-free as possible.

Be aware - this is an early version and a lot of code might change in the future. Also, the Cisco API tends to be rather unstable and might crash when using it extensively.

Installation

Install last published version via pip

pip install pyASA

Usage

Only in-code documentation so far.

Create an ASA object, supplying at least hostname, username and password for API access.

from pyASA.asa import ASA

myasa = ASA("192.168.17.1", "admin", "cisco")
rules = myasa.acl.get_rules("MYACL")
print(rules)

License

MIT.

See LICENSE file for details.

About

A Python wrapper for the Cisco ASA firewall REST API, aimed to be easy and safe to use.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages