cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1726
Views
10
Helpful
4
Replies

AsyncOS API

tblack1100
Level 1
Level 1

Where can I find more information on the AsyncOS API?  Specifically, attribute usage for the Top-N reports.

4 Replies 4

amoherek
Cisco Employee
Cisco Employee

Hi Tim,

I'm not finding any DevNet pages on AsyncOS API. However, you might want to check this API guide: http://www.cisco.com/c/dam/en/us/td/docs/security/esa/esa9-0/ESA_API_1-0_Getting_Started_Guide.pdf

Thanks,

Adrienne

Thanks! That’s the only information I’ve have found regarding this API.

I’ve slowly discovered how to use the web service methods for what I need right now, but it would be nice to find some additional info.

Hi Tim,

The Getting started guide has an example of Top-N reports on page 11. Please elaborate if that does not help or if you are looking for something different.

For quick reference, jotting down another sample top-n report to list virus-types seen in the last 24 hours.

Sample curl request:

    curl -sk -u <user:passwd> https://<esa-fqdn>:6443/api/v1.0/stats/mail_virus_type_detail?1d

Response from a lab ESA:

{

    "data": {

        "incoming_total_recipients": {

            "Troj/Iframe-Y": 10,

            "W32/Klez-H": 10

         },

        "outgoing_total_recipients": {},

        "total_recipients": {

             "Troj/Iframe-Y": 10,

             "W32/Klez-H": 10

        }

    },

   "uri": "/api/v1.0/stats/mail_virus_type_detail?1d"

}

thanks,

Sriram

Thanks, I figured it out.

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: