mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 12:38:20 +00:00
add user_agent to ocsp-to-match log
This commit is contained in:
parent
fa654121ec
commit
5f2cb840d7
1 changed files with 6 additions and 0 deletions
|
@ -82,6 +82,9 @@ export {
|
||||||
|
|
||||||
## host in HTTP request
|
## host in HTTP request
|
||||||
host: string &log &optional;
|
host: string &log &optional;
|
||||||
|
|
||||||
|
## user_agent
|
||||||
|
user_agent: string &log &optional;
|
||||||
};
|
};
|
||||||
|
|
||||||
type Issuer_Name_Type: record {
|
type Issuer_Name_Type: record {
|
||||||
|
@ -348,6 +351,9 @@ function update_http_info(ocsp: OCSP_SSL_SPLIT::Info_OCSP, http: HTTP::Info)
|
||||||
if ( http?$method )
|
if ( http?$method )
|
||||||
ocsp$method = http$method;
|
ocsp$method = http$method;
|
||||||
|
|
||||||
|
if ( http?$user_agent )
|
||||||
|
ocsp$user_agent = http$user_agent;
|
||||||
|
|
||||||
if ( http?$original_uri )
|
if ( http?$original_uri )
|
||||||
ocsp$original_uri = http$original_uri;
|
ocsp$original_uri = http$original_uri;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue