Hive Module - New Version

This commit is contained in:
Mike Reeves
2019-09-25 13:16:49 -04:00
parent f69a5212ff
commit d979be82fb
2 changed files with 52 additions and 55 deletions

View File

@@ -56,7 +56,6 @@ so-thehive-es:
- transport.tcp.port=9500 - transport.tcp.port=9500
- transport.host=0.0.0.0 - transport.host=0.0.0.0
- cluster.name=hive - cluster.name=hive
- script.inline=true
- thread_pool.index.queue_size=100000 - thread_pool.index.queue_size=100000
- thread_pool.search.queue_size=100000 - thread_pool.search.queue_size=100000
- thread_pool.bulk.queue_size=100000 - thread_pool.bulk.queue_size=100000
@@ -98,8 +97,8 @@ so-thehive:
- port_bindings: - port_bindings:
- 0.0.0.0:9000:9000 - 0.0.0.0:9000:9000
#hivescript: hivescript:
# cmd.script: cmd.script:
# - source: salt://hive/thehive/scripts/hive_init.sh - source: salt://hive/thehive/scripts/hive_init.sh
# - cwd: /opt/so - cwd: /opt/so
# - template: jinja - template: jinja

View File

@@ -5,59 +5,57 @@
# WARNING: If you deploy your application on several servers, make sure to use the same key. # WARNING: If you deploy your application on several servers, make sure to use the same key.
play.http.secret.key="letsdewdis" play.http.secret.key="letsdewdis"
play.http.context=/thehive/ play.http.context=/thehive/
search.uri = "http://{{ MASTERIP }}:9400"
# Elasticsearch # Elasticsearch
search { search {
## Basic configuration # Name of the index
# Index name.
index = the_hive index = the_hive
# ElasticSearch cluster name. # Name of the Elasticsearch cluster
cluster = hive cluster = hive
# ElasticSearch instance address. # Address of the Elasticsearch instance
host = ["{{ MASTERIP }}:9500"] host = ["{{ MASTERIP }}:9500"]
#search.uri = "http://{{ MASTERIP }}:9500"
## Advanced configuration # Scroll keepalive
# Scroll keepalive. keepalive = 1m
#keepalive = 1m # Size of the page for scroll
# Scroll page size. pagesize = 50
#pagesize = 50
# Number of shards # Number of shards
#nbshards = 5 nbshards = 5
# Number of replicas # Number of replicas
#nbreplicas = 1 nbreplicas = 1
# Arbitrary settings # Arbitrary settings
#settings { settings {
# # Maximum number of nested fields # Maximum number of nested fields
# mapping.nested_fields.limit = 100 mapping.nested_fields.limit = 100
#} }
### XPack SSL configuration ### XPack SSL configuration
# Username for XPack authentication # Username for XPack authentication
#search.username = "" #username
# Password for XPack authentication # Password for XPack authentication
#search.password = "" #password
# Enable SSL to connect to ElasticSearch # Enable SSL to connect to ElasticSearch
search.ssl.enabled = false ssl.enabled = false
# Path to certificate authority file # Path to certificate authority file
#search.ssl.ca = "" #ssl.ca
# Path to certificate file # Path to certificate file
#search.ssl.certificate = "" #ssl.certificate
# Path to key file # Path to key file
#search.ssl.key = "" #ssl.key
### SearchGuard configuration ### SearchGuard configuration
# Path to JKS file containing client certificate # Path to JKS file containing client certificate
#search.guard.keyStore.path = "" #guard.keyStore.path
# Password of the keystore # Password of the keystore
#search.guard.keyStore.password = "" #guard.keyStore.password
# Path to JKS file containing certificate authorities # Path to JKS file containing certificate authorities
#search.guard.trustStore.path = "" #guard.trustStore.path
## Password of the truststore ## Password of the truststore
#search.guard.trustStore.password = "" #guard.trustStore.password
# Enforce hostname verification # Enforce hostname verification
#search.guard.hostVerification = false #guard.hostVerification
# If hostname verification is enabled specify if hostname should be resolved # If hostname verification is enabled specify if hostname should be resolved
#search.guard.hostVerificationResolveHostname = false #guard.hostVerificationResolveHostname
} }
# Authentication # Authentication