zeek/testing/btest/scripts/base/protocols/redis/set.zeek
Evan Typanski 97d26a689d spicy-redis: Add synchronization and pipeline support
Also adds some command support
2025-05-27 09:28:12 -04:00

9 lines
319 B
Text

# @TEST-DOC: Test Zeek parsing SET commands
#
# @TEST-EXEC: zeek -Cr $TRACES/redis/set.trace base/protocols/redis %INPUT >output
# @TEST-EXEC: btest-diff output
event RESP::set_command(c: connection, is_orig: bool, command: RESP::SetCommand)
{
print fmt("Key: %s Value: %s", command$key, command$value);
}