Skip to main content

This wrapper is designed to provide a unique interface to interact with ISE and FMC api.

Project description

CiscoSecurityDevice

This is a wrapper which provides a unique interface to the Cisco's FMC and Cisco's ISE Rest API, to intereract in a common way. This wrapper uses :

  • Python Library : ISE : to interact with ISE Rest API
  • Python Library : fireREST : to interact with FMC Rest API

Intallation

This wrapper can be installed by executing following command:

pip install CiscoSecurityDevice

Usage

To use the above wrapper:

  1. Initiialize the object with Device Detail and Device Type
# For Interacting with ISE
device = CiscoSecurityDevice('192.168.10.10', 'admin', 'C1sc0123', 'ise')
ise = device.get_device_access()
print(ise.get_identity_group(group='Employee')['response'])

# For Interacting with FMC

device = CiscoSecurityDevice('192.168.10.11', 'admin', 'C1sc0123', 'fmc')
fmc = device.get_device_access()
print(fmc.object.network.get())

Note: Currently wrapper can server for ISE and FMC only

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

CiscoSecurityDevice-0.0.8.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

CiscoSecurityDevice-0.0.8-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page