Skip to content

Commit 9cad116

Browse files
committed
Updated version 1.6
1 parent 388520d commit 9cad116

19 files changed

+2117
-189
lines changed

config/config.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
settings:
2+
logontracer:
3+
WEB_PORT: "8080" # Web application port
4+
WEB_HOST: "0.0.0.0" # Web application address
5+
database_name: "data.db" # LogonTracer user info database
6+
default_user: "neo4j" # LogonTracer default login name
7+
default_password: "password" # LogonTracer default login password
8+
default_case: "neo4j" # Default neo4j database name
9+
SESSION_COOKIE_SECURE: False # When using HTTPS, it is necessary to relay a web server such as nginx.
10+
11+
neo4j:
12+
NEO4J_USER: "neo4j" # neo4j user name
13+
NEO4J_PASSWORD: "password" # neo4j password
14+
NEO4J_SERVER: "localhost" # neo4j server
15+
NEO4J_PORT: "7474" # neo4j listen port
16+
WS_PORT: "7687" # Websocket port
17+
18+
elastic:
19+
ES_SERVER: "localhost:9200" # Elastic Search server
20+
ES_INDEX: "winlogbeat-*" # Elastic index
21+
ES_PREFIX: "winlog" # Elastic prefix
22+
ES_USER: "elastic" # Elastic auth user
23+
24+
sigma:
25+
git_url: "https://github.com/SigmaHQ/sigma.git" # Sigma rules url
26+
results: "sigma_results.csv" # Sigma scan result file

config/logging.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
version: 1
2+
formatters:
3+
file:
4+
format: "[%(asctime)s] [%(levelname)s] : %(message)s"
5+
6+
handlers:
7+
file:
8+
class: logging.handlers.TimedRotatingFileHandler
9+
formatter: file
10+
filename: logs/application.log
11+
backupCount: 8
12+
when: D
13+
interval: 1
14+
encoding: 'utf-8'
15+
logontracer_handler:
16+
class: logging.handlers.TimedRotatingFileHandler
17+
formatter: file
18+
filename: static/logontracer.log
19+
backupCount: 8
20+
when: D
21+
interval: 1
22+
encoding: 'utf-8'
23+
console:
24+
class: logging.StreamHandler
25+
stream: ext://sys.stdout
26+
27+
loggers:
28+
agent_logger:
29+
level: INFO
30+
handlers: [console]
31+
propagate: no
32+
33+
root:
34+
level: WARN
35+
handlers: [file]

0 commit comments

Comments
 (0)