mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Merge pull request #865 from Security-Onion-Solutions/feature/cortex_custom
Feature/cortex custom
This commit is contained in:
@@ -127,4 +127,20 @@ analyzer {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
## RESPONDERS
|
||||||
|
##
|
||||||
|
responder {
|
||||||
|
# Directory that holds responders
|
||||||
|
urls = ["/Cortex-Analyzers/responders", "/custom-responders"]
|
||||||
|
|
||||||
|
fork-join-executor {
|
||||||
|
# Min number of threads available for analyze
|
||||||
|
parallelism-min = 2
|
||||||
|
# Parallelism (threads) ... ceil(available processors * factor)
|
||||||
|
parallelism-factor = 2.0
|
||||||
|
# Max number of threads available for analyze
|
||||||
|
parallelism-max = 4
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
# It's the end my friend. Happy hunting!
|
# It's the end my friend. Happy hunting!
|
||||||
|
|||||||
@@ -45,6 +45,20 @@ cortexconf:
|
|||||||
- group: 939
|
- group: 939
|
||||||
- template: jinja
|
- template: jinja
|
||||||
|
|
||||||
|
cortexanalyzers:
|
||||||
|
file.directory:
|
||||||
|
- name: /opt/so/conf/cortex/custom-analyzers
|
||||||
|
- user: 939
|
||||||
|
- group: 939
|
||||||
|
- template: jinja
|
||||||
|
|
||||||
|
cortexresponders:
|
||||||
|
file.directory:
|
||||||
|
- name: /opt/so/conf/cortex/custom-responders
|
||||||
|
- user: 939
|
||||||
|
- group: 939
|
||||||
|
- template: jinja
|
||||||
|
|
||||||
# Install Elasticsearch
|
# Install Elasticsearch
|
||||||
|
|
||||||
# Made directory for ES data to live in
|
# Made directory for ES data to live in
|
||||||
@@ -91,6 +105,8 @@ so-cortex:
|
|||||||
- user: 939
|
- user: 939
|
||||||
- binds:
|
- binds:
|
||||||
- /opt/so/conf/thehive/etc/cortex-application.conf:/opt/cortex/conf/application.conf:ro
|
- /opt/so/conf/thehive/etc/cortex-application.conf:/opt/cortex/conf/application.conf:ro
|
||||||
|
- /opt/so/conf/cortex/custom-analyzers:/custom-analyzers:ro
|
||||||
|
- /opt/so/conf/cortex/custom-responders:/custom-responders:ro
|
||||||
- port_bindings:
|
- port_bindings:
|
||||||
- 0.0.0.0:9001:9001
|
- 0.0.0.0:9001:9001
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user