pip3 install -r requirements.txt
> python3 fmc_api_tools.py
***********************************************************************************************
* *
* Cisco FMC 6.7+ API Tools (Written for Python 3.6+) *
* *
***********************************************************************************************
***********************************************************************************************
* *
* TOOLS AVAILABLE: *
* *
* 1. Basic URL GET *
* *
* 2. Create Network-Objects in bulk *
* *
* 3. Create Network-Objects in bulk and add to New Object-Group *
* *
* 4. Update IPS and/or File Policy for Access Rules *
* *
* 5. Get Inventory List from FMC *
* *
* 6. Register FTD to FMC *
* *
* 7. Deploy Pending FTDs *
* *
* 8. Migrate Prefilter rules to Access Rules *
* *
* 9. Update Object Group with entries from txt file *
* *
* 10. Export ACP and Prefilter Rules to CSV file *
* *
* 11. Download Snort.org Rules *
* *
* 12. Delete FTDs from FMC using Name or Model search *
* *
* 13. Edit manager config for FTDs in bulk *
* *
***********************************************************************************************
Please Select Tool:
USER INPUT NEEDED:
USER INPUT NEEDED:
Select Object type
CSV Data Input file
USER INPUT NEEDED:
object network Net-1
subnet 10.1.1.0 255.255.255.0
object network Host-1
host 10.1.1.1
object network FQDN-1
fqdn www.google.com
object network Range-1
range 10.1.1.1 10.1.1.255
object-group network Group-1
network-object host 10.1.1.1
network-object 10.2.2.0 255.255.255.0
object-group network Group-2
network-object object Net-1
network-object object Host-1
network-object object FQDN-1
network-object object Range-1
group-object Group-1
USER INPUT NEEDED:
NO
will apply changes only to rules which currently have IPS/File policy appliedNone
will NOT remove currently applied policyNone
will NOT remove currently applied policyUSER INPUT NEEDED:
USER INPUT NEEDED:
USER INPUT NEEDED:
USER INPUT NEEDED:
USER INPUT NEEDED:
10.1.1.1
10.1.1.3
10.1.3.0/24
10.2.2.0/24
Automatically saves CSV file to local directory
Automatically downloads base rules from Snort.org and modifies SID to be imported into FMC
USER INPUT NEEDED:
USER INPUT NEEDED:
ftd1.cisco.com,2200,admin,cisco123
ftd2.cisco.com,2201,admin,cisco123
ftd3.cisco.com,2202,admin,cisco123
Owner
Contributors
Categories
Products
Secure FirewallProgramming Languages
PythonLicense
Code Exchange Community
Get help, share code, and collaborate with other developers in the Code Exchange community.View Community