kaisero / fireREST

Python library for interacting with Cisco Firepower Management Center REST API
GNU General Public License v3.0
70 stars 49 forks source link

Added cdFMC login #80

Closed g1augusto closed 3 months ago

g1augusto commented 4 months ago

I have added support for connecting to cdFMC via CDO.

I have applied changes at the parameters to pass to the FMC object and subsequently the Connection class.

New parameters are the following:

domain_id -> defaults to the default Global ID for cdFMC tenants cdo -> False to not modify the behavior for previous uses of the library

Setting "cdo" to True will modify the authentication from HTTPBasic to Bearer Token and will skip the reauthentication. Furthermore the parameter "domain_id" becomes necessary as the retrieval of domains changes between FMCs and cdFMCs so it needs to be given as input (but most likely the global default will be used most of times)

rchrabas commented 3 months ago

Support for CDO merged with develop branch