mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-10-13 20:09:13 +00:00
Compare commits
2 commits
fc388a9ef7
...
663b509e90
Author | SHA1 | Date | |
---|---|---|---|
![]() |
663b509e90 | ||
![]() |
c710aa83f0 |
4 changed files with 8 additions and 4 deletions
3
docker/elk/logstash/dist/http_output.conf
vendored
3
docker/elk/logstash/dist/http_output.conf
vendored
|
@ -520,6 +520,9 @@ filter {
|
||||||
}
|
}
|
||||||
mutate {
|
mutate {
|
||||||
remove_field => ["ts"]
|
remove_field => ["ts"]
|
||||||
|
rename => {
|
||||||
|
"duration" => "session_duration"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
3
docker/elk/logstash/dist/logstash.conf
vendored
3
docker/elk/logstash/dist/logstash.conf
vendored
|
@ -512,6 +512,9 @@ filter {
|
||||||
}
|
}
|
||||||
mutate {
|
mutate {
|
||||||
remove_field => ["ts"]
|
remove_field => ["ts"]
|
||||||
|
rename => {
|
||||||
|
"duration" => "session_duration"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,9 +4,7 @@ apk -U upgrade
|
||||||
apk -U add git
|
apk -U add git
|
||||||
mkdir -p /opt
|
mkdir -p /opt
|
||||||
cd /opt
|
cd /opt
|
||||||
git clone https://github.com/t3chn0m4g3/go-pot
|
git clone https://github.com/ryanolee/go-pot -b v1.0.0
|
||||||
cd go-pot
|
|
||||||
git checkout 75a2cae856642fdccf3e9d47d0733cf4190ba70b
|
|
||||||
EOF
|
EOF
|
||||||
WORKDIR /opt/go-pot
|
WORKDIR /opt/go-pot
|
||||||
#
|
#
|
||||||
|
|
2
docker/go-pot/dist/config.yml
vendored
2
docker/go-pot/dist/config.yml
vendored
|
@ -56,7 +56,7 @@ server:
|
||||||
# - device_brand: The type of device of the client (Inferred from the user agent)
|
# - device_brand: The type of device of the client (Inferred from the user agent)
|
||||||
# - phase: "start" or "end" depending on the phase of the request
|
# - phase: "start" or "end" depending on the phase of the request
|
||||||
# - duration: The duration of the request in milliseconds (Only available as a part of the end phase of a request)
|
# - duration: The duration of the request in milliseconds (Only available as a part of the end phase of a request)
|
||||||
fields_to_log: "timestamp,id,status,src_ip,method,path,qs,dest_port,type,host,user_agent,browser,browser_version,os,os_version,device,device_brand,phase,duration"
|
fields_to_log: "timestamp,id,status,src_ip,method,path,qs,dest_port,host,user_agent,browser,browser_version,os,os_version,device,device_brand,phase,duration"
|
||||||
|
|
||||||
# Configuration for logging related settings for go-pot
|
# Configuration for logging related settings for go-pot
|
||||||
logging:
|
logging:
|
||||||
|
|
Loading…
Reference in a new issue