[python]Detect changes in configuration of ASA

Three python scripts were written for doing specific tasks. conn_asa.py - this script is responsible for generating two outputs hostname and md_now (md is short for message digest) statechange.py - this script writes the hash generated from conn_asa.py into database. compare_change.py - this script compares the hash stored in db with the current hash generated … Continue reading [python]Detect changes in configuration of ASA

Advertisements

[python]SQLAlchemy for select and insert objects into sqlite db.

SQLAlchemy is a python module that makes database operation easier for python scripters, the SQLAlchemy simplies the operation by replacing the SQL syntax with objects. So here's the SQL query for creating a table: This is the SQLAlchemy way of doing database. In SQLAlchemy there is no need to write SQL syntax, SQLAlchemy does it … Continue reading [python]SQLAlchemy for select and insert objects into sqlite db.