Cisco Cisco ASA 5580 Adaptive Security Appliance

Page of 29
 
About the ASA REST API v1.3.2 
Overview 
 
High-level Architecture 
 
Typical Request Flow 
This is the flow for any REST PUT/POST/DELETE API request: 
•  REST Client establishes SSL connection to ASA. 
•  REST Client sends API request with basic authentication header to ASA. 
•  ASA HTTP server validates and processes client’s request. 
•  ASA HTTP server opens a connection to the REST Agent using TCP channel, and writes the HTTP request to the 
REST Agent. 
•  ASA HTTP server waits for a response from the REST Agent process. 
•  REST Agent processes API request, picks the session/user information and invokes CLI commands request to 
LINA listening on ‘localhost’ port on ASA. REST Agent includes the session/user info in the request. 
•  LINA admin handler processes the CLI commands and collects resulting output. 
•  LINA sends the response for the CLI commands request to REST Agent. 
•  REST Agent prepares the response for REST API request and sends it to the ASA HTTP server. 
•  ASA HTTP server forwards the response to the client. The server doesn’t do any processing on the response 
received from REST Agent process.