mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 19:48:20 +00:00
Use our new features to send the CN and SAN fields of certificates to
the intel framework.
This commit is contained in:
parent
e48c6ccc4a
commit
946f19fb9d
4 changed files with 63 additions and 0 deletions
18
testing/btest/scripts/policy/frameworks/intel/seen/certs.bro
Normal file
18
testing/btest/scripts/policy/frameworks/intel/seen/certs.bro
Normal file
|
@ -0,0 +1,18 @@
|
|||
# @TEST-EXEC: bro -r $TRACES/tls/ecdsa-cert.pcap %INPUT
|
||||
# @TEST-EXEC: cat intel.log > intel-all.log
|
||||
# @TEST-EXEC: bro -r $TRACES/tls/ssl.v3.trace %INPUT
|
||||
# @TEST-EXEC: cat intel.log >> intel-all.log
|
||||
# @TEST-EXEC: btest-diff intel-all.log
|
||||
|
||||
@TEST-START-FILE intel.dat
|
||||
#fields indicator indicator_type meta.source meta.desc meta.url
|
||||
www.pantz.org Intel::DOMAIN source1 test entry http://some-data-distributor.com/100000
|
||||
www.dresdner-privat.de Intel::DOMAIN source1 test entry http://some-data-distributor.com/100000
|
||||
@TEST-END-FILE
|
||||
|
||||
@load base/frameworks/intel
|
||||
@load base/protocols/ssl
|
||||
@load frameworks/intel/seen
|
||||
|
||||
redef Intel::read_files += { "intel.dat" };
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue