cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3968
Views
5
Helpful
2
Replies

Cisco ASA API

sdasgupta
Beginner
Beginner

 

Hi,

We want to integrate Cisco ASA with automation tool. Suppose if I want to add a acl in FW it will create rule through automated way without any human intervention. Is it possible to get API to integrate the automation tool.

2 Replies 2

Hello,

Yeah, it is possible. Cisco allows for using RESTful API on ASA. 

 For physical appliances you need to download and install the client on flash. For virtual appliances it comes installed and it is necessary activate.

 After prepared the environment, you can control your ASA programatibily via API.

 You can read,write and delete configuration via HTTPS requests.

Here an example:

https://< asa management ipaddress >/api/objects/networkobjects

Body content type: application/json

Raw body of the operation:

{

"kind": "object#NetworkObj",

"name": "TestNetworkRangeObj",

"host": {

"kind": "IPv4Network",

"value": "12.12.12.0/24"

}

}

 

-If I helped you somehow, please, rate it as useful.-

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: