Removed logs, .env, updated snort conf

This commit is contained in:
Maxim Malakhov 2024-08-23 14:08:41 +03:00
parent c0a3afaed4
commit f905b8b862
No known key found for this signature in database
GPG Key ID: A77DC2E5B79AF357
10 changed files with 34 additions and 158067 deletions

View File

@ -38,4 +38,4 @@ LS_MEM_LIMIT=1073741824
# SAMPLE Predefined Key only to be used in POC environments
ENCRYPTION_KEY=c34d38b3a14956121ff2170e5030b471551370178f43e5626eec58b04a30fae2
ENCRYPTION_KEY=

3
.gitignore vendored
View File

@ -1,2 +1,3 @@
./logs/*.txt
./logs/*.log
./logs/*.log
.env

View File

@ -13,6 +13,28 @@ input {
filter {
if [type] == "snort-json" {
if [message] =~ /^{.*}$/ {
json {
source => "message"
}
}
}
if [type] == "snort-appid" {
csv {
source => "message"
separator => ","
skip_header => "false"
columns => ["timestamp","app","bytesToClient","bytesToServer"]
}
mutate {
convert => {
timestamp => "date"
bytesToClient => "integer"
bytesToServer => "integer"
}
}
}
}

View File

@ -258,14 +258,15 @@ rate_filter =
-- event logging
-- you can enable with defaults from the command line with -A <alert_type>
-- uncomment below to set non-default configs
alert_csv = {
file = true,
}
alert_fast = {
file = true,
packet = false,
limit = 10,
}
-- alert_csv = {
-- fields = 'timestamp pkt_num proto pkt_gen pkt_len dir src_addr src_port dst_addr dst_port service rule priority class action b64_data',
-- file = true,
-- }
-- alert_fast = {
-- file = true,
-- packet = false,
-- limit = 10,
-- }
alert_json = {
fields = 'timestamp pkt_num proto pkt_gen pkt_len dir src_addr src_port dst_addr dst_port service rule priority class action b64_data',
file = true

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff