-
Notifications
You must be signed in to change notification settings - Fork 640
/
Copy pathapplication.sample.conf
99 lines (90 loc) · 2.92 KB
/
application.sample.conf
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
90
91
92
93
94
95
96
97
98
99
###
## Documentation is available at https://github.com/TheHive-Project/TheHiveDocs/TheHive4
###
## Include Play secret key
# More information on secret key at https://www.playframework.com/documentation/2.8.x/ApplicationSecret
include "/etc/thehive/secret.conf"
## Database configuration
db.janusgraph {
storage {
## Cassandra configuration
# More information at https://docs.janusgraph.org/basics/configuration-reference/#storagecql
backend: cql
// hostname: ["ip1", "ip2"]
# Cassandra authentication (if configured)
// username: "thehive"
// password: "password"
cql {
cluster-name: thp
keyspace: thehive
}
}
## For test only !
# Comment Cassandra settings before enable Berkeley database
// storage.backend: berkeleyje
// storage.directory: /path/to/berkeleydb
// berkeleyje.freeDisk: 200 # disk usage threshold
}
## Attachment storage configuration
storage {
## Local filesystem
// provider: localfs
// localfs.directory: /path/to/files
## Hadoop filesystem (HDFS)
// provider: hdfs
// hdfs {
// root: "hdfs://localhost:10000" # namenode server hostname
// location: "/thehive" # location inside HDFS
// username: thehive # file owner
// }
}
## Authentication configuration
# More information at https://github.com/TheHive-Project/TheHiveDocs/TheHive4/Administration/Authentication.md
//auth {
// providers: [
// {name: session} # required !
// {name: basic, realm: thehive}
// {name: local}
// {name: key}
// ]
# The format of logins must be valid email address format. If the provided login doesn't contain `@` the following
# domain is automatically appended
// defaultUserDomain: "thehive.local"
//}
## CORTEX configuration
# More information at https://github.com/TheHive-Project/TheHiveDocs/TheHive4/Administration/Connectors.md
# Enable Cortex connector
// play.modules.enabled += org.thp.thehive.connector.cortex.CortexModule
// cortex {
// servers: [
// {
// name: "local" # Cortex name
// url: "http://localhost:9001" # URL of Cortex instance
// auth {
// type: "bearer"
// key: "***" # Cortex API key
// }
// ws {} # HTTP client configuration (SSL and proxy)
// }
// ]
// }
## MISP configuration
# More information at https://github.com/TheHive-Project/TheHiveDocs/TheHive4/Administration/Connectors.md
# Enable MISP connector
// play.modules.enabled += org.thp.thehive.connector.mips.MispModule
// misp {
// interval: 1 hour
// servers: [
// {
// name = "local" # MISP name
// url = "http://localhost/" # URL or MISP
// auth {
// type = key
// key = "***" # MISP API key
// }
// ws {} # HTTP client configuration (SSL and proxy)
// }
// ]
//}
# Define maximum size of attachments (default 10MB)
//play.http.parser.maxDiskBuffer: 1GB