Get Statistics By Threat Score

Get Statistics By Threat Score

Get statistics for inspected events based on threat scores

Request
URI
GET
https://api.example.com/napp/api/v1/malware-prevention/events/statistics-by-threat-score
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 ThreatScoreStatisticsResult of type(s) application/json
This response body class contains all of the following: InlineThreatScoreStatisticsResult0
{
    "results": [
        {
            "threat_score_range": {
                "start_score": 0,
                "end_score": 10
            },
            "number_of_inspections": 0
        },
        {
            "threat_score_range": {
                "start_score": 11,
                "end_score": 20
            },
            "number_of_inspections": 0
        },
        {
            "threat_score_range": {
                "start_score": 21,
                "end_score": 30
            },
            "number_of_inspections": 7449
        },
        {
            "threat_score_range": {
                "start_score": 31,
                "end_score": 40
            },
            "number_of_inspections": 73689
        },
        {
            "threat_score_range": {
                "start_score": 41,
                "end_score": 50
            },
            "number_of_inspections": 73675
        },
        {
            "threat_score_range": {
                "start_score": 51,
                "end_score": 60
            },
            "number_of_inspections": 74092
        },
        {
            "threat_score_range": {
                "start_score": 61,
                "end_score": 70
            },
            "number_of_inspections": 76066
        },
        {
            "threat_score_range": {
                "start_score": 71,
                "end_score": 80
            },
            "number_of_inspections": 94542
        },
        {
            "threat_score_range": {
                "start_score": 81,
                "end_score": 90
            },
            "number_of_inspections": 95211
        },
        {
            "threat_score_range": {
                "start_score": 91,
                "end_score": 100
            },
            "number_of_inspections": 95633
        }
    ]
}