ESET PRIVATE Scanning Solutions – Table of Contents

API

This section provides an overview of how the ESET PRIVATE Scanning Solutions operates, followed by detailed information about the API requirements required to develop a custom agent that interfaces with the scanner.

The communication between the custom agent and the scanner could be implemented using gRPC calls, defined primarily in the scanner.proto file. Most related message and type definitions are contained in the types.proto file.

Scanner Agent → Scanner:

The scanner agent sends messages of type ScanFileDataStreamRequest to the scanner.

 

Scanner → Scanner Agent:

The scanner responds with messages of type ScanFileDataStreamResponse.

This API structure facilitates streaming of scan data and responses, enabling efficient, real-time interaction between the agent and the scanner services.

What is proto file?

A .proto file defines the structure of data for Protocol Buggers (protobuf) - google's binary serialization format.

It uses a simple Interface Definition Language (IDL) to describe messages (like data classes/structs) with fields, types, and services. The protoc compiler then generates language-specific code (C++, Java, Python, etc.) for serialization/deserialization from these files.

For a complete list of protobuf files used by PRIVATE Scanning Solutions refer to the table below:

 

Definition file:

Source \ 3rd party URL:

1

Shared/Interface/Proto/dotnod/threat_detection/v3/scanner.proto

 ESET

2

Shared/Interface/Proto/dotnod/threat_detection/v3/types.proto

 ESET

3

Shared/Interface/Proto/dotnod/threat_detection/v3/README.md

 ESET

4

Shared/Interface/Proto/dotnod/well_known_types/v1/version.proto

 ESET

5

Shared/Interface/Proto/dotnod/security_management/v1/types.proto

 ESET

6

Shared/ThirdParty/googleapis/google/api/annotations.proto

https://github.com/googleapis/googleapis/blob/master/google/api/annotations.proto

7

Shared/ThirdParty/googleapis/google/api/field_behavior.proto

https://github.com/googleapis/googleapis/blob/master/google/api/field_behavior.proto

8

Shared/ThirdParty/googleapis/google/api/http.proto

https://github.com/googleapis/googleapis/blob/master/google/api/http.proto


note

For ESET protobuf files, please contact your ESET representative. For 3rd-party protobuf files, always refer to the respective vendors’ official sites.