Skip to content

Commit e5dec1e

Browse files
committed
Merge branch 'release/3.0.0'
2 parents b3c2236 + 2036473 commit e5dec1e

7 files changed

Lines changed: 68 additions & 78 deletions

File tree

CHANGELOG.md

Lines changed: 18 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,30 @@
11
# Change Log
22

3-
## [3.0.0-RC4](https://github.com/TheHive-Project/Cortex/tree/3.0.0-RC4) (2019-07-10)
3+
## [3.0.0](https://github.com/TheHive-Project/Cortex/tree/HEAD) (2019-09-05)
4+
5+
[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/3.0.0-RC4...3.0.0)
6+
7+
**Fixed bugs:**
8+
9+
- cortex 3.0.0-RC4 container : StreamSrv error popup spamming the setup page [\#210](https://github.com/TheHive-Project/Cortex/issues/210)
410

11+
## [3.0.0-RC4](https://github.com/TheHive-Project/Cortex/tree/3.0.0-RC4) (2019-07-10)
512
[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/3.0.0-RC3...3.0.0-RC4)
613

714
**Fixed bugs:**
815

16+
- Yara analyzer configuration dialog broken [\#134](https://github.com/TheHive-Project/Cortex/issues/134)
917
- Responder run displayed as Analyzer run [\#207](https://github.com/TheHive-Project/Cortex/issues/207)
1018
- docker version of cortex breaks when you don't create a user immediately [\#204](https://github.com/TheHive-Project/Cortex/issues/204)
1119
- Login error after Cortex upgrade to 3 [\#199](https://github.com/TheHive-Project/Cortex/issues/199)
12-
- Yara analyzer configuration dialog broken [\#134](https://github.com/TheHive-Project/Cortex/issues/134)
1320

1421
**Closed issues:**
1522

16-
- docker version of cortex prints a lot of errors for auth failures [\#205](https://github.com/TheHive-Project/Cortex/issues/205)
17-
- dockerhub sample uses the wrong port [\#203](https://github.com/TheHive-Project/Cortex/issues/203)
23+
- PassiveTotal SSL Certificate History analyzer always report at least one record, even if there isn't one [\#209](https://github.com/TheHive-Project/Cortex/issues/209)
1824
- Custom Responder not showing up in Responders Config Tab [\#201](https://github.com/TheHive-Project/Cortex/issues/201)
1925
- Can't enable some "free" Analyzers [\#200](https://github.com/TheHive-Project/Cortex/issues/200)
26+
- docker version of cortex prints a lot of errors for auth failures [\#205](https://github.com/TheHive-Project/Cortex/issues/205)
27+
- dockerhub sample uses the wrong port [\#203](https://github.com/TheHive-Project/Cortex/issues/203)
2028

2129
## [3.0.0-RC3](https://github.com/TheHive-Project/Cortex/tree/3.0.0-RC3) (2019-06-05)
2230

@@ -33,7 +41,6 @@
3341
- Get user detials via API is available to non-admin users [\#194](https://github.com/TheHive-Project/Cortex/issues/194)
3442

3543
## [3.0.0-RC2](https://github.com/TheHive-Project/Cortex/tree/3.0.0-RC2) (2019-05-03)
36-
3744
[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/3.0.0-RC1...3.0.0-RC2)
3845

3946
**Fixed bugs:**
@@ -43,7 +50,6 @@
4350
- Docker container exposes tcp/9000 instead of tcp/9001 [\#166](https://github.com/TheHive-Project/Cortex/issues/166)
4451

4552
## [3.0.0-RC1](https://github.com/TheHive-Project/Cortex/tree/3.0.0-RC1) (2019-04-05)
46-
4753
[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/2.1.3...3.0.0-RC1)
4854

4955
**Implemented enhancements:**
@@ -54,7 +60,7 @@
5460

5561
**Fixed bugs:**
5662

57-
- SSO: Authentication module not found [\#181](https://github.com/TheHive-Project/Cortex/issues/181)
63+
- SSO: Authentication module not found [\#181](https://github.com/TheHive-Project/Cortex/issues/181)
5864
- Akka Dispatcher Blocked [\#170](https://github.com/TheHive-Project/Cortex/issues/170)
5965

6066
**Closed issues:**
@@ -65,7 +71,6 @@
6571
- File extraction [\#120](https://github.com/TheHive-Project/Cortex/issues/120)
6672

6773
## [2.1.3](https://github.com/TheHive-Project/Cortex/tree/2.1.3) (2018-12-20)
68-
6974
[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/2.1.2...2.1.3)
7075

7176
**Implemented enhancements:**
@@ -83,19 +88,17 @@
8388

8489
**Closed issues:**
8590

86-
- Systemd: cortex.service: Failed with result 'exit-code'. [\#155](https://github.com/TheHive-Project/Cortex/issues/155)
91+
- Systemd: cortex.service: Failed with result 'exit-code'. [\#155](https://github.com/TheHive-Project/Cortex/issues/155)
8792
- conf/logback.xml: Rotate logs [\#62](https://github.com/TheHive-Project/Cortex/issues/62)
8893

8994
## [2.1.2](https://github.com/TheHive-Project/Cortex/tree/2.1.2) (2018-10-12)
90-
9195
[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/2.1.1...2.1.2)
9296

9397
**Fixed bugs:**
9498

9599
- findSimilarJob function broken [\#144](https://github.com/TheHive-Project/Cortex/issues/144)
96100

97101
## [2.1.1](https://github.com/TheHive-Project/Cortex/tree/2.1.1) (2018-10-09)
98-
99102
[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/2.1.0...2.1.1)
100103

101104
**Implemented enhancements:**
@@ -111,7 +114,6 @@
111114
- Console output should not be logged in syslog [\#136](https://github.com/TheHive-Project/Cortex/issues/136)
112115

113116
## [2.1.0](https://github.com/TheHive-Project/Cortex/tree/2.1.0) (2018-09-25)
114-
115117
[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/2.1.0-RC1...2.1.0)
116118

117119
**Implemented enhancements:**
@@ -122,7 +124,7 @@
122124
**Fixed bugs:**
123125

124126
- MISP API fails [\#109](https://github.com/TheHive-Project/Cortex/issues/109)
125-
- File_Info issue [\#53](https://github.com/TheHive-Project/Cortex/issues/53)
127+
- File\_Info issue [\#53](https://github.com/TheHive-Project/Cortex/issues/53)
126128
- Temporary files are not removed at the end of job [\#129](https://github.com/TheHive-Project/Cortex/issues/129)
127129
- MISP fails to run analyzers [\#128](https://github.com/TheHive-Project/Cortex/issues/128)
128130

@@ -131,7 +133,6 @@
131133
- Update resolvers in build.sbt to contain Maven as a dependency [\#130](https://github.com/TheHive-Project/Cortex/pull/130) ([adl1995](https://github.com/adl1995))
132134

133135
## [2.1.0-RC1](https://github.com/TheHive-Project/Cortex/tree/2.1.0-RC1) (2018-07-31)
134-
135136
[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/2.0.4...2.1.0-RC1)
136137

137138
**Implemented enhancements:**
@@ -162,7 +163,6 @@
162163
- Update GitHub path [\#100](https://github.com/TheHive-Project/Cortex/pull/100) ([saadkadhi](https://github.com/saadkadhi))
163164

164165
## [2.0.4](https://github.com/TheHive-Project/Cortex/tree/2.0.4) (2018-04-13)
165-
166166
[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/2.0.3...2.0.4)
167167

168168
**Implemented enhancements:**
@@ -184,7 +184,6 @@
184184
- Insufficient Rights To Perform This Action [\#87](https://github.com/TheHive-Project/Cortex/issues/87)
185185

186186
## [2.0.3](https://github.com/TheHive-Project/Cortex/tree/2.0.3) (2018-04-09)
187-
188187
[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/2.0.2...2.0.3)
189188

190189
**Implemented enhancements:**
@@ -204,7 +203,6 @@
204203
- Allow configuring auto artifacts extraction per analyzer [\#80](https://github.com/TheHive-Project/Cortex/issues/80)
205204

206205
## [2.0.2](https://github.com/TheHive-Project/Cortex/tree/2.0.2) (2018-04-04)
207-
208206
[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/2.0.1...2.0.2)
209207

210208
**Fixed bugs:**
@@ -216,7 +214,6 @@
216214
- Session collision when TheHive & Cortex 2 share the same URL [\#70](https://github.com/TheHive-Project/Cortex/issues/70)
217215

218216
## [2.0.1](https://github.com/TheHive-Project/Cortex/tree/2.0.1) (2018-03-30)
219-
220217
[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/2.0.0...2.0.1)
221218

222219
**Fixed bugs:**
@@ -226,7 +223,6 @@
226223
- User can't change his password [\#67](https://github.com/TheHive-Project/Cortex/issues/67)
227224

228225
## [2.0.0](https://github.com/TheHive-Project/Cortex/tree/2.0.0) (2018-03-30)
229-
230226
[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/1.1.4...2.0.0)
231227

232228
**Implemented enhancements:**
@@ -249,7 +245,7 @@
249245
- Local, LDAP, AD and API Key Authentication [\#7](https://github.com/TheHive-Project/Cortex/issues/7)
250246
- Limit Rates and Respect Quotas [\#6](https://github.com/TheHive-Project/Cortex/issues/6)
251247
- Persistence and Report Caching [\#5](https://github.com/TheHive-Project/Cortex/issues/5)
252-
- Provide alternative paths for analyzers in addition to standard path. [\#4](https://github.com/TheHive-Project/Cortex/issues/4)
248+
- Provide alternative paths for analyzers in addition to standard path. [\#4](https://github.com/TheHive-Project/Cortex/issues/4)
253249
- Provide way to reload conf file for new API keys without shutdown. [\#3](https://github.com/TheHive-Project/Cortex/issues/3)
254250
- Provide Secret Key auth to upstream service [\#2](https://github.com/TheHive-Project/Cortex/issues/2)
255251

@@ -260,7 +256,6 @@
260256
- Adding WOT config sample [\#43](https://github.com/TheHive-Project/Cortex/pull/43) ([mthlvt](https://github.com/mthlvt))
261257

262258
## [1.1.4](https://github.com/TheHive-Project/Cortex/tree/1.1.4) (2017-09-15)
263-
264259
[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/1.1.3...1.1.4)
265260

266261
**Fixed bugs:**
@@ -274,7 +269,6 @@
274269
- Disable analyzer in configuration file [\#32](https://github.com/TheHive-Project/Cortex/issues/32)
275270

276271
## [1.1.3](https://github.com/TheHive-Project/Cortex/tree/1.1.3) (2017-06-14)
277-
278272
[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/debian/1.1.2-2...1.1.3)
279273

280274
**Fixed bugs:**
@@ -283,11 +277,9 @@
283277
- Error when parsing analyzer failure report [\#33](https://github.com/TheHive-Project/Cortex/issues/33)
284278

285279
## [debian/1.1.2-2](https://github.com/TheHive-Project/Cortex/tree/debian/1.1.2-2) (2017-05-24)
286-
287280
[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/1.1.2...debian/1.1.2-2)
288281

289282
## [1.1.2](https://github.com/TheHive-Project/Cortex/tree/1.1.2) (2017-05-24)
290-
291283
[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/debian/1.1.1-2...1.1.2)
292284

293285
**Implemented enhancements:**
@@ -302,19 +294,16 @@
302294
- Error 500 in TheHive when a job is submited to Cortex [\#27](https://github.com/TheHive-Project/Cortex/issues/27)
303295

304296
## [debian/1.1.1-2](https://github.com/TheHive-Project/Cortex/tree/debian/1.1.1-2) (2017-05-19)
305-
306297
[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/rpm/1.1.1-2...debian/1.1.1-2)
307298

308299
## [rpm/1.1.1-2](https://github.com/TheHive-Project/Cortex/tree/rpm/1.1.1-2) (2017-05-19)
309-
310300
[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/1.1.1...rpm/1.1.1-2)
311301

312302
**Fixed bugs:**
313303

314304
- After Upgrade from Cortex 1.0.2 to 1.1.1 system does not come up [\#26](https://github.com/TheHive-Project/Cortex/issues/26)
315305

316306
## [1.1.1](https://github.com/TheHive-Project/Cortex/tree/1.1.1) (2017-05-17)
317-
318307
[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/1.1.0...1.1.1)
319308

320309
**Fixed bugs:**
@@ -327,7 +316,6 @@
327316
- MISP integration [\#21](https://github.com/TheHive-Project/Cortex/issues/21)
328317

329318
## [1.1.0](https://github.com/TheHive-Project/Cortex/tree/1.1.0) (2017-05-12)
330-
331319
[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/1.0.2...1.1.0)
332320

333321
**Implemented enhancements:**
@@ -342,7 +330,6 @@
342330
- Use new logo and favicon [\#22](https://github.com/TheHive-Project/Cortex/issues/22)
343331

344332
## [1.0.2](https://github.com/TheHive-Project/Cortex/tree/1.0.2) (2017-04-19)
345-
346333
[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/1.0.1...1.0.2)
347334

348335
**Fixed bugs:**
@@ -358,7 +345,6 @@
358345
- Documentation on 'How to create an analyzer' [\#10](https://github.com/TheHive-Project/Cortex/issues/10)
359346

360347
## [1.0.1](https://github.com/TheHive-Project/Cortex/tree/1.0.1) (2017-03-08)
361-
362348
[Full Changelog](https://github.com/TheHive-Project/Cortex/compare/1.0.0...1.0.1)
363349

364350
**Fixed bugs:**
@@ -371,4 +357,5 @@
371357

372358
## [1.0.0](https://github.com/TheHive-Project/Cortex/tree/1.0.0) (2017-02-01)
373359

374-
\* _This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)_
360+
361+
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*

app/org/thp/cortex/controllers/StreamCtrl.scala

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import org.thp.cortex.services.StreamActor.StreamMessages
2121

2222
import org.elastic4play.Timed
2323
import org.elastic4play.controllers._
24-
import org.elastic4play.services.{AuxSrv, EventSrv, MigrationSrv}
24+
import org.elastic4play.services.{AuxSrv, EventSrv, MigrationSrv, UserSrv}
2525

2626
@Singleton
2727
class StreamCtrl(
@@ -32,6 +32,7 @@ class StreamCtrl(
3232
authenticated: Authenticated,
3333
renderer: Renderer,
3434
eventSrv: EventSrv,
35+
userSrv: UserSrv,
3536
auxSrv: AuxSrv,
3637
migrationSrv: MigrationSrv,
3738
components: ControllerComponents,
@@ -45,6 +46,7 @@ class StreamCtrl(
4546
authenticated: Authenticated,
4647
renderer: Renderer,
4748
eventSrv: EventSrv,
49+
userSrv: UserSrv,
4850
auxSrv: AuxSrv,
4951
migrationSrv: MigrationSrv,
5052
components: ControllerComponents,
@@ -59,6 +61,7 @@ class StreamCtrl(
5961
authenticated,
6062
renderer,
6163
eventSrv,
64+
userSrv,
6265
auxSrv,
6366
migrationSrv,
6467
components,
@@ -94,7 +97,7 @@ class StreamCtrl(
9497
Future.successful(BadRequest("Invalid stream id"))
9598
} else {
9699
val futureStatus = authenticated.expirationStatus(request) match {
97-
case ExpirationError if !migrationSrv.isMigrating authenticated.getFromApiKey(request).map(_ OK)
100+
case ExpirationError if !migrationSrv.isMigrating userSrv.getInitialUser(request).recoverWith { case _ => authenticated.getFromApiKey(request)}.map(_ OK)
98101
case _: ExpirationWarning Future.successful(220)
99102
case _ Future.successful(OK)
100103
}

project/Dependencies.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ object Dependencies {
1818

1919
val reflections = "org.reflections" % "reflections" % "0.9.11"
2020
val zip4j = "net.lingala.zip4j" % "zip4j" % "1.3.2"
21-
val elastic4play = "org.thehive-project" %% "elastic4play" % "1.11.4"
21+
val elastic4play = "org.thehive-project" %% "elastic4play" % "1.11.5"
2222
val dockerClient = "com.spotify" % "docker-client" % "8.14.4"
2323
}
2424

version.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version in ThisBuild := "3.0.0-RC4"
1+
version in ThisBuild := "3.0.0-1"

www/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,4 @@
7575
"webpack": "^3.5.0",
7676
"webpack-dev-server": "^2.2.0"
7777
}
78-
}
78+
}

0 commit comments

Comments
 (0)