This repository is deprecated; please follow the main search page or use the ‘Related code repos’ widget on the right side of the current page.

published

Cisco FMC API User Context

This repo contains a Python script that simplifies adding or deleting users from IP passive mapping in Cisco FMC. All new mappings are saved in a database called db_users_fmc.'YOUR-DOMAIN-NAME'.json.

This script leverages the user agent REST API used by the Cisco Terminal Services (TS) Agent. Description of this API can be found here.

Please contact me at alexandre@argeris.net, if you have any questions or remarks. If you find any bugs, please report them to me, and I will correct them.

VARIABLES TO MODIFY BEFORE RUNNING THE SCRIPT

image

EXAMPLES

ADDING a user/ip mapping:
image

DELETING a user/ip mapping:
image

In your FMC you should see the following result :
image

View code on GitHub
  • Owner

  • Contributors

    +2Github contributors
  • Categories

  • Products

    Firepower
  • Programming Languages

    Python
  • License

    GNU General Public License v3.0

Code Exchange Community

Get help, share code, and collaborate with other developers in the Code Exchange community.View Community
Disclaimer:
Cisco provides Code Exchange for convenience and informational purposes only, with no support of any kind. This page contains information and links from third-party websites that are governed by their own separate terms. Reference to a project or contributor on this page does not imply any affiliation with or endorsement by Cisco.