[{"label":"Latest (1.0.0)","version":"latest"}]
nsx-malware-prevention

Get File Inspection Events

Description

Get list of file inspection events.

Request

Request

URL

URL


get
https://api.example.com/napp/api/v1/malware-prevention/events
Copy

Query Parameters

Query Parameters

boolean
allow_listed Optional

Used for specifying filter of allow listed files. By default, this parameter will be considered null and no filtering on allow_listed value will be applied.


string
cursor Optional

Opaque cursor to be used for getting next page of records (supplied by current result page).


integer
end_time Required

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


boolean
exclude_details Optional

Use this request param for excluding details so that only inspection timestamp, verdict and allow_listed fields will be returned in response. page_size query parameter will NOT be honoured if this property is set to true and will be overwritten with 10000 as page_size.


array
md5 Optional

Use this request param for specifying md5 hash to filter. If this parameter is passed multiple times, OR condition will be assumed.


integer
page_size Optional

Maximum number of results to return in this page (server may return fewer).


array
sha1 Optional

Use this request param for specifying sha1 hash to filter. If this parameter is passed multiple times, OR condition will be assumed.


array
sha256 Optional

Use this request param for specifying sha256 hash to filter. If this parameter is passed multiple times, OR condition will be assumed.


boolean
sort_ascending Optional

If records need to be sorted in ascending order.


string
sort_by Optional

Field by which records are sorted. Only inspection_time based sorting is supported. Please specify the order of sorted data using sort_ascending parameter.

Possible values are: INSPECTION_TIME


integer
start_time Required

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


array
verdict Optional

Use this request param for specifying verdict to filter. If this parameter is passed multiple times, OR condition will be assumed.


Authentication

Authentication

This operation uses the following authentication methods.


METHOD

security_op


METHOD

auditor


Response

Response

Response Body

Response Body

200 OK

Returns FileInspectionEventsListResult of type(s) application/json

Successful Operation

This response body class contains all of the following: ListResult, InlineFileInspectionEventsListResult1

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl https://api.example.com/napp/api/v1/malware-prevention/events?end_time=10&start_time=10


Feedback

Was this page helpful?