zeek/testing/btest/Baseline/scripts.base.protocols.smtp.attachment/files.log
Arne Welzel d2314d2666 files.log: Unroll and introduce uid and id fields
This is a script-only change that unrolls File::Info records into
multiple files.log entries if the same file was seen over different
connections by single worker. Consequently, the File::Info record
gets the commonly used uid and id fields added. These fields are
optional for File::Info - a file may be analyzed without relation
to a network connection (e.g by using Input::add_analysis()).

The existing tx_hosts, rx_hosts and conn_uids fields of Files::Info
are not meaningful after this change and removed by default. Therefore,
files.log will have them removed, too.

The tx_hosts, rx_hosts and conn_uids fields can be revived by using the
policy script frameworks/files/deprecated-txhosts-rxhosts-connuids.zeek
included in the distribution. However, with v6.1 this script will be
removed.
2022-08-16 17:22:20 +02:00

14 lines
1.1 KiB
Text

### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
#separator \x09
#set_separator ,
#empty_field (empty)
#unset_field -
#path files
#open XXXX-XX-XX-XX-XX-XX
#fields ts fuid uid id.orig_h id.orig_p id.resp_h id.resp_p source depth analyzers mime_type filename duration local_orig is_orig seen_bytes total_bytes missing_bytes overflow_bytes timedout parent_fuid
#types time string string addr port addr port string count set[string] string string interval bool bool count count count count bool string
XXXXXXXXXX.XXXXXX FmFp351N5nhsMmAfQg CHhAvVGS1DHFjwGM9 10.10.1.4 1470 74.53.140.153 25 SMTP 3 (empty) text/plain - 0.000000 - T 77 - 0 0 F -
XXXXXXXXXX.XXXXXX Fqrb1K5DWEfgy4WU2 CHhAvVGS1DHFjwGM9 10.10.1.4 1470 74.53.140.153 25 SMTP 4 (empty) text/html - 0.000061 - T 1868 - 0 0 F -
XXXXXXXXXX.XXXXXX FEFYSd1s8Onn9LynKj CHhAvVGS1DHFjwGM9 10.10.1.4 1470 74.53.140.153 25 SMTP 5 (empty) text/plain NEWS.txt 1.165512 - T 10809 - 0 0 F -
XXXXXXXXXX.XXXXXX Fc5KpS3kUYqDLwWSMf CUM0KZ3MLUfNB0cl11 192.168.133.100 49648 192.168.133.102 25 SMTP 1 (empty) text/plain - 0.000000 - T 204 - 0 0 F -
#close XXXX-XX-XX-XX-XX-XX