Commit Graph

23 Commits

Author SHA1 Message Date
Jakub Sokołowski 9a03b1994d
cortex/the-hive: Make sure Java OpenJRE 11 is used
Fix for startupn issue caused by running `apt upgrade`:
https://github.com/status-im/infra-the-hive/issues/3

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-09-17 13:02:33 +02:00
Jakub Sokołowski 705d2d622e
thehive-slave: drop use of Tinc VPN for WireGuard
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-09 17:16:55 +02:00
Jakub Sokołowski 9c53d48e54
cortex: add Docker fix that removes our configuration
This is necessary because our logging config and UID remapping breaks
how Cortex runs it's analyzers/responders.

https://github.com/status-im/infra-the-hive/issues/2

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-31 20:38:26 +02:00
Jakub Sokołowski 029daa842f
cortex: add explicit job configuration, set 30 min timeout
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-31 20:37:57 +02:00
Jakub Sokołowski 4b2ca980aa
cortex: update analyzer/responder download URLs
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-31 20:37:12 +02:00
Jakub Sokołowski d01e6f733f
cortex: add GitHub OAuth configuration
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-13 18:37:03 +01:00
Jakub Sokołowski 9835031923
the-hive: configure connection with Cortex
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-13 18:06:15 +01:00
Jakub Sokołowski f84f9c6a9a
cortex: create superadmin and thehive users
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-13 17:56:22 +01:00
Jakub Sokołowski 6d25ba9c08
cortex: call /api/maintenance/migrate to create index
Makes no sense but okay...

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-13 14:07:23 +01:00
Jakub Sokołowski 5cabc22058
cortex: deploy 3.1.0 and add config for TheHive
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-04 17:00:46 +01:00
Jakub Sokołowski 04699b5f03
cortex: add ElasticSearch index creation
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-22 20:14:24 +02:00
Jakub Sokołowski 38a8ef79ae
cortex: upgrade to 3.1.0-RC1 to support ElasticSearch 7
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-22 14:34:57 +02:00
Jakub Sokołowski 9b3a50d574
cortex: fix logging configuration
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-22 14:29:23 +02:00
Jakub Sokołowski b47a8df7f6
cortex: adjust service name to not clash with infra-hq
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-13 13:01:43 +02:00
Jakub Sokołowski 0cdae1d3cd
add Ansible role for configuring Cortex
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-12 19:30:43 +02:00
Jakub Sokołowski a0e15deb83
the-hive: create group before creating user
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-12 16:41:34 +02:00
Jakub Sokołowski 891304ede7
the-hive: fix missing logs in journald
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-12 16:17:40 +02:00
Jakub Sokołowski 7e74e1afae
the-hive: download specifically 4.0.0-1 version
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-12 16:06:49 +02:00
Jakub Sokołowski dc77d248e7
the-hive: add GitHub OAuth configuration
It works only if you first create a user with public email of given
user in their GitHub profile.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-12 11:25:39 +02:00
Jakub Sokołowski e496295412
the-hive: fix location of secret.conf
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-12 10:18:19 +02:00
Jakub Sokołowski b7a3d2d3bc
the-hive: add log level control via logback.xml
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-09 20:33:04 +02:00
Jakub Sokołowski 7d79872663
the-hive: drop unused admin password variable
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-09 19:40:39 +02:00
Jakub Sokołowski 47b145d2be
add the-hive Ansible role
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-09 18:48:30 +02:00