I have been trying to get active VPN count from FTD firewalls using ansible, I tried the same on ASA and it have been running successfully. But when comes to FTD ansible, As it uses httpapi instead of SSH, and I'm unable to find a proper documentation which tell us how to send commands over httpapi. I even tried it using traditional cli_command and cli_config. I later found out in ftd_configuration module we need to use command operation to send commands over to FTD. But still I'm unaware of the parameters for that module. So please comment your suggestions.

1 Answer 1


Here is the intro for the Cisco Secure Firewall API:


I would recommend working with Cisco support to get more specific instruction on which API commands to use to retrieve the information you want. Their documentation on the API seems to be incomplete.

This page might be helpful on what areas to look for and names for API sections to browse through.


You can simply look at the API structure and contents in a browser by loading it from your firewall. That should allow you to look around and find data that helps you.

  • none of the above mentioned document, helps me as I already explored API option to gte active VPN sessions, as cisco doesn't have created an api in ftd check vpn sessions. So that's why I planned to get the data from ansible
    – Eniyan
    Feb 17, 2023 at 5:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.