mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 15:18:20 +00:00
Merge remote-tracking branch 'amazing-pp/t/psql-login-no-role'
* amazing-pp/t/psql-login-no-role:
Report PostgreSQL login success only after ReadyForQuery
(cherry picked from commit e04f725523
)
This commit is contained in:
parent
1cb6519ba7
commit
abfb6ca156
7 changed files with 47 additions and 5 deletions
|
@ -0,0 +1,12 @@
|
|||
# @TEST-DOC: Test Zeek parsing a trace file through the PostgreSQL analyzer.
|
||||
#
|
||||
# @TEST-REQUIRES: ${SCRIPTS}/have-spicy
|
||||
# @TEST-EXEC: zeek -b -r ${TRACES}/postgresql/psql-login-no-role.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
|
Loading…
Add table
Add a link
Reference in a new issue