Cisco Cisco ASA 5585-X Adaptive Security Appliance
About the ASA REST API
Overview
Overview
3
High Level Architecture
Typical request flow
The following 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 the connection to REST Agent using TCP channel, and writes the HTTP request to the
REST Agent.
• ASA http server waits for REST Agent process’s response.
• REST Agent processes API request, picks the session/user info and invokes CLI commands request to LINA
listening on localhost port in ASA. REST Agent includes the session/user info in the request.
• Lina admin handler processes the CLI commands and collects the results output.
• Lina sends the response for the CLI commands request to REST Agent.
• REST Agent prepares the response for REST API request and sends to the ASA HTTP server.
• ASA http server forwards the response to the client. Server doesn’t do any processing on the response received
from REST Agent process.