forked from cisagov/icsnpp-opcua-binary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcreate-subscription-types.zeek
40 lines (35 loc) · 1.61 KB
/
create-subscription-types.zeek
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
##! create-subscription-types.zeek
##!
##! OPCUA Binary Protocol Analyzer
##!
##! Zeek script type/record definitions describing the information
##! that will be written to the log files.
##!
##! Author: Melanie Pierce
##! Contact: [email protected]
##!
##! Copyright (c) 2022 Battelle Energy Alliance, LLC. All rights reserved.
module ICSNPP_OPCUA_Binary;
export {
type OPCUA_Binary::CreateSubscription: record {
ts : time &log;
uid : string &log;
id : conn_id &log;
is_orig : bool &log;
source_h : addr &log; # Source IP Address
source_p : port &log; # Source Port
destination_h : addr &log; # Destination IP Address
destination_p : port &log; # Destination Port
opcua_link_id : string &log; # Id back into OCPUA_Binary::Info
requested_publishing_interval : count &log &optional;
requested_lifetime_count : count &log &optional;
requested_max_keep_alive_count : count &log &optional;
max_notifications_per_publish : count &log &optional;
publishing_enabled : bool &log &optional;
priority : count &log &optional;
subscription_id : count &log &optional;
revised_publishing_interval : count &log &optional;
revised_lifetime_count : count &log &optional;
revised_max_keep_alive_count : count &log &optional;
};
}