-
Notifications
You must be signed in to change notification settings - Fork 4
/
monkey.config
89 lines (72 loc) · 1.67 KB
/
monkey.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
[vms]
# ec2-54-77-161-66.eu-west-1.compute.amazonaws.com = webserver
192.168.99.10 = webserver
192.168.99.11 = mysql
[vms_authentication]
# username - the username to authenticate as (defaults to the current local username)
username = vagrant
#password - a password to use for authentication or for unlocking a private key
key_filename = /home/bpopa/.vagrant.d/insecure_private_key
#[gce]
#pattern = spam-[0-9]+
[chaos]
enabled = True
#Run probability (should be between 0 and 1)
probability = 1
# Cool-off period (in hours)
cooloff = 2
script_path=../scripts/chaos/
[chaos_schedule]
#trigger = cron
second = */2
[security]
enabled = True
script_path=../scripts/security/
tmp_path=../tmp
report_path=../reports
[security_schedule]
#trigger = interval
#weeks = 1
seconds = 5
max_instances = 5
# logging configuration
[loggers]
keys = root,security,chaos
[handlers]
keys=consoleHandler,fileRotater
[formatters]
keys=simpleFormatter
[formatter_simpleFormatter]
format=%(filename)s - %(lineno)s - %(asctime)s - %(name)s - %(levelname)s - %(message)s
datefmt=
[logger_root]
level=WARN
handlers=consoleHandler,fileRotater
qualname=root
propagate=0
[logger_chaos]
level=DEBUG
handlers=consoleHandler,fileRotater
propagate=0
qualname=chaos
[logger_security]
level=DEBUG
handlers=consoleHandler,fileRotater
qualname=security
propagate=0
[handler_consoleHandler]
class=StreamHandler
level=DEBUG
formatter=simpleFormatter
args=(sys.stdout,)
[handler_fileRotater]
class=handlers.RotatingFileHandler
level=INFO
formatter=simpleFormatter
args=("../log/simian.log", 'a' ,102400, 3)
#[twitter]
# Fill in your application's credentials
#consumer_key=
#consumer_secret=
#access_token_key=
#access_token_secret=