Дерево страниц

Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.
Комментарий: Updated the talk macro with the following parameter(s): []
Sv translation
languageru

Код

Описание

Структура Identity

typedef i32 ItemId

Идентификатор элемента в событии

enum IdentityItemType {
kPerson,
kWorkstation,
kDevice,
kResource,
}

Вид элемента идентификации

struct Attribute {
1: required string name,
2: required string value
}

Отдельный атрибут любой сущности события (самого события, идентификации, потока данных):

  1. контакт;
  2. метаинформация о контакте
struct ContactWithMeta {
1: required Attribute contact,
2: optional string meta
}

Контакты идентификации с метаинформацией:

  1. контакт;
  2. метаинформация о контакте

struct Identity {

1: required ItemId identity_id,
2: required IdentityItemType identity_type,
3: required list<Attribute> identity_contacts,
4: optional list<Attribute> identity_attributes,
5: optional list<ContactWithMeta> identity_contacts_with_meta

}

Идентификация получателя или отправителя объекта:

  1. уникальный номер идентификации внутри объекта, используется для ссылок на идентификацию;
  2. вид элемента идентификации;
  3. набор контактов идентификации;
  4. не обязательный набор атрибутов идентификации;
  5. набор контактов идентификации c метаинформацией

struct EventData {
1: required ItemId data_id,
2: optional list<Attribute> data_attributes
}

Описание потока данных события:

  1. уникальный идентификатор потока данных внутри события, используется для ссылок на поток;
  2. необязательный набор атрибутов потока данных

struct ChatMessage {
1: required ItemId sender_id,
2: required string sent_time,
3: required string utf8_text,
4: optional ItemId mes_data_id
}

Описание одного сообщения класса "Беседа":

  1. ссылка на идентификацию, которая является отправителем сообщения;
  2. локальное время передачи сообщения в формате ГГГГ-ММ-ДДTЧЧ:ММ:СС+ЧЧ:ММ (ISO 8601 c форматированием yyyy-MM-ddTHH:mm:sszzz);
  3. текст сообщения в кодировке UTF-8;
  4. идентификатор данных объекта, в которых будет передано содержимое сообщения, если utf8_text пустой

typedef string LinkNameType
struct ItemLink {

1: required ItemId id,
2: required ItemId link_to_id,
3: required LinkNameType link_name
}

Описание связи между различными сущностями события:

  1. идентификатор сущности события, от которой идёт связь;
  2. идентификатор сущности события, к которой идёт связь;
  3. имя (тип) связи
const LinkNameType link_name_ws = "workstation_link"Список имён поддерживаемых связей между сущностями:
  • имя для задания связи идентификаций типа "Персона" и "Рабочая станция"

struct Event {
1: required EventClass evt_class,
2: required TmServiceType evt_service,
3: optional list<Attribute> evt_attributes,
4: required list<Identity> evt_senders,
5: required list<Identity> evt_receivers,
6: required list<EventData> evt_data,
7: optional list<ChatMessage> evt_messages,
8: optional list<ItemLink> evt_links,
9: optional Identity evt_source,
10: optional Identity evt_destination

}

Описание события, которое нужно передать в Traffic Monitor:

  1. класс события;
  2. сервис события;
  3. атрибуты события;
  4. отправители события;
  5. получатели события;
  6. данные события;
  7. сообщения события для класса "Беседа";
  8. связи между сущностями в событии;
  9. источник события;
  10. приемник события

struct Credentials {
1: required string company_name,
2: required string token
}

Структура, описывающая параметры доступа к Traffic Monitor:

  1. название клиента (или компании в нашем случае). Этот параметр связывает плагин внешнего разработчика с лицензией;
  2. токен авторизации. Эта строка является «секретом», который знают плагин и Traffic Monitor. Так реализована авторизация источника данных

typedef i64 EventId

Идентификатор загружаемого события

typedef i64 StreamId

Идентификатор загружаемого потока данных события

typedef i32 InterfaceVersion
const InterfaceVersion pushapi_version = 1

Версия PushAPI интерфейса

enum EventClass {
kChat,
kEmail,
kMfp,
kWeb,
kFileExchange,
kPhoto,
kMultimedia,
kVoiceTalk
}

Поддерживаемые "классы" событий в PushAPI:

  • Беседа
  • Почта
  • Печать, копирование и сканирование
  • Интернет-активность
  • Обмен файлами
  • Фотосъемка
  • Запись мультимедиа
  • Звонок
Примечание
titleПримечание:

Если необходимо реализовать сценарий блокировки передачи данных по результатам анализа, то при отправке посредством PushAPI событий в Traffic Monitor используйте один из "классов" событий: kChat,kEmail,kWeb. Только для этих классов, соответствующих типам событий Мессенджер, Почта, Интернет-активность в Traffic Monitor реализована возможность назначения событию вердикта Заблокировано в политике защиты данных.

Sv translation
languageen

Code

Description

Identity stucture

typedef i32 ItemId

An event item identifier

Item identifier in the event

enum IdentityItemType {
kPerson,
kWorkstation,
kDevice,
kResource,
}

An identity
Identification item type

struct Attribute {
1: required string name,
2: required string value
}

A

specific

separate attribute of any event entity (the event itself, identification, dataflow):

contact;
  1. Contact
contact
  1. Contact metadata
struct ContactWithMeta {
1: required Attribute contact,
2: optional string meta
}
The

Identification contacts

of identification

with metadata:

contact;
  1. Contact
contact
  1. Contact metadata

struct Identity {

1: required ItemId identity_id,
2: required IdentityItemType identity_type,
3: required list<Attribute> identity_contacts,
4: optional list<Attribute> identity_attributes,
5: optional list<ContactWithMeta> identity_contacts_with_meta

}

An identification

Identification of the object receiver or sender:

a
  1. A unique identification number
of the identification
  1. inside the object, used for links to identification
;
an identification
  1. Identification item type
;
an identification
  1. Identification list of contacts
;the non-obligatory attributes
  1. An optional set of identification
;
  1. attributes
a
  1. The list of identification contacts
of identification
  1. with metadata 

struct EventData {
1: required ItemId data_id,
2: optional list<Attribute> data_attributes
}

A description

Description of

an

the event dataflow:

a
  1. A unique identifier of dataflow inside the event, used for links to dataflow
;
the non-obligatory attributes of dataflow
  1. An optional set of the dataflow attributes

struct ChatMessage {
1: required ItemId sender_id,
2: required string sent_time,
3: required string utf8_text,
4: optional ItemId mes_data_id
}

A description

Description of a single message of the Chat class

message

:

a
  1. The link to the identification
, which
  1. that is
a
  1. the message sender
;
the local
  1. Local time
of
  1. when the message
transfer
  1. was sent in YYY-MM-DDTHH:MM:SS+HH:MM
format
  1. formatted (ISO 8601 format yyyy-MM-ddTHH:mm:sszzz)
;
the
  1. The message text
is
  1. in UTF-8 encoding
;
an
  1. An identifier of the object data
, in which
  1. that will be used to transfer the message
body will be transferred
  1. content if utf8_text is empty

typedef string LinkNameType
struct ItemLink {

1: required ItemId id,
2: required ItemId link_to_id,
3: required LinkNameType link_name
}

A description

Description of connection

among

between different entities of the event:

an
  1. An identifier of the event entity, from which
there is a
  1. the connection
;
  1. goes
an
  1. An identifier of the event entity, to which
there is a
  1. the connection
;
  1. goes
a
  1. The name (type) of the connection
const LinkNameType link_name_ws = "workstation_link"The list of names
list
of supported connections
supported among
between entities:
  • a name to establish connection between identifications of
identifications type "
  • the Person
"
  • and
"
  • Workstation
"
  • types

struct Event {
1: required EventClass evt_class,
2: required TmServiceType evt_service,
3: optional list<Attribute> evt_attributes,
4: required list<Identity> evt_senders,
5: required list<Identity> evt_receivers,
6: required list<EventData> evt_data,
7: optional list<ChatMessage> evt_messages,
8: optional list<ItemLink> evt_links,
9: optional Identity evt_source,
10: optional Identity evt_destination

}

A description

Description of the event

which should

that must be transferred to Traffic Monitor:

the
  1. The event class
;
the
  1. The event service
;
the
  1. The event attributes
;
the
  1. The event senders
;
the
  1. The event recipients
;
the
  1. The event data
;
  1. Event messages for the Chat class
messages of the event;connections among
  1. Connections between the event entities
;
the
  1. The event source
;
the
  1. The event receiver

struct Credentials {
1: required string company_name,
2: required string token
}

The structure

describing Traffic monitor access parameters

that describes parameters to access Traffic Monitor:

a
  1. The client name (or
a
  1. the company name in
the
  1. our case). The parameter connects an external developper's plugin
and
  1. with the license
;
  1. .
an
  1. An authorization token
; the
  1. . This string is a "secret" known by the plugin and Traffic Monitor. This is how the authorization of data source is
performed
  1. implemented

typedef i64 EventId

An identifier of the event

which is

being loaded

typedef i64 StreamId

An identifier of the event dataflow

which is

being loaded

typedef i32 InterfaceVersion
const InterfaceVersion pushapi_version = 1

PushAPI interface version

enum EventClass {
kChat,
kEmail,
kMfp,
kWeb,
kFileExchange,
kPhoto,
kMultimedia,
kVoiceTalk
}
The
Supported event "classes"
of events supported by
in PushAPI:
  • Chat
  • Mail
  • Printing, copying and scanning
  • Internet activity
  • File exchange
  • Photo
  • Multimedia recording
  • Call
Информация
titleNote:

If you need to be able to block data transfer based on analysis results, then you can use one of the following classes:  kChat,kEmail,kWeb, when sending events to Traffic Monitor by means of PushAPI. These classes correspond to the following event types: Messenger, Mail, Internet activity. For these classes, Traffic Monitor allows you to set the Block verdict to events in the Data Protection Policy.