Get Statistics By Threat Family

Get Statistics By Threat Family

Get statistics for inspected events based on threat family type

Request
URI
GET
https://api.example.com/napp/api/v1/malware-prevention/events/statistics-by-threat-family
COPY
Query Parameters
integer
start_time
Required

Use this request param for specifiying starting time of a timeline. Value has to be specified in milliseconds since epoch.

integer
end_time
Required

Use this request param for specifiying ending time of a timeline. Value has to be specified in milliseconds since epoch.

string of array
site_id
Optional

ID of the NSX+ site which reported this file event. If the parameter is not passed, corresponding API will respond with results across all sites managed within NSX+ instance. This parameter will support single value. If value passed is empty string, it will be considered as valid input for filtering. This parameter is supported only in NSX+.


Authentication
This operation uses the following authentication methods.
Responses
200

Successful operation

Returns ThreatFamilyStatisticsResult of type(s) application/json
This response body class contains all of the following: InlineThreatFamilyStatisticsResult0
{
    "results": [
        {
            "threat_family": "adware",
            "number_of_inspections": 58841
        },
        {
            "threat_family": "backdoor",
            "number_of_inspections": 58771
        }
    ]
}