mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00
12 lines
515 B
Text
12 lines
515 B
Text
# @TEST-DOC: Trace with CREATE TABLE, INSERT, SELECT DELETE and DROP.
|
|
#
|
|
# @TEST-REQUIRES: ${SCRIPTS}/have-spicy
|
|
# @TEST-EXEC: zeek -b -r ${TRACES}/postgresql/psql-create-insert-select-delete-drop.pcap %INPUT >output
|
|
# @TEST-EXEC: zeek-cut -m ts uid id.orig_h id.orig_p id.resp_h id.resp_p service < conn.log > conn.cut
|
|
# @TEST-EXEC: zeek-cut -m < postgresql.log > postgresql.cut
|
|
#
|
|
# @TEST-EXEC: btest-diff conn.cut
|
|
# @TEST-EXEC: btest-diff postgresql.cut
|
|
|
|
@load base/protocols/conn
|
|
@load base/protocols/postgresql
|