Cisco Cisco Email Security Appliance C650 Guía Del Desarrollador

Descargar
Página de 15
 
10
AsyncOS API for Cisco Email Security Appliances - Getting Started Guide
 
  AsyncOS API Capabilities
Note
Use an AND (
&
) operator to use multiple attributes, for example: 
https://{appliance}:{port}/api/v1.0/stats/report/counter?attribute1&attribute2.
Note
For more information about statistical reports and counters, access the API inline help. See 
.
Examples
Simple Report Type
The following example shows how to retrieve aggregate Incoming Mail Summary report for the last one 
day.
Sample Request
GET /api/v1.0/stats/mail_incoming_traffic_summary?1d HTTP/1.0
User-Agent: curl/7.30.0
Host: mail.example.com:8080
Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=
Accept: application/json
Sample Response
HTTP/1.0 200 OK
Server: EmailAPI/1.0
Date: Tue, 15 Jul 2014 08:26:46 GMT
Content-type: application/json
Content-Length: 461
Connection: close
{
"verif_decrypt_success": 0,
        "detected_virus": 99,
        "total_threat_recipients": 102,
        "threat_content_filter": 0,
        "total_recipients": 102,
        "blocked_invalid_recipient": 0,
        "blocked_dmarc": 0,
        "marketing_mail": 0,
        "ims_spam_increment_over_case": 0,
        "detected_amp": 0,
        "total_graymail_recipients": 0,
        "social_mail": 0,
        "detected_spam": 0,
        "total_clean_recipients": 0,
        "verif_decrypt_fail": 0,
Request Headers
Host, Accept, Authorization
Response Headers
Content-Type, Content-Length, Connection